/* Enhanced Property List Page Styles */
:root {
  --primary-color: #f4b400;
  --primary-color-light: #ffcf4d;
  --primary-color-dark: #e2a800;
  --secondary-color: #333;
  --accent-color: #f9f3e0;
  --text-color: #444;
  --light-color: #fff;
  --light-gray: #f8f9fa;
  --border-radius: 12px;
  --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --card-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
* {
    font-family: 'Times New Roman', Times, serif;
}
/* Hero Section with Parallax Effect */
.hero-section {
  position: relative;
  height: 400px;
  background: url('/static/img/hero-properties.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-color);
  margin-bottom: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.breadcrumb-section {
  background-color: #ffffff;
  padding: 50px 0;
  border-bottom: 1px solid #e9ecef;
  margin-top: 80px; /* Space below the fixed header */
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.breadcrumb {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\F285"; /* Bootstrap icon chevron-right */
  font-family: "bootstrap-icons";
  color: #ccc;
  font-size: 12px;
  padding-right: 1.5rem;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.breadcrumb-item a:hover {
  color: #ff9d1f;
}

.breadcrumb-item.active {
  color: #ff9d1f;
  font-weight: 600;
}

/* Home icon styling */
.breadcrumb-home-icon {
  margin-right: 6px;
  font-size: 16px;
}

/* Animation for hover state */
.breadcrumb-item a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #ff9d1f;
  transition: width 0.3s;
  position: absolute;
  bottom: -3px;
  left: 0;
}

.breadcrumb-item a:hover::after {
  width: 100%;
}

/* Animations */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInDown {
  animation-name: fadeInDown;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.filters-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.header-left h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.header-left h3 i {
    color: #ffc107;
    margin-right: 8px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.search-form-inline {
    width: 100%;
}

.search-box-compact {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.search-box-compact:focus-within {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
    background: #fff;
}

.search-icon-compact {
    position: absolute;
    left: 16px;
    color: #6c757d;
    z-index: 2;
    font-size: 14px;
}

.search-input-compact {
    border: none;
    padding: 12px 16px 12px 40px;
    font-size: 14px;
    background: transparent;
    flex: 1;
    outline: none;
    color: #495057;
}

.search-input-compact::placeholder {
    color: #6c757d;
    font-size: 14px;
}

.btn-search-compact {
    background: #ffc107;
    color: #fff;
    border: none;
    padding: 12px 16px;
    margin: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-search-compact:hover {
    background: #e0a800;
    color: #fff;
}

.btn-clear-compact {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 12px 14px;
    margin: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.btn-clear-compact:hover {
    background: #c82333;
    color: #fff;
}

.header-right {
    white-space: nowrap;
}

.toggle-filters-btn-compact {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toggle-filters-btn-compact:hover {
    background: #5a6268;
    color: #fff;
    transform: translateY(-1px);
}

.toggle-filters-btn-compact i {
    margin-right: 6px;
}

.search-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-suggestions-compact {
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}

.search-tags-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag-compact {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.search-tag-compact:hover {
    background: #ffc107;
    color: #fff;
    border-color: #ffc107;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 992px) {
    .filters-header {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .header-left h3 {
        font-size: 16px;
    }
    
    .search-meta-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .filters-header {
        padding: 15px;
    }
    
    .search-input-compact {
        font-size: 13px;
        padding: 10px 14px 10px 36px;
    }
    
    .search-input-compact::placeholder {
        font-size: 13px;
    }
    
    .btn-search-compact {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .toggle-filters-btn-compact {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .search-suggestions-compact {
        font-size: 12px;
    }
    
    .search-tag-compact {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* Remove old styles */
.search-filter-row,
.search-form,
.search-box-integrated,
.search-input-integrated,
.btn-search-integrated,
.btn-clear-search,
.toggle-filters-btn,
.search-suggestions-integrated,
.search-suggestions,
.search-tags,
.search-tag {
    display: none !important;
}
/* Filters Section */
.filters-section {
  padding: 40px 0 30px; /* Increased top padding from 60px to 80px */
  background-color: var(--light-gray);
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filters-container {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-top: 4px solid var(--primary-color);
  margin-top: 25px; /* Added margin-top to push container down */
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 65px;
  border-bottom: 1px solid #eee;
}

.filters-container h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0;
}

.filters-container h3 i {
  color: var(--primary-color);
  margin-right: 10px;
}

.toggle-filters-btn {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid #ddd;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.toggle-filters-btn:hover {
  background-color: var(--light-gray);
}

.toggle-filters-btn i {
  margin-right: 5px;
  color: var(--primary-color);
}

.filter-form {
  padding-top: 10px;
}

.filter-form label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
}

.filter-form label i {
  margin-right: 6px;
  color: var(--primary-color);
}

.filter-form .form-control,
.filter-form .form-select {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: all 0.3s ease;
}

.filter-form .form-control:focus,
.filter-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(244, 180, 0, 0.25);
}

.action-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.filter-btn {
  height: 48px;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
  font-weight: 600;
  border-radius: 8px;
  flex-grow: 1;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-btn i {
  margin-right: 8px;
}

.filter-btn:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.3);
}

.btn-outline-secondary {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}


.btn-outline-secondary i {
  margin-right: 8px;
}

/* Properties Section */
.properties-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  font-size: 18px;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
  margin-top: 20px;
}

.properties-found {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px 20px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

.properties-found p {
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0;
}

.properties-found .count {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 18px;
}

.view-options {
  display: flex;
  gap: 10px;
}

.view-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #ddd;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.view-btn.active, .view-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Property Cards */
.property-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: var(--card-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--light-color);
  border: 1px solid #eee;
}

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

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

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

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

.property-tags {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.property-tag {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.type-tag {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.status-tag {
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--light-color);
}

.property-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

.favorite-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 18px;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.favorite-btn:hover, .favorite-btn.active {
  background-color: #fff;
  color: #ff3366;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.favorite-btn.active i {
  font-weight: 900;
}

.property-details {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.property-details h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.4;
}

.property-location {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #777;
  font-size: 14px;
}

.property-location i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 16px;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.spec i {
  color: var(--primary-color);
  font-size: 16px;
}

.property-price {
  margin-top: auto;
  margin-bottom: 20px;
}

.property-price h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.property-price span {
  font-size: 14px;
  color: #777;
}

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

.btn-view, .btn-inquire {
  flex: 1;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-view {
  background-color: var(--light-gray);
  color: var(--secondary-color);
  border: 1px solid #ddd;
}

.btn-view:hover {
  background-color: #e9ecef;
}

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

.btn-inquire:hover {
  background-color: var(--primary-color-dark);
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.3);
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pagination {
  display: flex;
  gap: 5px;
}

.page-item .page-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--secondary-color);
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.page-item .page-link:hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
  border-color: #ddd;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}

.page-item.disabled .page-link {
  color: #aaa;
  pointer-events: none;
  background-color: #f8f9fa;
}

/* Grid and List View */
.grid-view .property-card {
  display: flex;
  flex-direction: column;
}

.list-view .property-card {
  display: flex;
  flex-direction: row;
  height: 220px;
}

.list-view .property-image {
  width: 33%;
  height: 100%;
}

.list-view .property-details {
  width: 67%;
}

.list-view .property-specs {
  margin-bottom: 15px;
}

.list-view .property-price {
  margin-top: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 36px;
  }
  
  .hero-section p {
    font-size: 16px;
  }
  
  .list-view .property-card {
    flex-direction: column;
    height: auto;
  }
  
  .list-view .property-image {
    width: 100%;
    height: 240px;
  }
  
  .list-view .property-details {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 320px;
  }
  
  .hero-section h1 {
    font-size: 28px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-header p {
    font-size: 16px;
  }
  
  .filters-container {
    padding: 20px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .property-specs {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 280px;
  }
  
  .breadcrumb {
    display: none;
  }
  
  .properties-found {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .view-options {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  
  .property-details h3 {
    font-size: 18px;
  }
  
  .property-price h4 {
    font-size: 20px;
  }
}

/* Animation for new property listings */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 180, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(244, 180, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 180, 0, 0);
  }
}

.new-listing {
  position: relative;
}

.new-listing:before {
  content: 'NEW';
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ff3366;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 50px;
  z-index: 3;
  animation: pulse 2s infinite;
}

/* Property Image Gallery */
.property-gallery {
  position: relative;
}

.gallery-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* No results found */
.no-results {
  text-align: center;
  padding: 60px 0;
}

.no-results i {
  font-size: 80px;
  color: var(--primary-color-light);
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.no-results p {
  font-size: 16px;
  color: #777;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-reset-filters {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-reset-filters:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.3);
}

.btn-quick-call {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background:#f4b400;
    color: #fff;
    border: 1px solid #f4b400;
    position: relative;
    overflow: hidden;
    }

        .btn-quick-call:hover {
            background: #f4b400;
            color: #fff;
            transform: translateY(-1px);
        }

        .btn-quick-call:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s;
        }

        .btn-quick-call:hover:before {
            left: 100%;
        }

        .btn-quick-call i {
            animation: ring 2s infinite;
        }

        @keyframes ring {
            0%, 50%, 100% {
                transform: rotate(0deg);
            }
            10%, 30% {
                transform: rotate(-10deg);
            }
            20% {
                transform: rotate(10deg);
            }
        }

        /* Quick Call Modal Styles */
        .quick-call-modal .modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .quick-call-modal .modal-header {
            background: #f4b400;
            color: white;
            border-radius: 15px 15px 0 0;
            border: none;
            padding: 20px 25px;
        }

        .quick-call-modal .modal-title {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
        }

        .quick-call-modal .modal-title i {
            font-size: 24px;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

        .quick-call-modal .btn-close {
            filter: brightness(0) invert(1);
        }

        .quick-call-modal .modal-body {
            padding: 30px 25px;
            background: #f8f9fa;
        }

        .call-info-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }

        .call-info-card h5 {
            color:#f4b400;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .phone-number {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            margin: 15px 0;
            letter-spacing: 1px;
        }

        .call-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .btn-call-now {
            flex: 1;
            background: #f4b400;
            color: white;
            border: none;
            padding: 15px 20px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-call-now:hover {
            background: #f4b400;
            transform: translateY(-2px);
            color: white;
        }

        .btn-whatsapp {
            flex: 1;
            background: #f4b400;
            color: white;
            border: none;
            padding: 15px 20px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-whatsapp:hover {
            background: #f4b400;
            transform: translateY(-2px);
            color: white;
        }

        .call-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .feature-item {
            background: white;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-3px);
        }

        .feature-item i {
            font-size: 20px;
            color:#f4b400;
            margin-bottom: 8px;
        }

        .feature-item span {
            display: block;
            font-size: 12px;
            font-weight: 500;
            color: #666;
        }

        .availability-status {
            background: #e8f5e8;
            color: #333;
            padding: 10px 15px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            margin-top: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .availability-status i {
            color: #f4b400;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .call-actions {
                flex-direction: column;
            }
            
            .phone-number {
                font-size: 20px;
            }
            
            .call-features {
                grid-template-columns: repeat(2, 1fr);
            }
        }

.compare-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.compare-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
}

.compare-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #f4b400;
  cursor: pointer;
  /* Ensure white checkmark on colored background */
  color-scheme: light;
}

/* For browsers that support custom checkbox styling */
.compare-checkbox:checked {
  background-color: #f4b400;
  border-color: #f4b400;
}

/* Custom checkbox styling for better control */
.compare-checkbox:checked::before {
  color: white !important;
}

.compare-label {
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  user-select: none;
}

.compare-floating-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f4b400;
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.compare-floating-bar.show {
  display: flex;
}

.compare-count-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 12px;
}

.compare-btn {
  background: white;
  color: #f4b400;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-btn:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.clear-compare-btn {
  background: #f4b400;
  border: 1px solid #f4b400;
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-compare-btn:hover {
  background: #e6a200;
  border-color: #e6a200;
  transform: translateY(-1px);
}

/* Property card selected state */
.property-card.selected-for-compare {
  border: 2px solid #f4b400;
  transform: translateY(-2px);
}

.property-card.selected-for-compare .compare-label {
  color: #f4b400;
  font-weight: 600;
}

/* Comparison Modal Styles */
.comparison-modal .modal-dialog {
  max-width: 90%;
}

.comparison-table {
  width: 100%;
  margin-top: 20px;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  text-align: center;
  padding: 15px 10px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.comparison-table td {
  text-align: center;
  padding: 15px 10px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.comparison-table .feature-label {
  font-weight: 600;
  background: #f8f9fa;
  text-align: left;
  padding-left: 20px;
}

.property-header {
  background: #f4b400;
  color: white;
  text-align: center;
  padding: 20px 15px;
  position: relative;
}

.property-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.property-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.price-highlight {
  color: #28a745;
  font-weight: 700;
  font-size: 18px;
}

.location-text {
  color: #6c757d;
  font-size: 14px;
}

.type-badge {
  background: #f4b400;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.area-text {
  font-weight: 600;
  color: #495057;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .compare-floating-bar {
    bottom: 10px;
    right: 10px;
    left: 10px;
    padding: 12px 16px;
    border-radius: 25px;
  }
  
  .compare-btn {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .comparison-modal .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
  }
  
  .comparison-table {
    font-size: 14px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }
  
  .property-title {
    font-size: 14px;
  }
  
  .property-subtitle {
    font-size: 12px;
  }
}


.toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1055;
        }
        
        /* Custom Toast Styles */
        .custom-toast {
            border: none;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            min-width: 350px;
        }
        
        .toast-warning {
            background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
            color: white;
        }
        
        .toast-warning .toast-header {
            background: rgba(255,255,255,0.1);
            color: white;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .toast-warning .btn-close {
            filter: invert(1);
        }
        
        .toast-success {
            background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
            color: white;
        }
        
        .toast-success .toast-header {
            background: rgba(255,255,255,0.1);
            color: white;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .toast-success .btn-close {
            filter: invert(1);
        }
        
        .toast-icon {
            font-size: 1.2rem;
            margin-right: 8px;
        }

 .pagination-container {
            background: white;
            border-radius: 20px;
            padding: 3rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            margin: 2rem auto;
            max-width: 1000px;
        }

        /* Enhanced Pagination Navigation */
        .pagination-nav {
            margin-top: 3rem;
            margin-bottom: 3rem;
        }

        .pagination-info {
            color: #6c757d;
            font-size: 1.1rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .pagination-info p {
            margin: 0;
            padding: 1.25rem 2rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            display: inline-block;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        }

        /* Enhanced Pagination Buttons */
        .pagination {
            margin-bottom: 0;
            gap: 0.75rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .pagination .page-link {
            border: 2px solid #e9ecef;
            color: #495057;
            padding: 1rem 1.5rem;
            margin: 0;
            border-radius: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            min-width: 60px;
            text-align: center;
            background: white;
            position: relative;
            overflow: hidden;
        }

        .pagination .page-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(244, 180, 0, 0.1), transparent);
            transition: left 0.5s;
        }

        .pagination .page-link:hover::before {
            left: 100%;
        }

        .pagination .page-link:hover {
            color: #f4b400;
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
            border-color: #f4b400;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(244, 180, 0, 0.3);
        }

        .pagination .page-item.active .page-link {
            background: linear-gradient(135deg, #f4b400 0%, #e67e22 100%);
            border-color: #f4b400;
            color: white;
            font-weight: 700;
            box-shadow: 0 8px 25px rgba(244, 180, 0, 0.4);
            transform: scale(1.1);
        }

        .pagination .page-item.disabled .page-link {
            color: #adb5bd;
            background: #f8f9fa;
            border-color: #e9ecef;
            cursor: not-allowed;
            opacity: 0.6;
        }

        /* Special styling for prev/next buttons */
        .pagination .page-item:first-child .page-link,
        .pagination .page-item:last-child .page-link {
            font-weight: 700;
            padding: 1rem 2rem;
            background: #f4b400;
            color: white;
            border: none;
        }

        .pagination .page-item:first-child .page-link:hover,
        .pagination .page-item:last-child .page-link:hover {
            background: #f4b400;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(118, 75, 162, 0.4);
        }

        /* Enhanced Quick Page Jump */
        .quick-page-jump {
            margin-top: 3rem;
            text-align: center;
        }

        .quick-page-jump h5 {
            margin-bottom: 1.5rem;
            color: #495057;
            font-weight: 600;
        }

        .quick-page-jump .input-group {
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-radius: 15px;
            overflow: hidden;
            max-width: 400px;
            margin: 0 auto;
        }

        .quick-page-jump .input-group-text {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #e9ecef;
            font-size: 1rem;
            font-weight: 600;
            padding: 1rem 1.5rem;
            color: #495057;
        }

        .quick-page-jump .form-control {
            border: 2px solid #e9ecef;
            border-left: 0;
            border-right: 0;
            text-align: center;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 1rem 1.5rem;
            background: white;
        }

        .quick-page-jump .form-control:focus {
            border-color: #f4b400;
            box-shadow: 0 0 0 0.3rem rgba(244, 180, 0, 0.25);
            background: #fffbf0;
        }

        .quick-page-jump .btn {
            border: 2px solid #e9ecef;
            font-weight: 600;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, #f4b400 0%, #e67e22 100%);
            color: white;
            transition: all 0.3s ease;
        }

        .quick-page-jump .btn:hover {
            background: linear-gradient(135deg, #e67e22 0%, #f4b400 100%);
            border-color: #f4b400;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(244, 180, 0, 0.3);
        }

        /* Enhanced Loading States */
        .pagination .page-link.loading {
            pointer-events: none;
            opacity: 0.7;
            position: relative;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        .pagination .page-link.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 3px solid #f4b400;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Responsive Design Improvements */
        @media (max-width: 768px) {
            .pagination-container {
                padding: 2rem 1.5rem;
                margin: 1rem;
                border-radius: 15px;
            }

            .pagination .page-link {
                padding: 0.875rem 1.25rem;
                font-size: 1rem;
                min-width: 50px;
            }

            .pagination .page-item:first-child .page-link,
            .pagination .page-item:last-child .page-link {
                padding: 0.875rem 1.5rem;
            }

            .properties-found {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
                padding: 1.5rem;
            }

            .quick-page-jump .input-group {
                max-width: 100%;
            }
        }

        @media (max-width: 576px) {
            .pagination {
                gap: 0.5rem;
            }

            .pagination .page-link {
                padding: 0.75rem 1rem;
                font-size: 0.95rem;
                min-width: 45px;
            }

            /* Show fewer page numbers on mobile */
            .pagination .page-item:not(.active):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
                display: none;
            }
        }

        /* Add some visual flair */
        .page-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .page-header h1 {
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .page-header p {
            color: #6c757d;
            font-size: 1.1rem;
            font-weight: 500;
        }

/* Chat Bubble Positioning - Right Bottom */
.chat-bubble {
    position: fixed;
    bottom: clamp(15px, 4vw, 70px);
    right: clamp(15px, 3vw, 20px);
    background-color: #f4b400;
    color: white;
    width: clamp(55px, 12vw, 80px);
    height: clamp(55px, 12vw, 80px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    font-size: clamp(20px, 4vw, 24px);
    animation: bounceBubble 1.2s ease-in-out infinite;
}

.chat-bubble::before {
    content: 'Chat with us!';
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    transform-origin: center bottom;
    background-color: #333;
    color: white;
    padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 14px);
    border-radius: 6px;
    font-size: clamp(13px, 2.5vw, 16px);
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1001;
    animation: fadeInOutTooltip 4s ease-in-out 1s infinite;
}

.chat-bubble:hover::before {
    animation: none;
    opacity: 1;
    transform: scale(1) translateY(-10px);
}

.chat-bubble.typing::before {
    content: 'Typing...';
    animation: none;
    opacity: 1;
    transform: scale(1) translateY(-10px);
}

.chat-bubble:hover {
    transform: scale(1.1);
    background-color: #f4b400;
    animation: none;
}

.chat-bubble.typing {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounceBubble {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes fadeInOutTooltip {
    0% { opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1) translateY(-10px); }
    80% { opacity: 1; transform: scale(1) translateY(-10px); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Chat Overlay - Positioned from Right Bottom */
.chat-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: flex-end;
    justify-content: flex-end;
    transition: opacity 0.3s ease;
    padding: clamp(0px, 2vw, 20px);
}

.chat-overlay.show {
    display: flex;
    opacity: 1;
}

/* Chat Container - Fully Responsive */
.chat-container {
    width: min(95vw, 600px);
    height: min(85vh, 700px);
    max-width: 600px;
    background: #fff;
    border-radius: clamp(0px, 2vw, 10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chat-overlay.show .chat-container {
    transform: translateY(0);
}

/* Chat Header */
.chat-header {
    background: #f4b400;
    color: white;
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    border-radius: clamp(0px, 2vw, 12px) clamp(0px, 2vw, 12px) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: clamp(14px, 3vw, 18px);
}

.chat-header small {
    opacity: 0.9;
    font-size: clamp(11px, 2vw, 13px);
}

.chat-close {
    background: none;
    border: none;
    font-size: clamp(18px, 4vw, 20px);
    cursor: pointer;
    padding: clamp(3px, 1vw, 5px);
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
    min-width: clamp(24px, 5vw, 30px);
    min-height: clamp(24px, 5vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close:hover {
    background: white;
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: clamp(12px, 4vw, 20px);
}

.chat-messages::-webkit-scrollbar {
    width: clamp(4px, 1vw, 6px);
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Message Styling */
.message {
    display: flex;
    margin-bottom: clamp(12px, 3vw, 15px);
    align-items: flex-start;
    max-width: 100%;
}

.message.bot {
    flex-direction: row;
}

.message.user {
    flex-direction: row-reverse;
}

.message .avatar {
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    min-width: clamp(35px, 8vw, 40px);
    min-height: clamp(35px, 8vw, 40px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 clamp(8px, 2vw, 10px);
    font-size: clamp(16px, 4vw, 20px);
    flex-shrink: 0;
}

.message .content {
    max-width: calc(100% - clamp(55px, 12vw, 70px));
    padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
    border-radius: clamp(14px, 3vw, 18px);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(13px, 2.8vw, 15px);
}

.message.bot .content {
    background: #f1f0f0;
}

.message.user .content {
    background: #f4b400;
    color: #fff;
}

.message.user::before {
    display: none !important;
}

.message.user .user-label {
    display: none !important;
}

.message.user .avatar {
    color: white;
}

.message.bot .avatar {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.message.user .content {
    background: #f4b400;
    color: white;
    border-bottom-right-radius: 4px;
}

.message.bot .content {
    background: #f8f9fa;
    color: #333;
    border-bottom-left-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Link Styling */
.chat-messages .content a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #000000;
    transition: all 0.3s ease;
}

.chat-messages .content a:hover {
    color: #333333 !important;
    border-bottom-color: #333333;
    text-decoration: none;
}

.chat-messages .content .property-link,
.chat-messages .content .contact-link {
    background: #000000 !important;
    color: white !important;
    padding: clamp(4px, 1.5vw, 6px) clamp(8px, 2.5vw, 12px);
    border-radius: 6px;
    font-size: clamp(12px, 2.5vw, 14px);
    border: none;
    display: inline-block;
    margin-left: clamp(4px, 1.5vw, 8px);
    font-weight: 500;
    border-bottom: none;
}

.chat-messages .content .property-link:hover,
.chat-messages .content .contact-link:hover {
    background: #333333 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 15px);
    align-items: center;
}

.typing-indicator.show {
    display: flex;
    opacity: 1;
}

.typing-avatar {
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 4vw, 20px);
    margin-right: clamp(8px, 2vw, 10px);
}

.typing-content {
    display: flex;
    align-items: center;
}

.typing-dots {
    display: flex;
    align-items: center;
}

.typing-dots span {
    width: clamp(6px, 1.5vw, 8px);
    height: clamp(6px, 1.5vw, 8px);
    background: #888;
    border-radius: 50%;
    margin: 0 clamp(2px, 0.5vw, 3px);
    animation: typing 1s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* Chat Input */
.chat-input {
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 clamp(0px, 2vw, 12px) clamp(0px, 2vw, 12px);
    background: white;
    flex-shrink: 0;
}

.chat-input-group {
    display: flex;
    gap: clamp(8px, 2vw, 10px);
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
    border: 1px solid #ddd;
    border-radius: clamp(20px, 4vw, 25px);
    outline: none;
    font-size: clamp(13px, 2.8vw, 14px);
    transition: border-color 0.3s;
    min-width: 0;
}

.chat-input input:focus {
    border-color: #f4b400;
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.1);
}

.chat-send-btn {
    width: clamp(40px, 9vw, 45px);
    height: clamp(40px, 9vw, 45px);
    min-width: clamp(40px, 9vw, 45px);
    min-height: clamp(40px, 9vw, 45px);
    border: none;
    background: #f4b400;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: clamp(14px, 3vw, 16px);
    flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
    background: #f4b400;
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Quick Options */
.quick-options {
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: clamp(12px, 3vw, 15px);
    border-radius: clamp(6px, 1.5vw, 8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-options-title {
    font-size: clamp(11px, 2.2vw, 12px);
    font-weight: 600;
    color: #6c757d;
    margin-bottom: clamp(10px, 2.5vw, 12px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-options-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.5vw, 8px);
}

.quick-option-btn {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: clamp(16px, 3vw, 20px);
    color: #495057;
    font-size: clamp(12px, 2.5vw, 13px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quick-option-btn:hover {
    background: #f4b400;
    color: white;
    border-color: #f4b400;
    transform: translateY(-1px);
}

.quick-option-btn:active {
    transform: translateY(0);
}

.quick-option-btn i {
    font-size: clamp(12px, 2.8vw, 14px);
    color: #f4b400;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.quick-option-btn:hover i {
    color: white;
}

/* Animation for quick options appearance */
.quick-options {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container Query Support (Future-proof) */
@container (max-width: 500px) {
    .chat-container {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
    
    .chat-header,
    .chat-input {
        border-radius: 0;
    }
}

/* Prevent overflow issues */
* {
    box-sizing: border-box;
}

.chat-container * {
    max-width: 100%;
}

/* Container query for adaptive layouts */
@container (max-width: 500px) {
  .chat-container {
    border-radius: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
  }
  
  .chat-header {
    border-radius: 0;
  }
  
  .chat-input {
    border-radius: 0;
  }
  
  .message .content {
    max-width: 85%;
  }
}

/* Large Devices (1200px and above) */
@media (min-width: 1200px) {
    .hero-section {
        height: 450px;
    }
    
    .hero-section h1 {
        font-size: 56px;
    }
    
    .filter-container {
        max-width: 1200px;
        margin: 220px auto;
    }
}

/* Tablets (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-section h1 {
        font-size: 42px;
    }
    
    .filter-container {
        max-width: 1000px;
        margin: 200px auto;
        padding: 25px 20px;
    }
    
    .location-filter {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .button-container {
        gap: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Small Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        height: 350px;
        margin-bottom: 20px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .filter-container {
        max-width: 100%;
        margin: 180px 20px 0;
        padding: 20px;
    }
    
    .filter-tabs {
        margin-bottom: 15px;
    }
    
    .filter-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .property-type-tabs {
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    
    .property-type-tab {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-control {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .location-filter {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .checkbox-group {
        gap: 10px;
    }
    
    .checkbox-item {
        margin-right: 10px;
        margin-bottom: 8px;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Mobile Phones (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        height: 280px;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .filter-container {
        max-width: 100%;
        margin: 160px 15px 0;
        padding: 15px;
        border-radius: 8px;
        background-color: var(--light-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        border-bottom: 1px solid #eee;
        margin-bottom: 12px;
    }
    
    .filter-tab {
        padding: 8px 12px;
        font-size: 12px;
        border-bottom: none;
        text-align: center;
    }
    
    .filter-tab.active {
        border-bottom: 2px solid var(--primary-color);
    }
    
    .property-type-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .property-type-tab {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .form-control {
        font-size: 12px;
        padding: 8px 10px;
        height: auto;
    }
    
    .location-filter {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .checkbox-group {
        gap: 8px;
    }
    
    .checkbox-item {
        font-size: 12px;
        margin-right: 8px;
        margin-bottom: 6px;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }
    
    .range-slider {
        margin-top: 8px;
    }
    
    .range-values {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 8px 15px;
        font-size: 13px;
        min-width: auto;
    }
    
    .toast {
        top: 15px;
        right: 10px;
        font-size: 12px;
        padding: 10px 15px;
    }
}

/* Small Mobile Phones (360px to 575px) */
@media (max-width: 575.98px) {
    body {
        font-size: 13px;
    }
    
    .hero-section {
        height: 220px;
        margin-bottom: 10px;
        background-attachment: scroll;
    }
    
    .hero-overlay {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero-section h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .hero-section p {
        font-size: 12px;
    }
    
    .filter-container {
        max-width: 100%;
        margin: 140px 10px 0;
        padding: 12px;
        border-radius: 6px;
        background-color: var(--light-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .filter-tabs {
        display: none;
    }
    
    .filter-tab {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .filter-content {
        display: block !important;
    }
    
    .property-type-tabs {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .property-type-tab {
        width: 100%;
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 4px;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-label {
        font-size: 11px;
        margin-bottom: 4px;
        font-weight: 500;
    }
    
    .form-control {
        font-size: 12px;
        padding: 8px 10px;
        height: auto;
        border-radius: 4px;
    }
    
    textarea.form-control {
        min-height: 80px;
        resize: vertical;
    }
    
    .location-filter {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 6px;
    }
    
    .checkbox-item {
        font-size: 11px;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 13px;
        height: 13px;
        margin-right: 3px;
        margin-top: 1px;
    }
    
    .checkbox-item label {
        font-size: 11px;
        cursor: pointer;
    }
    
    .range-slider {
        margin-top: 6px;
    }
    
    .range-values {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 8px 12px;
        font-size: 12px;
        min-width: auto;
        border-radius: 4px;
    }
    
    .search-btn {
        background-color: var(--primary-color);
    }
    
    .search-btn:hover:not(:disabled) {
        background-color: var(--primary-color-dark);
        transform: translateY(-1px);
    }
    
    .check-work-btn {
        background-color: var(--secondary-color);
    }
    
    .check-work-btn:hover:not(:disabled) {
        background-color: #444;
    }
    
    .terms-checkbox {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .terms-checkbox input {
        width: 13px;
        height: 13px;
    }
    
    .terms-checkbox label {
        font-size: 11px;
    }
    
    .terms-link {
        color: var(--primary-color);
    }
    
    .toast {
        top: 10px;
        right: 5px;
        font-size: 11px;
        padding: 8px 12px;
        border-radius: 4px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 359.98px) {
    .hero-section h1 {
        font-size: 20px;
    }
    
    .filter-container {
        margin: 120px 8px 0;
        padding: 10px;
    }
    
    .property-type-tab {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .form-label {
        font-size: 10px;
    }
    
    .form-control {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    .btn {
        font-size: 11px;
        padding: 7px 10px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 180px;
    }
    
    .hero-section h1 {
        font-size: 18px;
    }
    
    .filter-container {
        margin: 100px 10px 0;
    }
}
/* Tablets and Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .filters-header {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px;
    }
    
    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        max-width: 100%;
    }
    
    .header-left h3 {
        text-align: center;
        font-size: 17px;
    }
    
    .header-center {
        max-width: 100%;
    }
    
    .header-right {
        display: flex;
        justify-content: center;
    }
    
    .search-box-compact {
        width: 100%;
    }
}

/* Medium Tablets (768px - 991px) */
@media (max-width: 991px) {
    .filters-header {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .header-left h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .search-input-compact {
        font-size: 13px;
        padding: 11px 15px 11px 38px;
    }
    
    .btn-search-compact,
    .btn-clear-compact {
        padding: 11px 14px;
        font-size: 13px;
    }
    
    .toggle-filters-btn-compact {
        width: 100%;
        max-width: 280px;
        padding: 10px 18px;
    }
}

/* Small Tablets and Large Phones (576px - 767px) */
@media (max-width: 767px) {
    .filters-header {
        padding: 12px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .header-left h3 {
        font-size: 15px;
    }
    
    .header-left h3 i {
        font-size: 16px;
    }
    
    .search-box-compact {
        border-radius: 35px;
    }
    
    .search-input-compact {
        font-size: 12px;
        padding: 10px 14px 10px 36px;
    }
    
    .search-input-compact::placeholder {
        font-size: 12px;
    }
    
    .search-icon-compact {
        left: 14px;
        font-size: 13px;
    }
    
    .btn-search-compact {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .btn-clear-compact {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .toggle-filters-btn-compact {
        width: 100%;
        max-width: 250px;
        padding: 9px 16px;
        font-size: 13px;
    }
    
    .search-meta-row {
        flex-direction: column;
        padding: 0 12px 12px;
        gap: 10px;
        align-items: flex-start;
    }
    
    .search-suggestions-compact {
        font-size: 11px;
        text-align: center;
        width: 100%;
    }
    
    .search-tags-compact {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }
    
    .search-tag-compact {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* Mobile Phones (480px - 575px) */
@media (max-width: 575px) {
    .filters-header {
        padding: 10px;
        gap: 8px;
        border-radius: 10px;
    }
    
    .header-left h3 {
        font-size: 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
    
    .header-left h3 i {
        font-size: 14px;
        display: block;
        margin-right: 0;
        margin-bottom: 3px;
    }
    
    .search-box-compact {
        border-radius: 30px;
        border-width: 1px;
    }
    
    .search-input-compact {
        font-size: 11px;
        padding: 9px 12px 9px 34px;
    }
    
    .search-input-compact::placeholder {
        font-size: 11px;
    }
    
    .search-icon-compact {
        left: 12px;
        font-size: 12px;
    }
    
    .btn-search-compact {
        padding: 9px 11px;
        font-size: 11px;
    }
    
    .btn-search-compact i {
        font-size: 11px;
    }
    
    .btn-clear-compact {
        padding: 9px 10px;
        font-size: 10px;
    }
    
    .toggle-filters-btn-compact {
        width: 100%;
        max-width: 100%;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 20px;
        white-space: nowrap;
    }
    
    .toggle-filters-btn-compact i {
        margin-right: 5px;
        font-size: 11px;
    }
    
    .search-meta-row {
        padding: 0 10px 10px;
        gap: 8px;
    }
    
    .search-suggestions-compact {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .search-tags-compact {
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .search-tag-compact {
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 12px;
    }
}

/* Extra Small Phones (360px - 479px) */
@media (max-width: 479px) {
    .filters-header {
        padding: 8px;
        gap: 6px;
    }
    
    .header-left h3 {
        font-size: 13px;
    }
    
    .search-input-compact {
        font-size: 10px;
        padding: 8px 10px 8px 32px;
    }
    
    .search-input-compact::placeholder {
        font-size: 10px;
    }
    
    .btn-search-compact {
        padding: 8px 10px;
        font-size: 10px;
    }
    
    .toggle-filters-btn-compact {
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* Very Small Phones (Below 360px) */
@media (max-width: 359px) {
    .filters-header {
        padding: 6px;
    }
    
    .header-left h3 {
        font-size: 12px;
    }
    
    .header-left h3 i {
        font-size: 12px;
    }
    
    .search-input-compact {
        font-size: 9px;
        padding: 7px 8px 7px 30px;
    }
    
    .search-icon-compact {
        left: 10px;
        font-size: 10px;
    }
    
    .btn-search-compact {
        padding: 7px 8px;
        font-size: 9px;
    }
    
    .btn-clear-compact {
        padding: 7px 8px;
    }
    
    .toggle-filters-btn-compact {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .search-tag-compact {
        font-size: 9px;
        padding: 2px 6px;
    }
}

/* Landscape Mode for Mobiles */
@media (max-height: 500px) and (orientation: landscape) {
    .filters-header {
        padding: 8px;
    }
    
    .header-left h3 {
        font-size: 12px;
    }
    
    .search-input-compact {
        padding: 7px 10px 7px 32px;
    }
    
    .btn-search-compact,
    .toggle-filters-btn-compact {
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* Fix for very wide screens */
@media (min-width: 1400px) {
    .filters-header {
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header-center {
        max-width: 600px;
    }
}