@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --font-body:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-editorial: "Cormorant Garamond", Georgia, serif;
}

/* Reset and Base Styles */
html {
  font-size: 9.6px;
  outline: none;
  zoom: 0.9;
}

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

img,
video {
  max-width: 100%;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  color: #6b7280;
  background-color: #f9f9f9;
  font-weight: 300;
  letter-spacing: 0.5px;
  position: relative;
  outline: none;
}

body:focus,
html:focus,
main:focus,
div:focus:not(input):not(select):not(textarea):not(button) {
  outline: none !important;
}

/* Global heading hierarchy (12px base: h1=39px, h2=27px, h3=18px) */
h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 600;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 500;
}

.container {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 0 1rem !important;
  width: 100% !important;
}

.search-section .container {
  max-width: 1400px !important;
  width: 100% !important;
  padding: 0 1rem !important;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #2e2e2e;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 0 0 28px;
  position: relative;
}

.currency-selector select option {
  background-color: #eaf4f0;
  color: #004f4d;
}

.custom-currency-dropdown {
  position: relative;
  display: inline-block;
}

.currency-btn {
  background: #f5faf9;
  color: #004f4d;
  border: 1px solid #e3eeec;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.currency-btn:hover {
  background: #eaf4f0;
}

.currency-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.currency-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  min-width: 100%;
  z-index: 9999;
  overflow: hidden;
}

.currency-menu.open {
  display: block;
}

.currency-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.05rem;
  color: #004f4d;
  background: white;
  transition: background 0.15s ease;
  font-weight: 500;
}

.currency-item:hover,
.currency-item.active {
  background: #eaf4f0;
  color: #004f4d;
}

.nav-brand {
  margin-left: 0;
}

.nav-logo-img {
  height: 27px;
  width: auto;
  display: block;
  transition: opacity 0.18s ease;
}

.nav-brand a:hover .nav-logo-img {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 26px;
  }
}
@media (max-width: 480px) {
  .nav-logo-img {
    height: 22px;
  }
}

.nav-brand p {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ── Centered navbar layout (Buy/Rent pages) ── */
.navbar--centered {
  position: relative;
}
.navbar--centered .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 20px;
  margin-right: 3cm;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: #004f4d;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: #188f8b;
}

/* Compact Search Styles */
.compact-search {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  align-items: end !important;
  flex-wrap: nowrap !important;
  overflow-x: visible !important;
  width: 100% !important;
  justify-content: space-between !important;
}

.compact-search .search-group {
  flex: 1 1 auto !important;
  min-width: 160px !important;
  max-width: 240px !important;
}

.search-actions-group {
  flex: 0 0 auto !important;
  min-width: 250px !important;
  max-width: 250px !important;
}

.search-actions-group .button-group {
  display: flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.search-actions-group .search-btn,
.search-actions-group .save-search-alert-btn {
  flex: 0 0 auto !important;
  min-width: 100px !important;
  max-width: 120px !important;
  padding: 0.8rem 1rem !important;
  font-size: 0.9rem !important;
}

/* Search field styling — matches homepage dropdown style */
.search-group select {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 13px 2.5rem 13px 1rem;
  border-radius: 12px;
  font-size: 15px;
  color: #2e2e2e;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  font-family: inherit;
}

.search-group input {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 13px 1rem;
  border-radius: 12px;
  font-size: 15px;
  color: #2e2e2e;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: inherit;
}

.search-group select:focus,
.search-group input:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.search-group select:hover,
.search-group input:hover {
  border-color: #004f4d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2e2e2e;
}

.price-dropdown {
  position: relative;
}

.price-selector {
  position: relative;
}

.price-dropdown-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 15px;
  font-family: inherit;
  color: #2e2e2e;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.price-dropdown-btn:hover {
  border-color: #004f4d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  margin-top: 8px;
}

.price-dropdown.active .price-dropdown-menu {
  display: block;
}

.price-inputs {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.price-input-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ── Listing-page (Buy/Rent) new-style search row ── */
.lp-search-row {
  display: flex;
  align-items: stretch;
  height: 58px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
  overflow: visible;
  position: relative;
  width: 100%;
}
.lp-search-icon {
  flex-shrink: 0;
  align-self: center;
  padding: 0 4px 0 18px;
  color: #aaa;
  font-size: 1rem;
  pointer-events: none;
}
.lp-search-row .tsf-chip-input {
  flex: 1;
  align-self: stretch;
  padding: 0 8px;
  overflow: hidden;
}
.lp-search-row .tsf-location-panel {
  top: calc(100% + 16px);
  left: 0;
  right: 0;
  min-width: 0;
}
.lp-search-row .tsf-map-btn {
  align-self: center;
  margin: 0 4px 0 0;
  height: 38px;
  padding: 0 12px;
}
.lp-search-row .tsf-btn {
  border-radius: 0 14px 14px 0;
  height: 100%;
  min-width: 110px;
  font-size: 14px;
  padding: 0 1.5rem;
}
.lp-filter-bar {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.lp-alerts-btn {
  flex-shrink: 0;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 0 12px 12px 0;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: #2e2e2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  outline: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.lp-alerts-btn:hover {
  background: rgba(0, 79, 77, 0.06);
  color: #004f4d;
}
.lp-mf-container {
  position: relative;
}
@media (max-width: 768px) {
  .lp-search-row {
    height: 50px;
  }
  .lp-search-row .tsf-btn {
    min-width: 80px;
    font-size: 13px;
    padding: 0 1rem;
    width: auto;
  }
  .lp-search-row .tsf-map-btn {
    display: none;
  }
  .lp-filter-bar .tsf-fb-group {
    flex-wrap: wrap;
    height: auto;
    padding: 4px 0;
  }
  .lp-filter-bar .tsf-fb-col {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .lp-filter-bar .tsf-fb-sep {
    display: none;
  }
  .lp-filter-bar .tsf-fb-more {
    border-left: none;
    border-radius: 0 0 0 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 10px 14px;
    grid-column: span 1;
    justify-content: center;
  }
  .lp-alerts-btn {
    border-left: 1px solid rgba(0, 0, 0, 0.07);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0 0 14px 0;
    padding: 10px 14px;
    grid-column: span 1;
    justify-content: center;
  }
  .lp-mf-container .more-filters-menu {
    right: auto;
    left: 0;
  }
}
.tsf-panel-header {
  padding: 6px 14px 3px;
  font-size: 10px;
  font-weight: 700;
  color: #9aafad;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Buy/Rent custom filter trigger button ── */
.filter-trigger-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 13px 2.5rem 13px 1rem;
  border-radius: 12px;
  font-size: 15px;
  color: #2e2e2e;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  outline: none;
}
.filter-trigger-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.filter-trigger-btn:hover {
  border-color: #004f4d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.filter-trigger-btn.active {
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

/* ── Buy/Rent custom filter dropdown panel ── */
.filter-dd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  z-index: 9999;
}
.filter-dd-panel.open {
  display: block;
}
.filter-dd-group-header {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Price dropdown: scrollable list + frozen Custom Price footer ── */
.price-dd-panel {
  padding: 0;
  max-height: none;
}
/* price-dd-panel: no max-height/overflow constraints — scroll list handles its own scroll */
.tsf-dd-panel.price-dd-panel {
  padding: 0;
  overflow: visible;
  max-height: none;
}
.price-scroll-list {
  max-height: 256px;
  overflow-y: auto;
  padding: 6px 0;
}
.price-scroll-list::-webkit-scrollbar {
  width: 8px;
}
.price-scroll-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.price-scroll-list::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
.price-scroll-list::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.price-scroll-list::-webkit-scrollbar-button {
  display: block;
  height: 0;
}
.price-custom-footer {
  border-top: 2px solid #b0bec5;
}
.price-custom-trigger {
  font-weight: 600;
  color: #2e2e2e;
}
.price-custom-input-wrap {
  padding: 10px 12px 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.price-custom-input-wrap.pcw-open {
  display: flex;
}
.price-custom-field {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: #2e2e2e;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.price-custom-field:focus {
  border-color: #004f4d;
  box-shadow: 0 0 0 2px rgba(0, 79, 77, 0.1);
}
.price-custom-done {
  background: #004f4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.price-custom-done:hover {
  background: #006b68;
}

/* ── Price range panel (two-column Min / Max) ── */
.price-range-panel {
  min-width: min(370px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
}
.price-cols {
  display: flex;
}
.price-col {
  flex: 1;
  padding: 10px 0 10px;
}
.price-col + .price-col {
  border-left: 1px solid #e2e8f0;
}
.price-col-header {
  padding: 6px 16px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-col-opts {
  max-height: 280px;
  overflow-y: auto;
}
.price-col-opts::-webkit-scrollbar {
  width: 4px;
}
.price-col-opts::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 2px;
}
.price-custom-wrap {
  padding: 6px 10px 4px;
}
.price-custom-field {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  color: #2e2e2e;
  outline: none;
  box-sizing: border-box;
}
.price-custom-field:focus {
  border-color: #004f4d;
  box-shadow: 0 0 0 2px rgba(0, 79, 77, 0.1);
}

/* More Filters styles */
.search-group:has(.more-filters-btn) {
  position: relative;
}

.more-filters-btn {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #2e2e2e;
  transition: all 0.3s ease;
  gap: 8px;
}

.more-filters-btn:hover {
  border-color: #004f4d;
}

.more-filters-btn i:last-child {
  transition: transform 0.3s ease;
}

.search-group.active .more-filters-btn i:last-child {
  transform: rotate(180deg);
}

.more-filters-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 660px;
  max-width: calc(100vw - 20px);
  background: white;
  border: 2px solid #004f4d;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 79, 77, 0.1);
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border-top: none;
}

@media (max-width: 768px) {
  .more-filters-menu {
    width: 90vw;
    right: -50px;
  }
}

.search-group.active .more-filters-menu,
.more-filters-container.active .more-filters-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.more-filters-container.active .more-filters-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.filters-grid {
  padding: 20px;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2e2e2e;
}

.filter-group select {
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.filter-group select:focus {
  outline: none;
  border-color: #004f4d;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.feature-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.feature-checkbox:hover {
  border-color: #004f4d;
  background: #f8f9fa;
}

.feature-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #004f4d;
}

.feature-checkbox i {
  color: #004f4d;
  width: 16px;
  text-align: center;
}

.feature-checkbox span {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.feature-checkbox input[type="checkbox"]:checked + i + span {
  font-weight: 600;
}

.more-filters-dropdown.active .more-filters-menu {
  display: block;
}

.filter-inputs {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-input-group label {
  font-weight: 600;
  color: #333;
}

.filter-input-group select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}

.filter-features {
  margin-top: 1rem;
}

.filter-features label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

.feature-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.feature-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.25rem 0;
}

.feature-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #004f4d;
}

.feature-checkbox .checkmark {
  display: none;
}

/* Navigation Dropdown Styles */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  color: #1f3f3d;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  transition: color 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.nav-dropdown-btn i {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-left: 4px;
  opacity: 0.6;
}

.nav-dropdown.active .nav-dropdown-btn i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  border: 1px solid rgba(0, 79, 77, 0.1);
  margin-top: 10px;
}

.nav-dropdown.active .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  color: #4a5568;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

.nav-dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #004f4d;
}

.nav-links a {
  color: #1f3f3d;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  transition: color 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #004f4d;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #004f4d;
  transition: width 0.3s ease;
}

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

.sign-in-btn {
  background: transparent;
  color: #0f766e !important;
  border: 1px solid rgba(15, 118, 110, 0.3);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  margin-left: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.sign-in-btn:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.5);
}

.sign-in-btn::after {
  display: none;
}

.sign-in-btn i {
  margin-right: 0.5rem;
}

/* Logout button and user greeting styles */
.logout-btn {
  background: linear-gradient(135deg, #004f4d 0%, #004f4d 100%);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 79, 77, 0.2);
  margin-left: 1rem;
}

.logout-btn:hover {
  transform: translateY(-1px);
  background: #188f8b;
  box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

.logout-btn::after {
  display: none;
}

.user-greeting {
  color: #004f4d;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 1rem;
  padding: 0.5rem 0;
}

/* Hero Section */
.hero {
  color: white;
  padding: 6rem 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}
/* Clips the video/overlay to the hero bounds without clipping dropdown panels */
.hero-video-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: 1s opacity;
  filter: brightness(0.95) saturate(1.1) contrast(1.05);
}

.hero-overlay {
  display: none; /* overlay now handled by hero::before variant class */
}

/* ── Overlay variants — switch by adding hybrid-* class to <section class="hero"> ── */
.hero.hybrid-light::before,
.hero.hybrid-soft::before,
.hero.hybrid-medium::before,
.hero.hybrid-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* A — Very light (bright, airy) */
.hero.hybrid-light::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

/* B — Light balanced (recommended) */
.hero.hybrid-soft::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.18) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* C — Medium (more contrast, still fresh) */
.hero.hybrid-medium::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* D — Strong (luxury / high contrast) */
.hero.hybrid-strong::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.hero-content h2 {
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: none;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  color: white;
}

.hero-content p {
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
  color: white;
  text-shadow: none;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Property Alerts Section */
.property-alerts-section {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 4px solid rgba(255, 255, 255, 0.4);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.alert-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.property-alerts-section h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #004f4d;
}

.property-alerts-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #2e2e2e;
  opacity: 0.9;
  line-height: 1.5;
}

.alert-signup-btn {
  display: inline-block;
  background: #fb8d3e;
  color: white !important;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fb8d3e;
}

.alert-signup-btn:hover {
  background: #e8854a;
  border-color: #e8854a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(251, 141, 62, 0.3);
}

/* ── Tabbed Search Bar ─────────────────────────────────── */
.hero-search-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(3.08rem, 4.86vw, 4.86rem);
  font-weight: 300;
  color: white;
  text-shadow: none;
  margin-bottom: 0.6rem;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero-title,
.hero-content h1,
.homepage-hero h1 {
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(3.4rem, 4.2vw, 5rem) !important;
  font-weight: 300 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em !important;
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
  margin-bottom: 14px !important;
  max-width: 1100px !important;
  text-align: center !important;
}

.hero-content p,
.homepage-hero p {
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .hero-title,
  .hero-content h1,
  .homepage-hero h1 {
    font-size: 3rem !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
  }
  .hero-content p,
  .homepage-hero p {
    font-size: 1rem !important;
  }
}

.hero-subtext {
  font-size: clamp(13px, 1.28vw, 17px);
  color: white;
  max-width: 720px;
  margin: 12px auto 42px;
  text-shadow: none;
  font-weight: 400;
}

.hero-content {
  max-width: 1020px;
  width: 100%;
  padding: 0 1rem;
  transform: translateY(-30px);
}

.search-area {
  transform: translateY(20px);
}

/* ── Container ── */
.tabbed-search {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ── Tabs row — floats on hero background ── */
.tabbed-search__tabs {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin-bottom: 1.1rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: transparent;
  border: none;
}
.tabbed-search__tabs::-webkit-scrollbar {
  display: none;
}

.tabbed-search__tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
  font-family: inherit;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}
.tabbed-search__tab:hover {
  color: #ffffff;
  border-bottom-color: #00c2a8;
}
.tabbed-search__tab.active {
  color: #ffffff;
  font-weight: 800;
  border-bottom-color: #00c2a8;
  border-bottom-width: 3px;
}
.tabbed-search__tab.active:hover {
  border-bottom-color: #00c2a8;
}

/* ── Search form row ── */
.tabbed-search__form {
  display: flex;
  align-items: stretch;
  height: 72px;
  background: transparent;
  position: relative;
}

/* ── Column base ── */
.tsf-col {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.1rem;
  border-right: 1.5px solid #c8c8c8;
  height: 100%;
  min-width: 0;
  transition: background 0.15s;
}
.tsf-col:focus-within {
  background: #f5fafa;
}

.tsf-location {
  flex: 3;
  border-radius: 16px 0 0 16px;
}
.tsf-type {
  flex: 2;
}
.tsf-price {
  flex: 1.8;
}
.tsf-beds {
  flex: 1.5;
}

/* ── Location dropdown panel ── */
.tsf-location-panel {
  display: none;
  position: absolute;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  z-index: 9999;
  text-align: left;
}
.tsf-location-panel.open {
  display: block;
}
.tsf-col.tsf-location .tsf-location-panel {
  top: calc(100% + 8px);
  left: 0;
  right: 4cm;
  min-width: 0;
}
.tsf-map-btn {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  height: 46px;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  background: #fff;
  color: #2e2e2e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
  margin: 0 6px;
}
.tsf-map-btn i {
  color: #004f4d;
  font-size: 15px;
}
.tsf-map-btn:hover {
  border-color: #004f4d;
  color: #004f4d;
}

.tsf-location-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #2e2e2e;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.tsf-location-item:hover {
  background: #f0faf9;
  color: #004f4d;
}
.tsf-location-item i {
  color: #90be6d;
  font-size: 13px;
  flex-shrink: 0;
}
.tsf-location-divider {
  border: none;
  border-top: 1px solid #f0f4f3;
  margin: 4px 0;
}

/* ── Global grouped search results ── */
.tsf-search-group {
  margin-bottom: 2px;
}
.tsf-search-group-header {
  padding: 8px 14px 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #9aafad;
  pointer-events: none;
}
.tsf-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #2e2e2e;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1.3;
}
.tsf-search-item:hover,
.tsf-search-item.highlighted {
  background: #f0faf9;
  color: #004f4d;
}
.tsf-search-item__icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  font-size: 13px;
}
.tsf-search-item--location .tsf-search-item__icon {
  color: #90be6d;
}
.tsf-search-item--development .tsf-search-item__icon {
  color: #004f4d;
}
.tsf-search-item--property .tsf-search-item__icon {
  color: #00c2a8;
}
.tsf-loc-check {
  display: none;
  color: #004f4d;
  font-size: 11px;
  margin-left: auto;
  flex-shrink: 0;
}
.tsf-search-item--location.selected {
  background: #f0faf9;
  color: #004f4d;
}
.tsf-search-item--location.selected .tsf-loc-check {
  display: block;
}
.tsf-search-item--location.selected .tsf-search-item__icon {
  color: #004f4d;
}
/* ── Chip / tag input ── */
.tsf-chip-input {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  align-self: stretch;
  cursor: text;
  overflow: hidden;
}
.tsf-chip-input .tsf-input {
  flex: 1;
  min-width: 80px;
  padding: 0;
  height: 100%;
  cursor: text;
}
.tsf-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #004f4d;
  color: #fff;
  border-radius: 4px;
  padding: 3px 9px 3px 10px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
  cursor: pointer;
}
.tsf-loc-chip__x {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  opacity: 0.75;
  padding: 0 1px;
  font-style: normal;
}
.tsf-loc-chip__x:hover {
  opacity: 1;
}
.tsf-search-item__body {
  flex: 1;
  min-width: 0;
}
.tsf-search-item__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tsf-search-item__sub {
  font-size: 11px;
  color: #9aafad;
  font-weight: 400;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tsf-search-no-results {
  padding: 14px;
  color: #9aafad;
  font-size: 13px;
  text-align: center;
}

/* ── Icons ── */
.tsf-icon {
  color: #aaa;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.tsf-icon--sm {
  font-size: 0.8rem;
}
.tsf-currency {
  color: #888;
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

/* ── Inputs ── */
.tsf-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #2e2e2e;
  font-family: inherit;
  min-width: 0;
}
.tsf-input::placeholder {
  color: #2e2e2e;
}
.tsf-price-input {
  font-size: 15px;
}

/* ── Selects ── */
.tsf-select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #2e2e2e;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.2rem;
  min-width: 0;
}
.tsf-select option {
  color: #2e2e2e;
  padding: 8px 16px;
  font-size: 14px;
}

/* ── Custom dropdown trigger button ── */
.tsf-custom-btn {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #2e2e2e;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  outline: none;
}
.tsf-custom-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.tsf-caret {
  flex-shrink: 0;
  margin-left: 6px;
}

/* ── Custom dropdown panel ── */
.tsf-dd-panel {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px 6px 8px;
  z-index: 9999;
  min-width: 180px;
  max-height: 260px;
  overflow-y: auto;
}
.tsf-dd-panel.open {
  display: block;
}

/* ── Filter Bar (Row 2) ─────────────────────────────────── */
.tsf-filter-bar {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1180px;
  margin: 7px auto 0;
  overflow: visible;
}
.tsf-fb-group {
  display: flex;
  align-items: stretch;
  height: 50px;
}
.tsf-fb-col {
  display: flex;
  align-items: center;
  padding: 0 18px;
  flex: 1;
  min-width: 0;
  position: relative;
}
.tsf-fb-sep {
  width: 1px;
  background: rgba(0, 0, 0, 0.09);
  margin: 10px 0;
  flex-shrink: 0;
}
.tsf-fb-btn {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #6b7280;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  outline: none;
}
.tsf-fb-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.tsf-fb-btn.has-value {
  color: #2e2e2e;
  font-weight: 500;
}
.tsf-fb-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2e2e2e;
  font-family: inherit;
}
.tsf-fb-input::placeholder {
  color: #6b7280;
}
.tsf-fb-more {
  flex-shrink: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #004f4d;
  font-family: inherit;
  cursor: pointer;
  padding: 0 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 0 12px 12px 0;
  outline: none;
  transition: background 0.15s;
}
.tsf-fb-more:hover {
  background: rgba(0, 79, 77, 0.06);
}
/* Filter bar dropdown panels — CSS-positioned, no JS coords needed */
.tsf-fb-col .tsf-dd-panel {
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
}
.tsf-dd-option {
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 12.6px;
  color: #2e2e2e;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.tsf-dd-option:hover {
  background: #f0fafa;
  color: #004f4d;
}
.tsf-dd-option.selected {
  color: #004f4d;
  font-weight: 600;
}
.tsf-dd-placeholder {
  color: #888;
}

/* ── Search button ── */
.tsf-btn {
  flex-shrink: 0;
  background: #00c2a8;
  color: white;
  border: none;
  padding: 0 2rem;
  height: 100%;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
  border-radius: 0 16px 16px 0;
}
.tsf-btn:hover {
  background: #00a892;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 194, 168, 0.35);
}
.tsf-btn i {
  font-size: 0.875rem;
}

/* ── Mobile homepage hero + search ── */
@media (max-width: 768px) {
  /* Hero section */
  .hero {
    min-height: 580px;
    align-items: flex-start;
    padding-top: 80px;
  }
  .hero-content {
    width: 92%;
    max-width: 92%;
    margin: 0 auto;
    padding: 40px 0 0;
    text-align: center;
    transform: none;
    position: relative;
  }
  /* Subtle gradient so text pops against bright hero image */
  .hero-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 240px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.22),
      rgba(0, 0, 0, 0)
    );
    z-index: -1;
    pointer-events: none;
  }
  .search-area {
    transform: none;
  }

  /* Hero heading */
  .hero-search-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem) !important;
    text-align: center;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  }

  /* Hero subtext */
  .hero-subtext {
    font-size: 14px;
    line-height: 1.55;
    max-width: 320px;
    margin: 0 auto 22px;
    padding: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  /* Tab row */
  .tabbed-search__tabs {
    justify-content: center;
    padding: 0;
    gap: 0;
    margin-bottom: 14px;
  }
  .tabbed-search__tab {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
  }

  /* Search box container */
  .tabbed-search {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .tabbed-search__form {
    flex-direction: column;
    height: auto;
    padding: 12px;
    gap: 8px;
    background: transparent;
  }

  /* Search input row */
  .tsf-col {
    width: 100%;
    border-right: none;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 14px;
    height: 52px;
    background: #ffffff;
    gap: 8px;
  }
  .tsf-col:focus-within {
    border-color: #004f4d;
  }
  .tsf-map-btn {
    display: none !important;
  }

  /* Input text — keep at 14px; acceptable iOS zoom trade-off at this size */
  .tsf-input {
    font-size: 14px;
    color: #2e2e2e;
  }
  .tsf-input::placeholder {
    color: #b0b8c1;
    font-size: 13px;
  }
  .tsf-icon {
    font-size: 14px !important;
    color: #b0b8c1 !important;
  }

  /* Search button */
  .tsf-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    height: 52px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
  }

  /* Filter bar — 2-column grid, no horizontal scroll */
  .tsf-filter-bar {
    overflow: visible;
    border-radius: 14px;
    margin-top: 8px;
  }
  .tsf-fb-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: auto;
    gap: 0;
  }
  .tsf-fb-col {
    padding: 0 14px;
    min-width: 0;
    flex: unset;
    height: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }
  .tsf-fb-col:nth-child(2n) {
    border-right: none;
  }
  .tsf-fb-sep {
    display: none;
  }
  .tsf-fb-btn {
    font-size: 13px;
    color: #6b7280;
  }
  .tsf-fb-more {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 14px 14px;
    padding: 0 14px;
    height: 44px;
    font-size: 13px;
    justify-content: center;
  }

  /* Navbar */
  .sign-in-btn {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* Search Section */
.search-section {
  background: #ffffff;
  padding: 1.5rem 0;
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
}

.search-section h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #2e2e2e;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.search-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.search-form {
  background: #ffffff;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #555;
}

.required {
  color: #ff6b6b;
  font-weight: 700;
  margin-left: 2px;
}

.required-note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.form-group input,
.form-group select {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #188f8b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 143, 139, 0.1);
}

.search-btn {
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 120px;
  box-shadow: 0 4px 20px rgba(24, 143, 139, 0.3);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24, 143, 139, 0.4);
}

/* Featured Properties Carousel */
.featured-properties {
  padding: 1rem 0;
  background: #f8fafc;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* Properties Grid Layout (for 3-item non-carousel display) */
.properties-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.properties-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 1rem;
}

@media (max-width: 768px) {
  .properties-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Fix Properties For Sale grid items */
.properties-row .carousel-slide {
  flex: none !important;
  max-width: none !important;
  min-width: none !important;
  width: 100% !important;
}

.properties-row .development-ad-card {
  width: 100% !important;
  height: auto !important;
}

.properties-row .property-image-gallery {
  height: 265px !important;
  width: 100% !important;
}

.properties-row .gallery-container {
  height: 100% !important;
  width: 100% !important;
}

.properties-row .gallery-track {
  height: 100% !important;
  width: 100% !important;
}

.properties-row .gallery-slide {
  height: 100% !important;
  width: 100% !important;
}

.properties-row .gallery-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Carousel slide anchor — fills the full height of the slide */
.carousel-slide > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

/* Make all carousel cards fill the slide height so every card in a row is the same height */
.carousel-slide .development-ad-card {
  height: 100% !important;
  width: 100% !important;
  display: flex;
  flex-direction: column;
}

/* Content area fills remaining vertical space, keeping image height consistent */
.carousel-slide .development-ad-card .property-content {
  flex: 1;
}

/* Properties For Sale/Rent — restored to original height */
.featured-properties:not(.featured-developments)
  .carousel-slide
  .property-image-gallery {
  height: 265px !important;
  width: 100% !important;
}

.featured-properties:not(.featured-developments)
  .carousel-slide
  .gallery-container {
  height: 100% !important;
  width: 100% !important;
}

.featured-properties:not(.featured-developments)
  .carousel-slide
  .gallery-track {
  height: 100% !important;
  width: 100% !important;
}

.featured-properties:not(.featured-developments)
  .carousel-slide
  .gallery-slide {
  height: 100% !important;
  width: 100% !important;
}

.featured-properties:not(.featured-developments)
  .carousel-slide
  .gallery-slide
  img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Featured Developments - simple hero image structure */
.dev-hero-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-hero-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .dev-hero-wrapper {
    height: 200px;
  }
}

/* ============================================
   FEATURED DEVELOPMENTS V2 - Clean Carousel
   Matches Properties For Sale styling
   ============================================ */
.dev-carousel-v2 {
  padding: 3rem 0;
  background: #fff;
}

.dev-carousel-v2--grey {
  background: #f8fafc;
}

.dev-carousel-v2 .container {
  max-width: 1125px !important;
  padding: 0 1rem;
}

/* Shared card text helpers (used by partials/home_carousel.html) */
.dev-v2-listing-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #004f4d;
  margin-bottom: 0.2rem;
}

.dev-v2-listing-label--rent {
  color: #188f8b;
}

.dev-v2-per-month {
  font-size: 0.75em;
  font-weight: 500;
  color: #555;
}

.dev-v2-mls {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2e2e2e;
  margin-top: 0.2rem;
  letter-spacing: 0.2px;
}

.dev-v2-mls--empty {
  min-height: 1.275rem;
}

.dev-v2-header {
  text-align: center;
  margin-bottom: 2rem;
}

.dev-v2-header h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #004f4d;
  margin-bottom: 0.5rem;
}

.dev-v2-header p {
  color: #666;
  font-size: 1.1rem;
}

.dev-v2-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.dev-v2-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #004f4d;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.dev-v2-btn:hover {
  background: #003836;
  transform: scale(1.05);
}

.dev-v2-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.dev-v2-viewport {
  flex: 1;
  overflow: hidden;
}

.dev-v2-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.4s ease;
}

.dev-v2-card {
  flex: 0 0 calc(33.333% - 1.34rem);
  min-width: calc(33.333% - 1.34rem);
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #f1f5f9;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.dev-v2-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
}

.dev-v2-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.dev-v2-image-box {
  width: 100%;
  height: 273px;
  overflow: hidden;
  position: relative;
}

.dev-v2-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* V2 cards use shared .property-content styling */
.dev-v2-card .property-content {
  padding: 1.5rem;
  min-height: 120px;
}

.dev-v2-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dev-v2-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dev-v2-dot.active {
  background: #004f4d;
}

.dev-v2-empty {
  width: 100%;
  text-align: center;
  padding: 3rem;
}

.dev-v2-empty p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.dev-v2-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #004f4d;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
}

.dev-v2-cta:hover {
  background: #003836;
}

/* Mobile: 1 card per view */
@media (max-width: 768px) {
  .dev-v2-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .dev-v2-track {
    gap: 0;
  }

  .dev-v2-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .dev-v2-image-box {
    height: 165px;
  }

  .dev-v2-card .property-content {
    padding: 1rem;
  }

  .dev-carousel-v2 .container {
    padding: 0 0.5rem;
  }

  .dev-v2-wrapper {
    gap: 0.5rem;
  }
}

/* Tablet: 2 cards per view */
@media (min-width: 769px) and (max-width: 1024px) {
  .dev-v2-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
  }
}

/* Ensure consistent content area sizing */
.carousel-slide .property-content {
  padding: 1.5rem !important;
  min-height: 120px !important;
}

/* Force carousel slides — 3 per row, container 25% wider than original */
section.featured-properties .carousel-slide {
  flex: 0 0 calc((min(1500px, 100%) - 4rem) / 3) !important;
  max-width: calc((min(1500px, 100%) - 4rem) / 3) !important;
  min-width: calc((min(1500px, 100%) - 4rem) / 3) !important;
  width: calc((min(1500px, 100%) - 4rem) / 3) !important;
}

/* MOBILE: Override carousel slides to show 1 card at a time */
@media (max-width: 768px) {
  section.featured-properties .carousel-slide,
  section.development-ads-section .carousel-slide,
  section.development-ads-section #dev-carousel-track .carousel-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  section.featured-properties .carousel-track,
  section.development-ads-section .carousel-track,
  #sale-carousel-track,
  #rent-carousel-track,
  #dev-carousel-track {
    gap: 0 !important;
  }

  /* Mobile property card - vertical layout */
  .development-ad-card {
    flex-direction: column !important;
    height: auto !important;
  }

  .development-ad-card .property-image-gallery {
    width: 100% !important;
    height: 200px !important;
    flex: 0 0 200px !important;
  }

  .development-ad-card .property-content {
    width: 100% !important;
    padding: 1rem !important;
    flex: 1 !important;
  }
}

/* Development carousel - slides sized to fill exactly 1/3 of visible container */
section.development-ads-section #dev-carousel-track {
  gap: 2rem;
  /* Track width set by JS based on number of pages */
}
section.development-ads-section #dev-carousel-track .carousel-slide {
  /* Slide width calculated via CSS custom property set by JS */
  /* --slide-width is set to the exact pixel width each slide should be */
  flex: 0 0 var(--slide-width, 30%);
  max-width: var(--slide-width, 30%);
  min-width: var(--slide-width, 30%);
}

/* MOBILE: Final override for dev carousel (must come after above rules) */
@media (max-width: 768px) {
  section.development-ads-section #dev-carousel-track .carousel-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  section.development-ads-section #dev-carousel-track {
    gap: 0 !important;
  }
}

/* Carousel containers — 25% wider than original 1200px */
.development-ads-section .carousel-container,
.featured-properties .carousel-container {
  max-width: 1500px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.featured-properties .container {
  max-width: 1500px !important;
}

/* Ensure cards fill the available space properly */
.development-ads-section .development-ad-card,
.featured-properties .development-ad-card {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

/* When inside a carousel slide, cards must fill the full slide height
   (3-class specificity beats the 2-class rule above) */
.featured-properties .carousel-slide .development-ad-card,
.development-ads-section .carousel-slide .development-ad-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.featured-properties h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #4a5568;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.featured-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  border-radius: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

/* Default carousel slide sizing - overridden by section-specific rules below */
.carousel-slide {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 0;
  max-width: calc((100% - 4rem) / 3);
  display: flex;
  flex-direction: column;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #004f4d;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.25);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #188f8b;
  color: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 79, 77, 0.35);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 79, 77, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: #004f4d;
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: #188f8b;
}

/* Properties Grid Layout for Buy/Rent Pages */
.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Property Advertisement Grid - Made Smaller */
.property-ads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.property-ad-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.property-ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 79, 77, 0.15);
  border-color: #004f4d;
  text-decoration: none;
  color: inherit;
}

.property-ad-card .property-image-gallery {
  position: relative;
  height: 173px;
  overflow: hidden;
}

.property-ad-card .gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.property-ad-card .gallery-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.3s ease;
}

.property-ad-card .gallery-slide {
  width: 33.333%;
  height: 100%;
  flex-shrink: 0;
}

.property-ad-card .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.property-ad-card .property-content {
  padding: 1rem;
}

.property-ad-card .property-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #188f8b;
  margin-bottom: 0.3rem;
}

.property-ad-card .property-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.property-ad-card .property-location {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.property-ad-card .property-details {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  color: #666;
}

.property-ad-card .property-details span {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .property-ads-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .property-ads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .property-ads-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Development Cards */
.development-card .property-image {
  position: relative;
  overflow: hidden;
}

.development-card .property-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.development-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 79, 77, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.development-overlay i {
  font-size: 0.9rem;
}

.development-card .property-badge {
  background: linear-gradient(135deg, #188f8b 0%, #004f4d 100%);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.development-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(24, 143, 139, 0.15);
  border-color: rgba(24, 143, 139, 0.3);
}

.development-card .property-title {
  color: #004f4d;
  font-weight: 600;
}

/* Clean Style Development Cards */
.development-card.clean-style {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
  margin: 0 auto;
  max-width: 100%;
}

.development-card.clean-style:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
}

.development-card.clean-style .property-content.clean-content {
  padding: 1rem;
  text-align: left;
}

.development-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #004f4d;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.development-price .currency-symbol {
  color: #004f4d;
  font-weight: 700;
}

.development-type {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.development-location {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.development-location i {
  color: #ff6b6b;
  font-size: 0.8rem;
}

/* Business Carousel Styles */
.businesses-carousel-container {
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.1);
}

.businesses-carousel-container h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #004f4d;
  margin-bottom: 2rem;
  font-weight: 600;
}

.business-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #188f8b 0%, #004f4d 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.business-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #004f4d;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.business-type {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.business-location {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.business-location i {
  color: #9ca3af;
  font-size: 0.8rem;
}

.business-description {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Development Advertisement Section */
.development-ads-section {
  padding: 4rem 0;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.ads-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ads-header h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.ads-header p {
  font-size: 1.1rem;
  color: #6b7280;
}

.development-ads-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.development-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  flex: 1;
  overflow: hidden;
}

.development-ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
}

/* Remove active ad styles since we're showing one at a time now */

.development-ad-card .property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Removed - replaced with section-specific sizing below */

/* Make the card container 8% wider with square corners */
.development-ad-card {
  background: white;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
  width: 100% !important;
  margin: 0 auto;
}

/* Force square corners on all child elements */
.development-ad-card * {
  border-radius: 0 !important;
}

.development-ad-card .property-image-gallery {
  position: relative;
  height: 364px;
  overflow: hidden;
  border-radius: 0 !important;
}

/* Ensure content area is properly sized */
.development-ad-card .property-content {
  padding: 1.5rem;
  min-height: 120px;
}

.ads-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid #004f4d;
  color: #004f4d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 79, 77, 0.15);
  flex-shrink: 0;
}

.ads-nav-btn:hover {
  background: #004f4d;
  color: white;
  transform: scale(1.1);
}

.ads-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ads-nav-btn i {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .development-ads-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .development-ads-container {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .development-ads-grid {
    grid-template-columns: 1fr;
  }

  .ads-nav-btn {
    width: 40px;
    height: 40px;
  }

  .ads-nav-btn i {
    font-size: 1rem;
  }
}

/* Advertisement Cards */
.advertisement-card .property-image {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advertisement-content {
  text-align: center;
  padding: 2rem;
  color: #2d3748;
}

.advertisement-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #004f4d;
}

.advertisement-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

.advertisement-card .property-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.advertisement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 79, 77, 0.15);
  border-color: rgba(24, 143, 139, 0.2);
}

/* Responsive carousel */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .advertisement-content {
    padding: 1.5rem;
  }

  .advertisement-content h3 {
    font-size: 1.3rem;
  }

  /* Mobile: Show 1 card at a time */
  .carousel-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  section.featured-properties .carousel-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  section.development-ads-section #dev-carousel-track .carousel-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .carousel-track {
    gap: 0 !important;
  }

  /* Mobile property card styling */
  .carousel-slide .development-ad-card {
    flex-direction: column !important;
    height: auto !important;
  }

  .carousel-slide .development-ad-card .property-image-gallery {
    width: 100% !important;
    height: 200px !important;
  }

  .carousel-slide .development-ad-card .property-content {
    width: 100% !important;
    padding: 1rem !important;
  }

  .carousel-slide .development-ad-card .property-price {
    font-size: 1.2rem !important;
  }

  .carousel-slide .development-ad-card .property-title {
    font-size: 1rem !important;
  }
}

.property-card {
  background: white;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  height: 414px;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(24, 143, 139, 0.2);
}

/* Force image styling with high specificity */
.property-card .property-image,
div.property-card div.property-image {
  position: relative !important;
  flex: 0 0 50% !important;
  height: 100% !important;
  width: 50% !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.3s ease !important;
  min-height: 386px !important;
  max-height: 386px !important;
  display: block !important;
}

/* ULTRA AGGRESSIVE: Force content styling with maximum specificity */
html body div.property-card div.property-content,
html body .property-card .property-content,
div.property-card div.property-content,
.property-card .property-content {
  padding: 1.68rem !important;
  flex: 0 0 50% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  position: relative !important;
  gap: 0.2rem !important;
  height: 100% !important;
}

/* SPECIFIC: Price styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-price {
  font-size: 1.8rem !important;
  font-weight: 300 !important;
  color: #2e2e2e !important;
  margin-bottom: 0.25rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  order: -10 !important;
  position: relative !important;
  z-index: 100 !important;
}

/* SPECIFIC: Location styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-location {
  color: #777 !important;
  margin-bottom: 0.5rem !important;
  font-size: 2.1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-weight: 500 !important;
  order: -8 !important;
  position: relative !important;
  z-index: 998 !important;
  transform: scale(1) !important;
}

/* SPECIFIC: Property details styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-details {
  display: flex !important;
  gap: 0.8rem !important;
  margin-bottom: 0.4rem !important;
  font-size: 1.5rem !important;
  color: #888 !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
  order: -7 !important;
  position: relative !important;
  z-index: 97 !important;
}

/* SPECIFIC: Property details spans styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-details span {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  font-weight: 600 !important;
  padding: 0.1rem 0 !important;
  font-size: 1.5rem !important;
}

/* AGGRESSIVE FORCE: Button at bottom - like developments */
/* Removed view-details-btn styles */
.removed-view-details-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background: linear-gradient(135deg, #188f8b 0%, #155a5e 100%) !important;
  color: white !important;
  text-decoration: none !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  align-self: flex-start !important;
  box-shadow: 0 2px 6px rgba(24, 143, 139, 0.2) !important;
  letter-spacing: 0.2px !important;
  margin-top: auto !important;
  order: 20 !important;
}

/* SPECIFIC: Property title styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-title {
  font-size: 3.8rem !important;
  margin-bottom: 0.3rem !important;
  color: #004f4d !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 0 0.3rem 0 !important;
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 4.56rem !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  order: -9 !important;
  position: relative !important;
  z-index: 999 !important;
  transform: scale(1) !important;
}

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

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(24, 143, 139, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tier-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.tier-badge.tier-featured {
  background: linear-gradient(135deg, #ff9500, #ff6b35);
  border: 1px solid rgba(255, 149, 0, 0.3);
}

.tier-badge.tier-premium {
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  border: 1px solid rgba(138, 43, 226, 0.3);
  animation: premiumGlow 2s ease-in-out infinite alternate;
}

@keyframes premiumGlow {
  0% {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.15),
      0 0 0 rgba(138, 43, 226, 0.4);
  }
  100% {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.15),
      0 0 10px rgba(138, 43, 226, 0.6);
  }
}

/* Tier Selection Banner Styles */
.tier-selection-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 0;
  border-bottom: 1px solid #dee2e6;
}

.tier-banner-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tier-banner-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.tier-banner-header p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tier-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tier-card.tier-free {
  border-color: #188f8b;
}

.tier-card.tier-featured {
  border-color: #ff9500;
  position: relative;
}

.tier-card.tier-premium {
  border-color: #8a2be2;
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.02) 0%,
    rgba(75, 0, 130, 0.02) 100%
  );
}

.tier-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff9500;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tier-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tier-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.tier-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #188f8b;
  margin-bottom: 0.5rem;
}

.tier-price .price-rental,
.tier-price .price-sale {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0.25rem 0;
}

.tier-header p {
  color: #6c757d;
  font-size: 1rem;
}

.tier-features {
  margin-bottom: 2rem;
}

.tier-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-features li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
  font-size: 0.95rem;
  color: #495057;
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li i {
  color: #28a745;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.tier-select-btn {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-free .tier-select-btn {
  background: #188f8b;
  color: white;
}

.tier-free .tier-select-btn:hover {
  background: #156f6b;
  transform: translateY(-2px);
}

.tier-featured .tier-select-btn {
  background: #ff9500;
  color: white;
}

.tier-featured .tier-select-btn:hover {
  background: #e8860e;
  transform: translateY(-2px);
}

.tier-premium .tier-select-btn {
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  color: white;
}

.tier-premium .tier-select-btn:hover {
  background: linear-gradient(135deg, #7b27c7, #3d006b);
  transform: translateY(-2px);
}

.tier-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(24, 143, 139, 0.1);
  border-radius: 12px;
  border-left: 4px solid #188f8b;
}

.tier-note p {
  margin: 0;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tier-note i {
  color: #188f8b;
  margin-right: 0.5rem;
}

/* Success Banner */
.tier-success-banner {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.success-content {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
}

.success-content i {
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

/* Global Search Bar Styles */
.global-search-container {
  margin-left: 1rem;
}

.global-search-form {
  margin: 0;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: min(380px, 100%);
  border: 1px solid #e0e0e0;
}

.search-input-group:focus-within {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-color: #188f8b;
}

.global-search-input {
  flex: 1;
  border: none;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 30px;
  outline: none;
  background: transparent;
  color: #333;
  font-weight: 400;
}

.global-search-input::placeholder {
  color: #888;
  font-weight: 400;
}

.global-search-type {
  border: none;
  padding: 0.85rem 0.8rem;
  font-size: 0.85rem;
  background: transparent;
  color: #666;
  outline: none;
  cursor: pointer;
  border-left: 1px solid #e0e0e0;
  min-width: 70px;
  border-radius: 0;
}

.global-search-btn {
  background: #333;
  border: none;
  padding: 0.85rem 1.2rem;
  border-radius: 27px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px;
}

.global-search-btn:hover {
  background: #555;
}

.global-search-btn i {
  font-size: 1rem;
}

/* Hero Search Bar Styles */
.hero-search-container {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-search-input-group {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
  border: 1px solid #ddd;
  height: 50px;
}

.hero-search-input-group:focus-within {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: #188f8b;
  transform: translateY(-2px);
}

.hero-search-input {
  flex: 1;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1.43rem;
  border-radius: 30px;
  outline: none;
  background: transparent;
  color: #333;
  font-weight: 400;
}

.hero-search-input::placeholder {
  color: #999;
  font-weight: 400;
}

.hero-search-btn {
  background: #333;
  border: none;
  padding: 1rem 1.25rem;
  border-radius: 27px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px;
  min-width: 40px;
  height: 46px;
}

.hero-search-btn:hover {
  background: #555;
}

.hero-search-btn i {
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tier-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tier-banner-header h2 {
    font-size: 2rem;
  }

  .tier-banner-header p {
    font-size: 1rem;
  }

  .payment-modal {
    padding: 1rem;
  }

  .payment-header,
  .payment-body {
    padding: 1.5rem;
  }

  .global-search-container {
    margin-left: 0.5rem;
  }

  .search-input-group {
    min-width: min(320px, 100%);
  }

  .global-search-input {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  .global-search-type {
    font-size: 0.8rem;
    padding: 0.75rem 0.6rem;
  }

  .global-search-btn {
    padding: 0.75rem 1rem;
  }

  /* Hero Search Responsive */
  .hero-search-container {
    max-width: 400px;
  }

  .hero-search-input-group {
    height: 45px;
  }

  .hero-search-input {
    font-size: 1.33rem;
    padding: 0.8rem 1rem;
  }

  .hero-search-btn {
    padding: 0.8rem 1rem;
    min-width: 38px;
    height: 41px;
  }

  .hero-search-btn i {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .search-input-group {
    min-width: min(280px, 100%);
  }

  .global-search-input {
    font-size: 0.8rem;
    padding: 0.65rem 0.9rem;
  }

  .global-search-input::placeholder {
    font-size: 0.8rem;
  }

  .global-search-type {
    font-size: 0.75rem;
    padding: 0.65rem 0.5rem;
  }

  .global-search-btn {
    padding: 0.65rem 0.9rem;
  }

  /* Hero Search Mobile */
  .hero-search-container {
    max-width: 350px;
    margin-bottom: 1.5rem;
  }

  .hero-search-input-group {
    height: 42px;
  }

  .hero-search-input {
    font-size: 1.24rem;
    padding: 0.7rem 0.9rem;
  }

  .hero-search-input::placeholder {
    font-size: 1.24rem;
  }

  .hero-search-btn {
    padding: 0.7rem 0.9rem;
    min-width: 35px;
    height: 38px;
  }

  .hero-search-btn i {
    font-size: 0.8rem;
  }
}

.property-feature {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.property-content {
  padding: 1.2rem;
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  gap: 0.6rem;
  height: 100%;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #188f8b;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.property-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #2e2e2e;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.property-location {
  color: #555;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.property-location i {
  color: #188f8b;
  font-size: 0.9rem;
}

.property-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #555;
  flex-wrap: wrap;
}

.property-details span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  padding: 0.2rem 0;
}

.property-details span i {
  color: #188f8b;
  font-size: 0.9rem;
  width: 14px;
  text-align: center;
}

.property-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.amenity {
  background: linear-gradient(135deg, #f0fdfc 0%, #ecfdf5 100%);
  color: #004f4d;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(24, 143, 139, 0.1);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.property-contact-icons {
  position: static;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
}

.contact-icon.whatsapp {
  background: #25d366;
}

.contact-icon.phone {
  background: #007bff;
}

.contact-icon.email {
  background: #6c757d;
}

/* Removed view-details-btn styles */
.removed-view-details-btn {
  display: none;
}

/* Market Opportunities Section */
.market-opportunities {
  padding: 4rem 0;
  background: white;
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.opportunity-card {
  background: #f8fafb;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #e1e5e9;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.opportunity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.opportunity-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.opportunity-icon i {
  font-size: 2rem;
  color: white;
}

.opportunity-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.opportunity-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.opportunity-btn {
  display: inline-block;
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

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

/* Map Section */
.map-section {
  padding: 4rem 0;
  background: #f8fafb;
}

.map-section h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #4a5568;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.map-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Leaflet District Map */
#district-leaflet-map {
  width: 100%;
  height: 480px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

#district-leaflet-map .leaflet-container {
  outline: none !important;
  background: #aad3df !important;
  border-radius: 15px;
  overflow: hidden !important;
}

#district-leaflet-map .leaflet-container:focus,
#district-leaflet-map .leaflet-container *:focus {
  outline: none !important;
}

#district-leaflet-map canvas {
  outline: none !important;
}

.map-static-wrapper {
  display: none;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-static-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.map-static-marker {
  position: absolute;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.map-static-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #004f4d;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.map-static-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: #004f4d;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  padding: 1px 3px;
  margin-top: 2px;
  white-space: nowrap;
  line-height: 1.2;
}

.map-static-marker:active .map-static-dot {
  background: #90be6d;
}

.map-subtitle--mobile {
  display: none;
}

@media (max-width: 768px) {
  #district-leaflet-map {
    display: none;
  }

  .map-static-wrapper {
    display: block;
  }

  .map-subtitle--desktop {
    display: none;
  }

  .map-subtitle--mobile {
    display: block;
  }

  .map-section {
    padding: 2rem 1rem;
  }

  .map-section h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
}

/* AVM Estimator */
.estimator-section {
  padding: 4rem 0;
  background: #f8fafb;
}

.estimator-section h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #333;
}

.estimator-section p {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #666;
}

.avm-form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}

.estimate-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

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

.estimate-result {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-radius: 15px;
  text-align: center;
}

.estimated-value {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.value-details {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: white;
}

.contact-section h3 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h4 {
  margin-bottom: 1rem;
  color: #004f4d;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #555;
}

.contact-item i {
  color: #004f4d;
  width: 20px;
}

.contact-form {
  background: #f8fafb;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #e1e5e9;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Enhanced Property Description Styling */
textarea#property-description {
  width: 100% !important;
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #3b3b3b !important;
  font-weight: 500 !important;
  padding: 20px !important;
  border: 3px solid #e5e5e5 !important;
  border-radius: 15px !important;
  min-height: 180px !important;
  resize: vertical !important;
  transition: all 0.4s ease !important;
  background: #f8f9fa !important;
  box-sizing: border-box !important;
}

textarea#property-description:focus {
  outline: none !important;
  border-color: #004f4d !important;
  box-shadow: 0 0 0 5px rgba(0, 79, 77, 0.15) !important;
  background: white !important;
  transform: scale(1.02) !important;
}

textarea#property-description:hover {
  border-color: #188f8b !important;
  background: #ffffff !important;
}

/* Report Form Textarea Styling - Copy exact styles from Property Description */
textarea#additional-details {
  width: 100% !important;
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #2e2e2e !important;
  font-weight: 500 !important;
  padding: 20px !important;
  border: 3px solid #e5e5e5 !important;
  border-radius: 15px !important;
  min-height: 180px !important;
  resize: vertical !important;
  transition: all 0.4s ease !important;
  background: #f8f9fa !important;
  box-sizing: border-box !important;
}

textarea#additional-details:focus {
  outline: none !important;
  border-color: #004f4d !important;
  box-shadow: 0 0 0 5px rgba(0, 79, 77, 0.15) !important;
  background: white !important;
  transform: scale(1.02) !important;
}

textarea#additional-details:hover {
  border-color: #188f8b !important;
  background: #ffffff !important;
}

textarea#additional-details::placeholder {
  color: #999 !important;
  font-style: italic !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
}

textarea#additional-details:focus::placeholder {
  color: #ccc !important;
  opacity: 0.7 !important;
}

/* Extra hover and focus rules for inline-styled textarea */
textarea[style*="font-size: 1.2rem"]:focus {
  outline: none !important;
  border-color: #004f4d !important;
  box-shadow: 0 0 0 5px rgba(0, 79, 77, 0.15) !important;
  background: white !important;
  transform: scale(1.02) !important;
}

textarea[style*="font-size: 1.2rem"]:hover {
  border-color: #188f8b !important;
  background: #ffffff !important;
}

/* Property Description Label Styling to Match Heading */
.form-group label[for="property-description"] {
  font-size: 1.5rem !important;
  color: #2e2e2e !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  display: block !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
}

/* Enhanced placeholder styling */
textarea#property-description::placeholder {
  color: #999 !important;
  font-style: italic !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
}

textarea#property-description:focus::placeholder {
  color: #ccc !important;
  opacity: 0.7 !important;
}

/* Enhanced checkbox styling with icons */
.checkbox-label i {
  margin-right: 8px;
  color: #188f8b;
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 500 !important;
  color: #2e2e2e !important;
  font-size: 1rem !important;
}

/* Property features grid layout */
.property-features-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-top: 20px !important;
}

@media (max-width: 768px) {
  .property-features-grid {
    grid-template-columns: 1fr !important;
  }
}

.contact-btn {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* Property Detail Styles - Enhanced */
.property-header-enhanced {
  background: transparent !important;
  color: #2e2e2e !important;
  padding: 1rem 0 !important;
  margin-bottom: 3rem !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 0.6rem !important;
}

.property-title-section-enhanced {
  flex: 1;
}

.property-title-mls-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 0 2.5rem !important;
  margin-bottom: 0.3rem !important;
}

.property-title-enhanced {
  font-family: "Inter", sans-serif !important;
  font-size: 2.45rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  line-height: 1.15 !important;
  letter-spacing: 1px !important;
  color: #178884 !important;
  text-shadow: none !important;
  text-transform: none !important;
}

.property-location-enhanced {
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}

.property-price-section-enhanced {
  text-align: left !important;
  flex-shrink: 0 !important;
  margin-left: 0.6rem !important;
  padding-left: 0 !important;
}

.property-price-enhanced {
  font-size: 3.32rem !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  margin-bottom: 0 !important;
  margin-top: 0.2rem !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  display: block !important;
}

.property-mls-number {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  letter-spacing: 0.3px !important;
  margin-top: 0 !important;
  white-space: nowrap !important;
}

.property-type-enhanced {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  padding: 0.4rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive design for enhanced header */
@media (max-width: 768px) {
  .property-header-enhanced {
    flex-direction: column;
    text-align: left;
    padding: 1rem 0;
  }

  .property-title-mls-row {
    flex-direction: column !important;
    gap: 0.2rem !important;
  }

  .property-title-enhanced {
    font-size: 1.6rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1.25 !important;
  }

  .property-price-enhanced {
    font-size: 2.1rem !important;
    letter-spacing: 0.5px !important;
  }

  .property-mls-number {
    font-size: 1.1rem !important;
  }

  .property-price-section-enhanced {
    text-align: left;
    margin-top: 0.5rem;
  }

  .interactive-map-badge {
    margin-left: 0 !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: 0.25rem !important;
  }
}

/* Keep original styles as fallback */
.property-header {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  padding: 2rem 0;
}

.property-breadcrumb {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.property-breadcrumb a {
  color: white;
  text-decoration: none;
}

.property-title-section h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.property-address {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.property-price-large {
  font-size: 3rem;
  font-weight: bold;
}

.property-gallery {
  padding: 2rem 0;
  background: white;
}

.gallery-main {
  margin-bottom: 1rem;
}

.main-image {
  width: 100% !important;
  height: 550px !important;
  object-fit: cover !important;
  background: #f1f5f9;
  border-radius: 12px !important;
  display: block !important;
}

.main-image-container {
  position: relative;
  width: 70%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 79, 77, 0.15);
}

/* Gallery navigation arrows */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

/* Image Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
  background: rgba(24, 143, 139, 0.9);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-nav:hover {
  background: rgba(24, 143, 139, 0.9);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Lightbox Counter */
.lightbox-counter {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 10000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Make images clickable */
.main-image,
.thumbnail-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-image:hover,
.thumbnail-image:hover {
  transform: scale(1.02);
}

.gallery-nav-btn:hover {
  background: rgba(24, 143, 139, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

.gallery-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%);
}

.gallery-thumbnails {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.thumbnail {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.property-details-section {
  padding: 3rem 0;
  background: #f8fafb;
}

.property-main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.property-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.stat-item i {
  color: #004f4d;
  font-size: 1.5rem;
}

.property-description,
.property-features {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.property-features h3,
.property-description h3 {
  margin-bottom: 1rem;
  color: #333;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8fafb;
  border-radius: 8px;
}

.feature-item i {
  color: #004f4d;
}

.property-map {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#property-location-map {
  height: 300px;
  border-radius: 10px;
}

.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-agent,
.mortgage-calculator {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.property-actions {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.agent-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.agent-avatar i {
  font-size: 3rem;
  color: #004f4d;
}

.agent-details h5 {
  margin-bottom: 0.5rem;
}

.inquiry-form .form-group {
  margin-bottom: 1rem;
}

.inquiry-btn {
  background: linear-gradient(135deg, #004f4d 0%, #90be6d 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s ease;
}

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

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid #e1e5e9;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #555;
  margin-bottom: 0.5rem;
}

.action-btn:hover {
  border-color: #004f4d;
  color: #004f4d;
}

.calculate-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s ease;
}

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

.mortgage-result {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border-radius: 8px;
  text-align: center;
}

.monthly-payment {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-amount {
  font-size: 1.2rem;
  font-weight: bold;
  color: #004f4d;
}

.similar-properties {
  padding: 4rem 0;
  background: white;
}

.similar-properties h3 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #333;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Resources Section */
.resources-section {
  padding: 4rem 0;
  background: white;
}

.resources-section h2 {
  text-align: center;
  color: #004f4d;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.resource-card:hover {
  border-color: #188f8b;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(24, 143, 139, 0.15);
}

.resource-card i {
  font-size: 2.5rem;
  color: #ff9500;
  margin-bottom: 1.5rem;
}

.resource-card h3 {
  color: #004f4d;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.resource-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Safety and Fraud Prevention Sections */
.safety-section,
.fraud-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.safety-section h2,
.fraud-section h2 {
  text-align: center;
  color: #004f4d;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.safety-tip {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 79, 77, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.safety-tip:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 79, 77, 0.15);
}

.tip-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #188f8b, #004f4d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.tip-icon i {
  color: white;
  font-size: 1.5rem;
}

.safety-tip h3 {
  color: #004f4d;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.safety-tip p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.fraud-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.warning-box {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 2px solid #ff9500;
  border-radius: 12px;
  padding: 2rem;
}

.warning-box i {
  color: #ff9500;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.warning-box h3 {
  color: #004f4d;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.warning-box ul {
  list-style: none;
  padding: 0;
}

.warning-box li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  line-height: 1.5;
}

.warning-box li::before {
  content: "⚠️";
  position: absolute;
  left: 0;
  top: 0;
}

.warning-box strong {
  color: #004f4d;
}

.prevention-steps {
  background: white;
  border: 2px solid #188f8b;
  border-radius: 12px;
  padding: 2rem;
}

.prevention-steps h3 {
  color: #004f4d;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.prevention-steps ol {
  padding-left: 1.5rem;
}

.prevention-steps li {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px) {
  .fraud-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .safety-section h2,
  .fraud-section h2 {
    font-size: 2rem;
  }
}

/* Footer */
.footer {
  background: #004f4d;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
  color: white;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
  letter-spacing: 0.5px;
}

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

.footer-section p {
  color: white;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: white;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.social-icons a {
  text-decoration: none;
  color: inherit;
}

.social-icons i {
  font-size: 22px;
  color: #bdc3c7;
  transition: all 0.2s ease;
}

.social-icons i:hover {
  color: #ffc922;
}

/* Responsive Design */
@media (max-width: 768px) {
  .property-card {
    flex-direction: column !important;
    height: auto !important;
  }

  .property-card .property-image,
  div.property-card div.property-image {
    width: 100% !important;
    flex: 0 0 auto !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }

  .property-card .property-content,
  html body .property-card .property-content,
  html body div.property-card div.property-content,
  div.property-card div.property-content {
    flex: 0 0 auto !important;
    width: 100% !important;
    padding: 1rem !important;
  }

  /* Allow property titles to wrap on mobile */
  .property-card .property-title,
  .property-content .property-title,
  h4.property-title {
    white-space: normal !important;
    text-overflow: clip !important;
    overflow: visible !important;
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
  }

  /* Adjust price size for mobile */
  .property-card .property-price,
  .property-content .property-price {
    font-size: 1.6rem !important;
  }

  .property-contact-icons {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    margin: 0;
  }

  .properties-grid {
    gap: 1rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .property-main-content {
    grid-template-columns: 1fr;
  }

  .mobile-menu-toggle {
    display: block;
    order: 4;
    margin-left: 8px;
  }

  /* Show nav-right items always on mobile (compact, between logo and hamburger) */
  .nav-right {
    order: 3;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
  }
  .nav-right .currency-selector {
    display: none;
  }

  /* Full-screen overlay — reset desktop transform so it covers the full viewport */
  .nav-links,
  .navbar--centered .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: none !important;
    background: white;
    flex-direction: column;
    padding: 72px 20px 20px;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  /* Keep the header row (logo, sign-in, toggle) above the open menu panel */
  .navbar .nav-brand,
  .navbar .nav-right,
  .navbar .mobile-menu-toggle {
    position: relative;
    z-index: 100;
  }

  /* The header's backdrop-filter makes it the containing block for the
       fixed menu panel, so top/bottom:0 would only span the header bar.
       Drop the blur while the menu is open so the panel covers the viewport. */
  .header:has(.nav-links.mobile-open) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-links a,
  .nav-links .nav-dropdown-btn {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
  }

  /* Make direct nav links match dropdown button styling */
  .nav-links > a {
    display: block;
    color: #333;
    background: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .nav-links .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-links .nav-dropdown-btn {
    display: block;
    color: #333;
    background: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .nav-links .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: #f8f9fa;
    display: none;
  }

  .nav-links .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  .nav-links .currency-selector {
    padding: 1rem;
    width: 100%;
  }

  .nav-links .currency-selector select {
    width: 100%;
  }

  .nav-links .sign-in-btn,
  .nav-links .user-dropdown {
    width: 100%;
    margin: 1rem 0;
  }

  .nav-links .sign-in-btn {
    justify-content: center;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .property-price-large {
    font-size: 2rem;
  }

  .main-image {
    height: 300px;
  }

  .property-stats {
    grid-template-columns: 1fr;
  }
}

/* Loading and Error States */
.loading {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.error {
  background: linear-gradient(135deg, #ff6b6b, #e55555);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin: 1rem 0;
  border: none;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
  font-size: 1.1rem;
  font-weight: 500;
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  min-width: min(400px, calc(100vw - 32px));
  max-width: 600px;
  text-align: center;
  animation: slideInDown 0.5s ease-out;
  backdrop-filter: blur(10px);
}

/* Photo Gallery Styles for Development Cards */
.property-image-gallery {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 79, 77, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 79, 77, 0.3);
}

.gallery-nav-btn:hover {
  background: #004f4d;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 79, 77, 0.4);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.gallery-dot.active {
  background: #90be6d;
  border-color: white;
  transform: scale(1.2);
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.success {
  background: linear-gradient(135deg, #90be6d, #7fb069);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin: 1rem 0;
  border: none;
  box-shadow: 0 8px 32px rgba(144, 190, 109, 0.3);
  font-size: 1.1rem;
  font-weight: 500;
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  min-width: min(400px, calc(100vw - 32px));
  max-width: 600px;
  text-align: center;
  animation: slideInDown 0.5s ease-out;
  backdrop-filter: blur(10px);
}

/* Success/Error Banner Animation */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Animation for property cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Active Navigation Link */
.nav-links a.active {
  color: #188f8b;
  font-weight: 600;
}

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

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #004f4d 0%, #004f4d 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 6rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
  font-weight: 600;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Properties Section */
.properties-section {
  padding: 4rem 0;
  background: #f8fafc;
}

/* Enhanced Amenities Checkbox Styling */
.checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 20px !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow:
    0 2px 8px rgba(0, 79, 77, 0.08),
    0 1px 3px rgba(0, 79, 77, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
  font-weight: 500 !important;
  color: #2e2e2e !important;
}

.checkbox-label:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 8px 24px rgba(0, 79, 77, 0.15),
    0 4px 8px rgba(0, 79, 77, 0.1) !important;
  border-color: #90be6d !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
}

.checkbox-label::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, #004f4d, #90be6d) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: -1 !important;
}

.checkbox-label:has(input:checked) {
  background: linear-gradient(135deg, #004f4d 0%, #00635f 100%) !important;
  color: white !important;
  border-color: #004f4d !important;
  box-shadow:
    0 4px 16px rgba(0, 79, 77, 0.25),
    0 2px 6px rgba(0, 79, 77, 0.15) !important;
  transform: translateY(-1px) !important;
}

.checkbox-label:has(input:checked):hover {
  box-shadow:
    0 8px 28px rgba(0, 79, 77, 0.3),
    0 4px 10px rgba(0, 79, 77, 0.2) !important;
  transform: translateY(-3px) !important;
}

.checkbox-label input[type="checkbox"] {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 6px !important;
  background: white !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: #90be6d !important;
  box-shadow: 0 0 0 3px rgba(144, 190, 109, 0.1) !important;
}

.checkbox-label input[type="checkbox"]:checked {
  background: white !important;
  border-color: white !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "✓" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #004f4d !important;
  font-size: 14px !important;
  font-weight: bold !important;
}

.checkbox-label i {
  font-size: 18px !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.checkbox-label:has(input:checked) i {
  color: #90be6d !important;
  transform: scale(1.1) !important;
}

.checkbox-label:not(:has(input:checked)) i {
  color: #004f4d !important;
}

.checkbox-label:hover i {
  transform: scale(1.05) !important;
}

/* Enhanced grid layout for amenities */
.property-features-grid,
div[style*="grid-template-columns: repeat(2, 1fr)"] {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-top: 24px !important;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .property-features-grid,
  div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .checkbox-label {
    padding: 14px 18px !important;
  }
}

/* Focus states for accessibility */
.checkbox-label input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.2) !important;
}

.checkbox-label:focus-within {
  border-color: #004f4d !important;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1) !important;
}

/* Rental Info Cards */
.rental-info {
  padding: 4rem 0;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: #f8fafc;
  border: 1px solid #e1e5e9;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #90be6d 0%, #90be6d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.info-icon i {
  font-size: 1.5rem;
  color: white;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.info-card p {
  color: #666;
  line-height: 1.6;
}

/* Rental Badge */
.rental-badge {
  background: #28a745 !important;
}

/* Selling Process */
.selling-process {
  padding: 4rem 0;
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #90be6d 0%, #90be6d 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2e2e2e;
}

.step-content p {
  color: #666;
  line-height: 1.6;
}

/* Valuation Section */
.valuation-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.valuation-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.valuation-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.valuation-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Agent Services */
.agent-services {
  padding: 4rem 0;
  background: white;
}

/* Agents Section */
.agents-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.agent-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.agent-image {
  width: 90px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.agent-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2e2e2e;
}

.agent-title {
  font-weight: 600;
  color: #90be6d;
  margin-bottom: 0.5rem;
}

.agent-speciality {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.agent-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #666;
}

.agent-contact {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.contact-btn {
  background: #ff6b6b;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: #0052a3;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: #f8fafc;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: white;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.pricing-card.featured {
  border: 2px solid #188f8b;
  transform: scale(1.05);
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-header h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #188f8b;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.plan-badge {
  background: #ff6b6b;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.5rem 0;
  color: #666;
}

.plan-features i {
  color: #28a745;
  margin-right: 0.5rem;
}

.plan-btn {
  width: 100%;
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.plan-btn:hover {
  background: #0052a3;
}

.featured-btn {
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
}

/* Submission Section */
.submission-section {
  padding: 4rem 0;
  background: white;
}

.submission-card {
  max-width: 900px;
  margin: 0 auto;
  background: #f8fafc;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.submission-card h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.submission-card > p {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.form-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e1e5e9;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
}

.form-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #2e2e2e;
  font-weight: 600;
}

/* Contact Section Updates */
.contact-section {
  padding: 4rem 0;
  background: white;
}

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  background: #f8fafc;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-card h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.contact-card > p {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Dashboard Styles */
.dashboard-header {
  background: linear-gradient(135deg, #2e2e2e 0%, #333 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.dashboard-header i {
  margin-right: 1rem;
}

.dashboard-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Dashboard Stats */
.dashboard-stats {
  padding: 3rem 0;
  background: #f8fafc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-left: 4px solid #188f8b;
}

.stat-card.new {
  border-left-color: #28a745;
}

.stat-card.contacted {
  border-left-color: #ffc107;
}

.stat-card.converted {
  border-left-color: #17a2b8;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-card.new .stat-icon {
  background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.stat-card.contacted .stat-icon {
  background: linear-gradient(135deg, #ffc107 0%, #ffcd3c 100%);
}

.stat-card.converted .stat-icon {
  background: linear-gradient(135deg, #17a2b8 0%, #20c2e0 100%);
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2e2e2e;
}

.stat-content p {
  color: #666;
  font-weight: 500;
  margin: 0;
}

/* Lead Management */
.lead-management {
  padding: 4rem 0;
  background: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #2e2e2e;
  font-weight: 600;
  margin: 0;
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
}

.action-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn:hover {
  background: #0052a3;
}

.action-btn.primary {
  background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.action-btn.primary:hover {
  background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

/* Lead Filters */
.lead-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 10px;
}

.filter-group {
  flex: 1;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Leads Table */
.leads-table-container {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
}

.leads-table th,
.leads-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e1e5e9;
}

.leads-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #2e2e2e;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leads-table tbody tr:hover {
  background: #f8fafc;
}

.lead-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lead-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #90be6d 0%, #90be6d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.lead-details strong {
  display: block;
  color: #2e2e2e;
  margin-bottom: 0.25rem;
}

.lead-details small {
  color: #666;
  font-size: 0.8rem;
}

.contact-info div {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: #666;
}

.contact-info i {
  width: 15px;
  margin-right: 0.5rem;
}

.budget {
  font-weight: 600;
  color: #90be6d;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-badge.buying {
  background: #e3f2fd;
  color: #1976d2;
}

.service-badge.selling {
  background: #fff3e0;
  color: #f57c00;
}

.service-badge.renting {
  background: #e8f5e8;
  color: #388e3c;
}

.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.new {
  background: #e8f5e8;
  color: #2e7d32;
}

.status-badge.contacted {
  background: #fff8e1;
  color: #f57c00;
}

.status-badge.meeting-scheduled {
  background: #e3f2fd;
  color: #1976d2;
}

.status-badge.converted {
  background: #e0f2f1;
  color: #00695c;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-action {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: #f8fafc;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-action:hover {
  background: #ff6b6b;
  color: white;
}

.btn-action.delete:hover {
  background: #dc3545;
  color: white;
}

/* Quick Actions */
.quick-actions {
  padding: 4rem 0;
  background: #f8fafc;
}

.quick-actions h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #2e2e2e;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.action-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.action-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.action-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.action-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.action-card-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.action-card-btn:hover {
  background: #0052a3;
}

/* Authentication Required Styles */
.auth-required-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid #f0f9ff;
}

.auth-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #188f8b 0%, #188f8b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
}

.auth-required-card h2 {
  font-size: 2.2rem;
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.auth-required-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.auth-benefits {
  background: #f8fafc;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.auth-benefits h3 {
  font-size: 1.3rem;
  color: #2e2e2e;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-benefits ul {
  list-style: none;
  padding: 0;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #555;
}

.auth-benefits li i {
  color: #90be6d;
  margin-right: 1rem;
  font-size: 1.1rem;
}

.auth-actions {
  text-align: center;
  margin-top: 2rem;
}

.sign-in-btn-large {
  background: linear-gradient(135deg, #ff9800 0%, #ff9800 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  border: none;
}

.sign-in-btn-large:hover {
  transform: translateY(-2px);
  background: #ffb74d;
  box-shadow: 0 6px 20px rgba(255, 183, 77, 0.4);
}

.auth-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}

/* Find a Professional Section */
.find-professional {
  padding: 4rem 0;
  background: #f8fafc;
}

.find-professional h2 {
  text-align: center;
  font-size: 0;
  margin-bottom: 1rem;
  color: #4a5568;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.find-professional h2::after {
  display: none;
}

.find-professional h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.professional-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.professional-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.toggle-btn {
  background: white;
  border: 2px solid #e5e5e5;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
}

.toggle-btn:hover {
  border-color: #90be6d;
  color: #004f4d;
}

.toggle-btn.active {
  background: linear-gradient(135deg, #004f4d 0%, #90be6d 100%);
  border-color: #004f4d;
  color: white;
}

.professional-content {
  position: relative;
}

.professional-panel {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.professional-panel.active {
  display: block;
}

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

.professional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.professional-card {
  background: white;
  border-radius: 15px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #e5e7eb;
}

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

.professional-icon {
  width: 60px;
  height: 60px;
  background: #188f8b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.professional-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.professional-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.professional-btn {
  background: #6b7280;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.professional-btn:hover {
  background: #4a5568;
  color: white;
  text-decoration: none;
}

.professional-btn i {
  color: white;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .dashboard-actions {
    justify-content: center;
  }

  .lead-filters {
    flex-direction: column;
  }

  .leads-table-container {
    overflow-x: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .auth-required-card {
    padding: 2rem;
    margin: 1rem;
  }

  .auth-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .auth-required-card h2 {
    font-size: 1.8rem;
  }

  .sign-in-btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .professional-toggle {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .toggle-btn {
    width: 100%;
    max-width: 250px;
  }

  .professional-grid {
    grid-template-columns: 1fr;
  }

  .professional-card {
    padding: 1.65rem;
  }

  .professional-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Report Page Styles */
.safety-info {
  padding: 4rem 0;
  background: white;
}

.info-card.urgent {
  border-left: 4px solid #dc3545;
}

.info-card.urgent .info-icon {
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

/* Warning Signs */
.warning-signs {
  padding: 4rem 0;
  background: #f8fafc;
}

.warning-signs h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #2e2e2e;
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.warning-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #ffc107;
}

.warning-item i {
  font-size: 2rem;
  color: #ffc107;
  margin-bottom: 1rem;
}

.warning-item h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.warning-item p {
  color: #666;
  line-height: 1.6;
}

/* Report Section */
.report-section {
  padding: 4rem 0;
  background: white;
}

.report-card {
  max-width: 900px;
  margin: 0 auto;
  background: #f8fafc;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.report-card h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.report-card > p {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.report-form {
  max-width: 100%;
}

.form-note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.form-disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem 0;
}

.form-disclaimer p {
  margin: 0;
  color: #856404;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-disclaimer i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Report Result */
.report-result {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 15px;
  border: 2px solid #28a745;
}

.report-result i {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 2rem;
}

.result-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.result-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.secondary-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.secondary-btn:hover {
  background: #5a6268;
}

.primary-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.primary-btn:hover {
  background: #0052a3;
}

/* Support Section */
.support-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.support-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.support-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.support-card p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.support-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-btn {
  background: #dc3545;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: background 0.3s ease;
}

.support-btn:hover {
  background: #c82333;
  color: white;
}

.support-btn i {
  font-size: 1.2rem;
}

/* More Filters Dropdown */
.more-filters-section {
  margin-top: 1.5rem;
  position: relative;
}

.more-filters-btn {
  background: linear-gradient(135deg, #188f8b 0%, #20a39e 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(24, 143, 139, 0.2);
}

.more-filters-btn:hover {
  background: linear-gradient(135deg, #166b68 0%, #1a8b87 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(24, 143, 139, 0.3);
}

.filter-arrow {
  transition: transform 0.3s ease;
}

.filter-arrow.rotated {
  transform: rotate(180deg);
}

.more-filters-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.more-filters-dropdown.show {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.filter-options {
  padding: 1.5rem;
}

.filter-group h4 {
  color: #2e2e2e;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s ease;
  position: relative;
}

.filter-checkbox:hover {
  background: #f8fafc;
}

.filter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 18px;
  height: 18px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.filter-checkbox input:checked + .checkmark {
  background: #188f8b;
  border-color: #188f8b;
}

.filter-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox i {
  color: #188f8b;
  font-size: 1rem;
}

.filter-checkbox span:last-child {
  color: #2e2e2e;
  font-weight: 500;
}

.filter-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.clear-filters-btn,
.apply-filters-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
}

.clear-filters-btn {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.clear-filters-btn:hover {
  background: #e9ecef;
  color: #495057;
}

.apply-filters-btn {
  background: linear-gradient(135deg, #188f8b 0%, #20a39e 100%);
  color: white;
}

.apply-filters-btn:hover {
  background: linear-gradient(135deg, #166b68 0%, #1a8b87 100%);
  transform: translateY(-1px);
}

/* Responsive Report Page */
@media (max-width: 768px) {
  .warning-grid {
    grid-template-columns: 1fr;
  }

  .support-contacts {
    flex-direction: column;
  }

  .report-card {
    padding: 2rem;
    margin: 0 1rem;
  }

  .warning-signs {
    padding: 2rem 0;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    flex-direction: column;
  }

  .more-filters-dropdown {
    left: -1rem;
    right: -1rem;
  }
}

/* District Modal Styles */
.district-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.district-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 79, 77, 0.25);
  transition: transform 0.2s ease;
}

.district-modal.show .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #e1e5e9;
}

.modal-header h3 {
  margin: 0;
  color: #004f4d;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #004f4d;
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.district-facts h4,
.popular-properties h4 {
  color: #004f4d;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.district-facts ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.district-facts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  line-height: 1.6;
}

.district-facts li:last-child {
  border-bottom: none;
}

.district-facts li::before {
  content: "•";
  color: #188f8b;
  font-weight: bold;
  margin-right: 0.75rem;
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.property-tag {
  background: linear-gradient(135deg, #90be6d 0%, #7ba85d 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e1e5e9;
}

.modal-actions .action-btn {
  flex: 1;
  display: inline-block;
  text-align: center;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-actions .action-btn.primary {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
}

.modal-actions .action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 79, 77, 0.3);
}

.modal-actions .action-btn:not(.primary) {
  background: #f8fafc;
  color: #004f4d;
  border: 1px solid #e1e5e9;
}

.modal-actions .action-btn:not(.primary):hover {
  background: #004f4d;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* Map Popup Styles */
.map-popup {
  text-align: center;
  padding: 8px;
}

.map-popup h4 {
  color: #004f4d;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}

.map-popup p {
  color: #666;
  font-size: 12px;
  margin: 2px 0;
}

.map-popup a {
  color: #90be6d;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
}

.map-popup a:hover {
  color: #ff6b6b;
}

/* Modern Professional Directory Styles */
.professionals-page {
  background: #f9f9f9;
  min-height: calc(100vh - 80px);
}

/* Professional Header */
.professionals-header {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.professionals-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.professionals-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Section */
.filter-section {
  padding: 40px 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.filter-card h3 {
  color: #004f4d;
  margin-bottom: 25px;
  font-size: 1.4rem;
  font-weight: 600;
}

.professional-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  color: #2e2e2e;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.filter-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  color: #2e2e2e;
  transition: border-color 0.3s ease;
}

.filter-group select:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.filter-actions {
  display: flex;
  gap: 15px;
  align-items: end;
}

.btn-filter,
.btn-clear {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-filter {
  background: #004f4d;
  color: white;
}

.btn-filter:hover {
  background: #188f8b;
  transform: translateY(-1px);
}

.btn-clear {
  background: #e5e5e5;
  color: #666;
}

.btn-clear:hover {
  background: #d5d5d5;
  color: #333;
}

/* Professionals Grid */
.professionals-grid {
  padding: 60px 0;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.results-header h2 {
  color: #2e2e2e;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.active-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tag {
  background: #004f4d;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.professionals-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 30px;
  align-items: start;
}

/* Professional Cards */
.professional-card {
  background: white;
  border-radius: 16px;
  padding: 33px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
}

.professional-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.professional-image {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.profile-img {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #f0f0f0;
}

.default-avatar {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #004f4d, #188f8b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 2rem;
}

.verified-badge {
  position: absolute;
  top: -5px;
  right: calc(50% - 55px);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f2937;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.verified-badge i {
  font-size: 0.8rem;
  color: #1f2937;
}

.professional-info {
  text-align: center;
}

.professional-name {
  color: #2e2e2e;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.business-name {
  color: #666;
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.category-tag {
  background: #004f4d;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.specialty {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-style: italic;
}

/* Contact Information */
.contact-info {
  margin: 25px 0;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: rgba(248, 249, 250, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(233, 236, 239, 0.6);
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background: #e8f4f8;
}

.contact-item i {
  color: #004f4d;
  width: 16px;
  font-size: 0.95rem;
}

.contact-item a,
.contact-item span {
  color: #2e2e2e;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  flex: 1;
}

.contact-item a:hover {
  color: #004f4d;
}

/* Force contact item backgrounds on business cards */
.contact-info-large .contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  padding: 12px 16px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  border: 1px solid #e9ecef !important;
}

.contact-info-large .contact-item span {
  color: #333 !important;
  font-weight: 500 !important;
}

.contact-info-large .contact-item i {
  color: #188f8b !important;
  width: 20px !important;
}

/* Professional Meta */
.professional-meta {
  margin: 20px 0;
  text-align: center;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}

.rating i {
  color: #ffd700;
  font-size: 0.9rem;
}

.rating-text {
  color: #666;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 8px;
}

.review-count {
  color: #999;
  font-size: 0.85rem;
}

.experience {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Services Tags */
.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.service-tag {
  background: #f0f8ff;
  color: #004f4d;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e0f0ff;
}

.service-tag.more {
  background: #e8e8e8;
  color: #666;
}

/* Professional Actions */
.professional-actions {
  margin-top: 25px;
}

.btn-contact {
  width: 100%;
  background: #004f4d;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-contact:hover {
  background: #188f8b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

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

/* No Results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  border: 2px dashed #e0e0e0;
}

.no-results-icon {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 20px;
}

.no-results h3 {
  color: #666;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.no-results p {
  color: #999;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* Contact Modal & Email Alerts Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: white;
  margin: 8% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: slideInUp 0.4s ease-out;
  overflow: hidden;
}

.modal h2 {
  color: #2e2e2e;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.modal p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal .close:hover {
  color: #333;
}

.modal-content > * {
  padding: 0 30px;
}

.modal-content > .close {
  padding: 15px 20px 5px 5px;
}

.modal-content form {
  padding: 30px;
  padding-top: 0;
}

.modal .form-group {
  margin-bottom: 20px;
}

.modal label {
  display: block;
  color: #2e2e2e;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.modal input,
.modal textarea,
.modal select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  color: #2e2e2e;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: white;
}

.modal input:focus,
.modal textarea:focus,
.modal select:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.modal input::placeholder {
  color: #aaa;
  font-style: italic;
}

.modal textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  padding: 0 30px 30px 30px;
}

.modal button {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.modal .btn-cancel,
.modal button[type="button"] {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.modal .btn-cancel:hover,
.modal button[type="button"]:hover {
  background: #e8e8e8;
  color: #333;
}

.modal .btn-send,
.modal button[type="submit"],
.modal button.btn-primary {
  background: #004f4d;
  color: white;
}

.modal .btn-send:hover,
.modal button[type="submit"]:hover,
.modal button.btn-primary:hover {
  background: #188f8b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 79, 77, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .professionals-header h1 {
    font-size: 2.2rem;
  }

  .professionals-header p {
    font-size: 1rem;
  }

  .professional-filters {
    flex-direction: column;
    gap: 20px;
  }

  .filter-group {
    min-width: auto;
  }

  .filter-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-filter,
  .btn-clear {
    width: 100%;
  }

  .professionals-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .professional-card {
    padding: 22px;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .results-header h2 {
    font-size: 1.5rem;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header,
  .modal-body {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* Professional Directory Styles */
.page-header {
  background: linear-gradient(135deg, #004f4d 0%, #004f4d 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Filters Section */
.filters-section {
  background: #f9f9f9;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.filters-container {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filters-container h3 {
  color: #188f8b;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.filter-group label {
  color: #2e2e2e;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.filter-group select {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-group select:focus {
  outline: none;
  border-color: #188f8b;
  box-shadow: 0 0 0 3px rgba(24, 143, 139, 0.1);
}

.filter-group .btn {
  margin-right: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #188f8b;
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #166b68;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e0e0e0;
  color: #2e2e2e;
}

.btn-secondary:hover {
  background: #d0d0d0;
}

/* Results Section */
.results-section {
  padding: 60px 0;
}

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

.results-header h2 {
  color: #004f4d;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.active-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tag {
  background: #90be6d;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Featured Section */
.featured-section {
  margin-bottom: 60px;
}

.featured-section h3 {
  color: #004f4d;
  font-size: 1.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Professionals Grid */
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Professional Card */
.professional-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #e0e0e0;
}

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

.professional-card.featured {
  border: 2px solid #ff6b6b;
  background: linear-gradient(135deg, #ffffff, #fff8f8);
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: #ff6b6b;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Professional Header */
.professional-header {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: start;
}

.professional-image {
  flex-shrink: 0;
}

.professional-image img {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #f0f0f0;
}

.professional-info h3 {
  color: #004f4d;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.professional-info h4 {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.professional-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  background: #004f4d;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.specialty-tag {
  background: #90be6d;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Professional Details */
.professional-details {
  margin-bottom: 20px;
}

.rating-section {
  margin-bottom: 15px;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-stars i {
  color: #ffd700;
  font-size: 1rem;
}

.rating-text {
  color: #666;
  font-size: 0.9rem;
  margin-left: 8px;
}

.experience-section,
.location-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #666;
  font-size: 0.9rem;
}

.experience-section i,
.location-section i {
  color: #90be6d;
  width: 16px;
}

.bio-section {
  margin: 15px 0;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid #90be6d;
}

.bio-section p {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
  margin: 0;
}

.services-section,
.certifications-section {
  margin: 15px 0;
}

.services-section h5,
.certifications-section h5 {
  color: #004f4d;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.services-list,
.certifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  background: #e8f4fd;
  color: #004f4d;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  border: 1px solid #d0e7f7;
}

.cert-tag {
  background: #f0f8f0;
  color: #2d5d31;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  border: 1px solid #c8e6c9;
}

.more-services,
.more-certs {
  color: #666;
  font-size: 0.8rem;
  font-style: italic;
  padding: 4px 8px;
}

/* Professional Actions */
.professional-actions {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.phone-btn {
  background: #e8f5e8;
  color: #2d5d31;
  border-color: #c8e6c9;
}

.phone-btn:hover {
  background: #2d5d31;
  color: white;
}

.email-btn {
  background: #e8f4fd;
  color: #004f4d;
  border-color: #d0e7f7;
}

.email-btn:hover {
  background: #004f4d;
  color: white;
}

.website-btn {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffe0b2;
}

.website-btn:hover {
  background: #e65100;
  color: white;
}

/* Categories Overview */
.categories-overview {
  background: #f9f9f9;
  padding: 60px 0;
  margin-top: 60px;
}

.categories-overview h2 {
  color: #004f4d;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.category-link {
  display: block;
  padding: 25px 20px;
  text-decoration: none;
  text-align: center;
  color: inherit;
}

.category-icon {
  margin-bottom: 15px;
}

.category-icon i {
  font-size: 2rem;
  color: #90be6d;
}

.category-card h4 {
  color: #004f4d;
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.category-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 20px;
}

.no-results-content i {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.no-results-content h3 {
  color: #666;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.no-results-content p {
  color: #999;
  font-size: 1rem;
}

.no-results-content a {
  color: #90be6d;
  text-decoration: none;
  font-weight: 500;
}

.no-results-content a:hover {
  color: #004f4d;
}

/* All Professionals Section */
.all-professionals-section h3 {
  color: #004f4d;
  font-size: 1.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    min-width: auto;
  }

  .professionals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .professional-header {
    flex-direction: column;
    text-align: center;
  }

  .professional-image img {
    width: 60px;
    height: 60px;
  }

  .contact-info {
    justify-content: center;
  }

  .contact-btn {
    flex: 1;
    justify-content: center;
    min-width: 100px;
  }
}

/* Property Alerts Page Styles */
.alerts-page {
  background-color: #f8f9fa;
  min-height: 100vh;
  padding: 0;
}

.create-alert-section {
  margin: 40px 0;
}

.alert-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.alert-card h2 {
  color: #004f4d;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.alert-card p {
  color: #666;
  margin-bottom: 25px;
}

.alert-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.alert-form .form-group {
  display: flex;
  flex-direction: column;
}

.alert-form label {
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}

.alert-form input,
.alert-form select {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.alert-form input:focus,
.alert-form select:focus {
  border-color: #004f4d;
  outline: none;
}

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

.feature-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.feature-checkbox:hover {
  border-color: #004f4d;
  background-color: #f8f9f9;
}

.feature-checkbox input:checked + i {
  color: #004f4d;
}

.feature-checkbox input:checked {
  accent-color: #004f4d;
}

.create-alert-btn {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}

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

.existing-alerts-section h2 {
  color: #004f4d;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.alerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 20px;
}

.alert-item {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.alert-item:hover {
  transform: translateY(-2px);
}

.alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.alert-header h3 {
  color: #004f4d;
  margin: 0;
  font-size: 1.2rem;
}

.status-active {
  background: #d4edda;
  color: #155724;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-inactive {
  background: #f8d7da;
  color: #721c24;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.alert-criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.criteria-item {
  background: #f8f9fa;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.alert-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #666;
}

.stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.btn-pause,
.btn-resume,
.btn-delete {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-pause,
.btn-resume {
  background: #007bff;
  color: white;
}

.btn-pause:hover,
.btn-resume:hover {
  background: #0056b3;
}

.btn-delete {
  background: #dc3545;
  color: white;
}

.btn-delete:hover {
  background: #c82333;
}

.no-alerts {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-alerts i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.no-alerts h3 {
  color: #333;
  margin-bottom: 10px;
}

.save-search-alert-btn {
  background: #ff9500;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  width: auto;
  min-width: 150px;
  box-shadow: 0 4px 20px rgba(255, 149, 0, 0.3);
}

.save-search-alert-btn:hover {
  background: #e5851a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 149, 0, 0.4);
}

#message-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

/* Sign In Required Modal Styling */
.sign-in-modal {
  text-align: center;
  max-width: 450px;
  padding: 40px 30px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sign-in-modal .modal-icon {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(0, 79, 77, 0.3);
}

.sign-in-modal h2 {
  color: #004f4d;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.sign-in-modal p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.sign-in-modal .modal-subtitle {
  color: #888;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 30px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.modal-actions .btn-cancel {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.modal-actions .btn-cancel:hover {
  background: #e8e8e8;
  color: #555;
  border-color: #ccc;
}

.modal-actions .btn-primary {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 79, 77, 0.2);
}

.modal-actions .btn-primary:hover {
  background: linear-gradient(135deg, #003b39, #156f6d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 79, 77, 0.3);
}

.sign-in-modal .close {
  color: #999;
  font-size: 1.5rem;
  font-weight: 300;
  transition: color 0.3s ease;
}

.sign-in-modal .close:hover {
  color: #004f4d;
}

/* Sort Filter Section */
.sort-filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 30px 0;
  padding: 15px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.sort-info .property-count {
  color: #004f4d;
  font-weight: 600;
  font-size: 1.1rem;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-by-label {
  font-weight: 600;
  color: #2e2e2e;
  font-size: 0.875rem;
  white-space: nowrap;
}
.sort-dd-wrap {
  position: relative;
}
.sort-trigger {
  min-width: 200px;
  width: auto !important;
  padding: 10px 2.5rem 10px 1rem !important;
  font-size: 0.9rem !important;
}
.sort-dd-panel {
  min-width: 200px;
  right: 0;
  left: auto;
}

/* ── Bed/Bath custom dropdowns inside More Filters panel ── */
.bb-dd-wrap {
  position: relative;
  width: 100%;
}
.bb-trigger {
  width: 100%;
  justify-content: space-between;
}
.bb-dd-panel {
  min-width: 110px;
  z-index: 10000;
}

/* ── More Filters: pill-style feature toggles ── */
.filter-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  margin: 10px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.filter-section-title:first-child {
  margin-top: 4px;
}
.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f4f6f8;
  border: 1.5px solid transparent;
  font-size: 13px;
  font-family: inherit;
  color: #2e2e2e;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
  line-height: 1.3;
}
.filter-pill:hover {
  background: #e9f7f5;
  border-color: #90be6d;
}
.filter-pill.active {
  background: #00c2a8;
  color: #fff;
  border-color: #00c2a8;
  box-shadow: 0 6px 14px rgba(0, 194, 168, 0.25);
  transform: scale(1.02);
}
.filter-pill i {
  color: #004f4d;
  font-size: 13px;
  flex-shrink: 0;
}
.filter-pill.active i {
  color: #fff;
  opacity: 0.85;
}

/* ── More Filters: secondary section blocks ── */
.mf-secondary-block {
  transition: opacity 0.15s ease;
}
.pill-filters-container + .mf-secondary-block,
.mf-secondary-block + .mf-secondary-block {
  border-top: 1px solid #f1f3f5;
  padding-top: 12px;
  margin-top: 4px;
}

/* ── More Filters: active filter count label ── */
.mf-filter-count {
  font-size: 12px;
  font-weight: 600;
  color: #00c2a8;
  margin-bottom: 10px;
  display: none;
}

/* ── More Filters: Broker multi-select ── */
.broker-ms-group {
  flex: 1 1 100%;
  width: 100%;
}
.ms-wrap {
  position: relative;
  width: 100%;
}
.ms-trigger {
  width: 100%;
  justify-content: space-between;
}
.ms-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 260px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  z-index: 10001;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.ms-panel.open {
  display: flex;
}
.ms-search {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #2e2e2e;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  background: #fafafa;
}
.ms-search::placeholder {
  color: #9ca3af;
}
.ms-options {
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 0;
}
.ms-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #2e2e2e;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s;
}
.ms-option:hover {
  background: #f3f4f6;
}
.ms-option input[type="checkbox"] {
  accent-color: #004f4d;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.ms-option span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-loading,
.ms-empty {
  padding: 14px;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* ── More Filters: Property Size ── */
.size-filter-group {
  flex: 1 1 100%;
  width: 100%;
}
.size-custom-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
}
.size-custom-input {
  flex: 1;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #2e2e2e;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.size-custom-input:focus {
  border-color: #004f4d;
}
.size-custom-done {
  background: #004f4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.size-custom-done:hover {
  background: #003e3c;
}

/* ── More Filters: footer (Clear + Search count) ── */
.mf-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
.mf-clear-btn {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.mf-clear-btn:hover {
  color: #00c2a8;
}
.mf-search-btn {
  background: #00c2a8;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}
.mf-search-btn:hover {
  background: #00a892;
}
.mf-search-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

/* Responsive Sort Filter */
@media (max-width: 768px) {
  .sort-filter-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .sort-controls {
    flex-direction: column;
    gap: 8px;
  }
  .sort-trigger {
    min-width: 200px;
  }
}

.message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design for Alerts */
@media (max-width: 768px) {
  .alert-form .form-row {
    grid-template-columns: 1fr;
  }

  .alerts-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .alert-actions {
    flex-direction: column;
  }

  .alert-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Property Alerts Page Styling */
.alerts-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  min-height: calc(100vh - 120px);
}

.alerts-header {
  text-align: center;
  margin-bottom: 3rem;
}

.alerts-header h1 {
  font-size: 2.5rem;
  color: #2e2e2e;
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.alerts-header .alert-icon {
  font-size: 2rem;
  color: #ff9500;
  margin-right: 1rem;
  vertical-align: middle;
}

.alerts-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Alert Creation Section */
.alert-creation-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  border: 1px solid rgba(0, 79, 77, 0.1);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0rem !important;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.section-header h2 {
  font-size: 1.8rem;
  color: #2e2e2e;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 !important;
  padding-left: 15px !important;
}

.section-header .section-icon {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.alert-form-heading {
  font-size: 1.8rem;
  color: #2e2e2e;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.alert-form-heading i {
  color: #004f4d;
  margin-right: 0.5rem;
}

.section-description {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Developments Page Styles */
.developments-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  min-height: calc(100vh - 120px);
}

/* Developments page header - match Buy/Rent theme */
.developments-container .page-header {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.developments-container .page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
  color: white;
}

.developments-container .page-header p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
}

/* User Dropdown Styles */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-btn {
  background: none;
  border: none;
  color: #004f4d;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.user-dropdown-btn:hover {
  background-color: rgba(0, 79, 77, 0.1);
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  z-index: 1000;
  padding: 0.5rem 0;
}

.user-dropdown-menu.show {
  display: block;
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #2e2e2e;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.user-dropdown-menu a:hover {
  background-color: #f9f9f9;
}

.user-dropdown-menu a.active {
  background-color: rgba(0, 79, 77, 0.1);
  color: #004f4d;
}

.user-dropdown-menu i {
  width: 16px;
  color: #004f4d;
}

.dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.5rem 0;
}

.logout-link {
  color: #dc2626 !important;
}

.logout-link i {
  color: #dc2626 !important;
}

/* User Settings Page Styles */
.user-settings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  min-height: calc(100vh - 120px);
}

.settings-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.settings-sidebar {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
}

.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.settings-nav-item:hover {
  background-color: rgba(0, 79, 77, 0.1);
  color: #004f4d;
}

.settings-nav-item.active {
  background-color: #004f4d;
  color: white;
}

.settings-nav-item i {
  width: 16px;
}

.settings-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
}

.settings-section {
  display: none;
}

.settings-section.active {
  display: block;
}

.settings-card h2 {
  color: #004f4d;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-group h3 {
  color: #2e2e2e;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #004f4d;
}

.privacy-info {
  margin-bottom: 2rem;
}

.privacy-info ul {
  margin-left: 1.5rem;
  color: #6b7280;
}

.privacy-actions {
  display: flex;
  gap: 1rem;
}

.btn-danger {
  background-color: #dc2626;
  color: white;
  border: 1px solid #dc2626;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

/* User Listings Page Styles */
.user-listings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  min-height: calc(100vh - 120px);
}

.listings-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card i {
  font-size: 2rem;
  color: #004f4d;
}

.stat-info h3 {
  font-size: 2rem;
  color: #2e2e2e;
  margin: 0;
}

.stat-info p {
  color: #6b7280;
  margin: 0;
}

.listings-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.listing-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  transition: transform 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
}

.listing-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 2rem;
}

.listing-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-active {
  background: #10b981;
  color: white;
}

.status-inactive {
  background: #6b7280;
  color: white;
}

.status-pending {
  background: #f59e0b;
  color: white;
}

.listing-details {
  padding: 1.5rem;
}

.listing-details h3 {
  color: #2e2e2e;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.listing-location {
  color: #6b7280;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.listing-price {
  color: #004f4d;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.listing-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.listing-specs span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.listing-metrics {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.listing-metrics span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.listing-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.listing-actions .btn-secondary,
.listing-actions .btn-primary,
.listing-actions .btn-status,
.listing-actions .btn-danger {
  flex: 1;
  min-width: auto;
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.btn-status {
  background-color: #f59e0b;
  color: white;
  border: 1px solid #f59e0b;
}

.btn-status:hover {
  background-color: #d97706;
}

.no-listings {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  grid-column: 1 / -1; /* Take full width of the grid */
}

.no-listings i {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.no-listings h3 {
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.no-listings p {
  max-width: 400px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* User Favorites Page Styles */
.user-favorites-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  min-height: calc(100vh - 120px);
}

.favorites-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
}

.favorites-count {
  color: #6b7280;
  font-weight: 500;
}

.toolbar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.toolbar-right select {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.property-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-2px);
}

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

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

.property-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.favorite-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.favorite-btn.active {
  background: transparent;
}

.favorite-btn:hover {
  transform: scale(1.1);
}

.favorite-btn i {
  color: #666;
  font-size: 20px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.favorite-btn.active i {
  color: #ff6b6b;
}

.favorite-btn:hover i {
  color: #ff6b6b;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ff9500;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.property-details {
  padding: 1.5rem;
}

.property-details h3 a {
  color: #2e2e2e;
  text-decoration: none;
  font-size: 1.2rem;
}

.property-details h3 a:hover {
  color: #004f4d;
}

.property-location {
  color: #6b7280;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-price {
  color: #188f8b;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.property-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.property-specs span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.property-features {
  margin-bottom: 1rem;
}

.feature-tag {
  display: inline-block;
  background: rgba(0, 79, 77, 0.1);
  color: #004f4d;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
}

.feature-more {
  color: #6b7280;
  font-size: 0.8rem;
}

.property-actions-bottom {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.property-actions-bottom .btn-secondary,
.property-actions-bottom .btn-primary {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.favorite-date {
  color: #9ca3af;
  font-size: 0.8rem;
  text-align: right;
}

.no-favorites {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.no-favorites i {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.no-favorites h3 {
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.no-favorites-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .listings-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .listings-actions {
    flex-direction: column;
  }

  .favorites-toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .toolbar-right {
    justify-content: space-between;
  }
}

/* Buy/Rent page header - restore original styling */
.page-header {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
  color: white;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.page-header .development-icon {
  font-size: 2rem;
  color: #004f4d;
  margin-right: 1rem;
  vertical-align: middle;
}

.page-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.advertise-development-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  border: 1px solid rgba(0, 79, 77, 0.1);
}

.section-heading {
  font-size: 1.8rem;
  color: #2e2e2e;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.section-heading i {
  color: #004f4d;
  margin-right: 0.5rem;
}

.development-form {
  display: grid;
  gap: 2rem;
}

.form-section h3 {
  color: #004f4d;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.amenity-checkbox {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.amenity-checkbox:hover {
  border-color: #004f4d;
  background-color: #f0f9ff;
}

.amenity-checkbox input[type="checkbox"]:checked + label {
  color: #004f4d;
  font-weight: 500;
}

.amenity-checkbox input[type="checkbox"]:checked ~ .amenity-checkbox {
  border-color: #004f4d;
  background-color: rgba(0, 79, 77, 0.05);
}

.amenity-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
}

.amenity-checkbox label {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0;
}

.amenity-checkbox label i {
  margin-right: 0.5rem;
  color: #004f4d;
}

.file-input {
  width: 100%;
  padding: 1rem;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input:hover {
  border-color: #004f4d;
  background: #f0f9ff;
}

.file-hint {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #188f8b, #004f4d);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

/* Submit Button Styling for Property Listing Form */
.submit-btn {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.2);
  width: 100%;
  max-width: 400px;
  margin: 2rem auto 0;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #188f8b, #004f4d);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 79, 77, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 15px rgba(0, 79, 77, 0.3);
}

.submit-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: scale(1.1);
}

/* Add ripple effect */
.submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition:
    width 0.6s,
    height 0.6s;
  transform: translate(-50%, -50%);
}

.submit-btn:active::before {
  width: 300px;
  height: 300px;
}

.current-developments {
  margin-top: 3rem;
}

.developments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.development-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  border: 1px solid rgba(0, 79, 77, 0.1);
  transition: all 0.3s ease;
}

.development-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 79, 77, 0.15);
}

.development-image {
  height: 200px;
  overflow: hidden;
}

.development-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #004f4d, #188f8b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.development-info {
  padding: 1.5rem;
}

.development-info h3 {
  color: #2e2e2e;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.developer {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.location {
  color: #004f4d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.location i {
  margin-right: 0.3rem;
}

.price {
  color: #188f8b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.development-status {
  margin-bottom: 1rem;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-planning-phase {
  background: #fef3c7;
  color: #92400e;
}

.status-pre-construction {
  background: #dbeafe;
  color: #1e40af;
}

.status-under-construction {
  background: #fee2e2;
  color: #dc2626;
}

.status-near-completion {
  background: #d1fae5;
  color: #065f46;
}

.status-move-in-ready {
  background: #d1fae5;
  color: #065f46;
}

.description {
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.development-actions {
  display: flex;
  gap: 1rem;
}

.btn-contact,
.btn-details {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-contact {
  background: #004f4d;
  color: white;
}

.btn-contact:hover {
  background: #188f8b;
}

.btn-details {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-details:hover {
  background: #e5e7eb;
}

.no-developments {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.no-developments i {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.no-developments h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .developments-grid {
    grid-template-columns: 1fr;
  }

  .development-actions {
    flex-direction: column;
  }
}

/* Alert Form Styling */
.alert-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  padding: 0.8rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow:
    0 0 0 3px rgba(0, 79, 77, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-group input::placeholder {
  color: #9ca3af;
  font-style: italic;
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus) {
  border-color: #9ca3af;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Optgroup styling for location dropdowns */
.form-group select optgroup {
  font-weight: 600;
  font-size: 0.95rem;
  color: #004f4d;
  background: #f0f8ff;
  padding: 0.5rem 0;
}

.form-group select option {
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
  color: #2e2e2e;
  background: white;
}

.form-group select optgroup option {
  padding-left: 1.5rem;
  color: #4a5568;
}

/* Professional Advert Form Enhanced Styling */
.estimator .form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.estimator .form-group label {
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimator .form-group label i {
  color: #004f4d;
  width: 16px;
  text-align: center;
}

.estimator .form-group input,
.estimator .form-group select,
.estimator .form-group textarea {
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: #ffffff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.estimator .form-group input:hover,
.estimator .form-group select:hover,
.estimator .form-group textarea:hover {
  border-color: #c7d2fe;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.estimator .form-group input:focus,
.estimator .form-group select:focus,
.estimator .form-group textarea:focus {
  outline: none;
  border-color: #004f4d;
  background: #fefffe;
  box-shadow:
    0 0 0 3px rgba(0, 79, 77, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.estimator .form-group input::placeholder,
.estimator .form-group textarea::placeholder {
  color: #9ca3af;
  font-style: italic;
}

/* Enhanced styling for the two-column grid */
.estimator form > div[style*="grid-template-columns"] .form-group {
  background: #f8f9fa;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.estimator form > div[style*="grid-template-columns"] .form-group:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.estimator form > div[style*="grid-template-columns"] .form-group input {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  margin-top: 0.5rem;
}

/* Price Range Inputs */
.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-range input {
  text-align: center;
}

/* Features Checkboxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.feature-checkbox {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-checkbox:hover {
  border-color: #004f4d;
  background: rgba(0, 79, 77, 0.02);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.feature-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  accent-color: #004f4d;
}

.feature-checkbox label {
  font-size: 0.9rem;
  color: #4a5568;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0;
}

.feature-checkbox .feature-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: #6b7280;
}

/* Alert Button */
.create-alert-btn {
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 2rem auto 0;
  min-width: 200px;
}

.create-alert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 79, 77, 0.3);
}

.create-alert-btn:active {
  transform: translateY(0);
}

/* Active Alerts Section */
.alerts-list-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
  border: 1px solid rgba(0, 79, 77, 0.1);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.empty-state .empty-icon {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: #4a5568;
  margin-bottom: 1rem;
  font-weight: 400;
}

.empty-state p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Alert Card */
.alert-card {
  background: white;
  border: 4px solid #f3f4f6;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.alert-card:hover {
  border-color: #004f4d;
  box-shadow: 0 4px 20px rgba(0, 79, 77, 0.1);
}

.alert-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.alert-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2e2e2e;
  margin: 0;
}

.alert-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.active {
  background: #dcfce7;
  color: #166534;
}

.status-badge.paused {
  background: #fef3c7;
  color: #92400e;
}

.alert-criteria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.criteria-item {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: 0.9rem;
}

.criteria-item .criteria-icon {
  margin-right: 0.5rem;
  color: #004f4d;
  width: 16px;
}

.alert-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.alert-btn {
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.alert-btn.edit {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

.alert-btn.edit:hover {
  background: #0369a1;
  color: white;
}

.alert-btn.pause {
  background: #fffbeb;
  color: #d97706;
  border-color: #fed7aa;
}

.alert-btn.pause:hover {
  background: #d97706;
  color: white;
}

.alert-btn.delete {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.alert-btn.delete:hover {
  background: #dc2626;
  color: white;
}

/* Responsive Design for Alerts */
@media (max-width: 768px) {
  .alerts-container {
    padding: 1rem;
  }

  .alert-form {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .price-range {
    grid-template-columns: 1fr;
  }

  .alert-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .alert-actions {
    flex-wrap: wrap;
  }
}

/* Property Detail Styles */
.property-detail-main {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.back-navigation {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #004f4d;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid #004f4d;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #004f4d;
  color: white;
}

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.property-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 0.5rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 1.1rem;
}

.property-price-section .property-price {
  font-size: 2rem;
  font-weight: 700;
  color: #188f8b;
  margin-bottom: 0.25rem;
}

.property-price-section .property-type {
  color: #6b7280;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-gallery {
  margin-bottom: 3rem;
}

.gallery-main {
  margin-bottom: 1rem;
}

/* Updated in earlier section */

/* Updated in earlier section */

.favorite-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ff6b6b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.favorite-btn:hover {
  background: transparent;
  transform: scale(1.05);
}

.gallery-thumbnails {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  width: 70%;
  margin: 0 auto;
}

.thumbnail-image {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.thumbnail-image:hover,
.thumbnail-image.active {
  opacity: 1;
  border-color: #004f4d;
  transform: scale(1.02);
}

.property-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.property-key-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2e2e2e;
  font-weight: 500;
  font-size: 1.2rem;
}

.detail-item i {
  color: #004f4d;
  font-size: 1.4rem;
}

.property-description {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
  margin-bottom: 2rem;
}

.property-description h3 {
  color: #2e2e2e;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.property-description p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1.2rem;
  font-weight: 400;
}

.property-features {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
}

.property-features h3 {
  color: #2e2e2e;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2e2e2e;
  font-weight: 500;
  font-size: 1.1rem;
}

.feature-item i {
  color: #90be6d;
  font-size: 1.2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
  position: static !important;
}

/* Ensure the right sidebar scrolls naturally */
.property-details-right {
  position: static !important;
}

.property-details-right .contact-card,
.property-details-right .listing-actions-section {
  position: static !important;
  top: auto !important;
}

.contact-card h3 {
  color: #2e2e2e;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  color: #2e2e2e;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: #004f4d;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #188f8b;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Mobile Responsive - Property Detail */
@media (max-width: 768px) {
  .property-header {
    flex-direction: column;
    gap: 1rem;
  }

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

  .property-price-section .property-price {
    font-size: 1.75rem;
  }

  .main-image {
    height: 300px;
  }

  .property-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .property-details-left,
  .property-details-right {
    min-width: 0;
    max-width: 100%;
  }

  .property-description,
  .property-features {
    padding: 1.25rem;
  }

  .interactive-map-badge {
    display: none !important;
  }

  .property-key-details {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .gallery-thumbnails {
    gap: 0.5rem;
    width: 100% !important;
  }

  .thumbnail-image {
    width: 100px;
    height: 70px;
  }

  /* Mobile fixes for property detail image gallery */
  .main-image-container {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 8px !important;
  }

  .main-image {
    max-height: 300px !important;
    object-fit: cover !important;
  }

  /* Mobile fixes for development detail hero gallery */
  .hero-gallery {
    margin-bottom: 1rem !important;
  }

  .hero-gallery .gallery-container {
    height: 280px !important;
    border-radius: 8px !important;
  }

  .hero-gallery .gallery-image {
    object-fit: cover !important;
  }

  .hero-gallery .gallery-prev,
  .hero-gallery .gallery-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .hero-gallery .gallery-prev {
    left: 10px !important;
  }

  .hero-gallery .gallery-next {
    right: 10px !important;
  }

  /* Prevent content overflow on mobile */
  .property-gallery,
  .hero-gallery,
  .gallery-section {
    overflow: hidden !important;
    max-width: 100vw !important;
  }

  /* Fix thumbnail strip on mobile */
  .hero-gallery + div {
    overflow-x: auto !important;
    max-width: 100% !important;
  }

  /* CRITICAL: Force single-column layout on development detail pages */
  /* Override inline grid styles */
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"] {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  div[style*="grid-template-columns: 2fr 1fr"] > *,
  div[style*="grid-template-columns:2fr 1fr"] > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Hide sidebar on mobile or stack it below */
  .development-sidebar,
  .property-sidebar,
  .sidebar-content {
    width: 100% !important;
    position: static !important;
  }

  /* Force main content full width */
  .main-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure body doesn't overflow */
  body {
    overflow-x: hidden !important;
  }

  /* Fix unit tables on mobile - make them scroll horizontally */
  div[style*="grid-template-columns: 2fr 1fr 1fr"],
  div[style*="grid-template-columns: 1.5fr 1fr 1fr"],
  div[style*="grid-template-columns: 1.5fr 1.2fr"] {
    display: block !important;
  }

  /* Stats grid on mobile */
  .stats-grid,
  div[style*="stats-grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Development detail page - single column on mobile */
  .dev-detail-grid {
    display: block !important;
  }

  .dev-detail-grid .main-content,
  .dev-detail-grid .sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }

  .dev-detail-grid .sidebar {
    margin-top: 2rem;
  }

  /* Fix stats cards - force single column on mobile */
  .stats-grid,
  div.stats-grid,
  div[style*="stats-grid"] {
    display: block !important;
  }

  .stats-grid .stat-card,
  .stat-card {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  /* Fix Explore Other Developments buttons */
  section[style*="padding: 3rem"] > div > div[style*="text-align: center"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }

  section[style*="padding: 3rem"] > div > div[style*="text-align: center"] a {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
  }
}

/* Development Detail Grid - Desktop */
.dev-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .dev-detail-grid {
    display: block;
  }
}

/* Development Stats Grid */
.dev-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dev-stats-grid.dev-stats-two {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
}

.dev-stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #004f4d;
}

.dev-stat-card.dev-stat-units {
  border-top-color: #004f4d;
}

.dev-stat-card.dev-stat-price {
  border-top-color: #ff9500;
}

.dev-stat-card.dev-stat-completion {
  border-top-color: #90be6d;
}

.dev-stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #004f4d;
  margin-bottom: 0.5rem;
}

.dev-stat-card.dev-stat-units .dev-stat-value {
  font-size: 2rem;
}

.dev-stat-label {
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .dev-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Explore Other Developments Buttons */
.explore-dev-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.explore-dev-buttons a {
  text-decoration: none;
  padding: 1rem 2rem;
}

@media (max-width: 768px) {
  .explore-dev-buttons {
    flex-direction: column;
    align-items: center;
  }

  .explore-dev-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* User Favorites Page Enhanced Styling */
.user-favorites-container {
  padding: 2rem 0;
  min-height: 60vh;
}

.page-header {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.favorites-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 2px solid #f0f0f0;
}

.favorites-count {
  font-size: 1.1rem;
  color: #2e2e2e;
  font-weight: 600;
}

.toolbar-right select {
  padding: 0.5rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  font-size: 0.95rem;
  color: #2e2e2e;
  cursor: pointer;
}

/* Enhanced Favorites Grid - Use Standard Property Cards */
.user-favorites-container .property-ads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Favorites specific styling */
.favorite-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

.favorite-date i {
  color: #ff6b6b;
  font-size: 0.7rem;
}

.remove-favourite-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
  width: 100%;
  justify-content: center;
}

.remove-favourite-btn:hover {
  color: #ff6b6b;
  border-color: #ff6b6b;
}

/* No Favorites State */
.no-favorites {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.no-favorites i {
  font-size: 5rem;
  color: #ddd;
  margin-bottom: 2rem;
}

.no-favorites h3 {
  font-size: 2rem;
  color: #2e2e2e;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.no-favorites p {
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.no-favorites-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.no-favorites-actions .btn-primary,
.no-favorites-actions .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.no-favorites-actions .btn-primary {
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  color: white;
}

.no-favorites-actions .btn-primary:hover {
  background: linear-gradient(135deg, #003a37 0%, #136b68 100%);
  transform: translateY(-2px);
}

.no-favorites-actions .btn-secondary {
  background: #f8f9fa;
  color: #2e2e2e;
  border: 2px solid #e9ecef;
}

.no-favorites-actions .btn-secondary:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  transform: translateY(-2px);
}

/* Responsive Favorites Page */
@media (max-width: 768px) {
  .user-favorites-container .property-ads-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .favorite-card .property-title-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .favorite-card .property-specs {
    gap: 0.8rem;
  }

  .no-favorites-actions {
    flex-direction: column;
    align-items: center;
  }

  .no-favorites-actions .btn-primary,
  .no-favorites-actions .btn-secondary {
    width: 100%;
    max-width: 280px;
  }
}
/* Mobile Responsive for Success/Error Banners */
@media (max-width: 768px) {
  .success,
  .error {
    min-width: 300px;
    max-width: 90%;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    top: 100px;
  }
}

/* Property Search Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: -1px;
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f8f8f8;
}

.autocomplete-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 6px;
}

.autocomplete-title strong {
  color: #004f4d;
  background-color: #e8f5f4;
  padding: 0 2px;
}

.autocomplete-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #666;
}

.autocomplete-location {
  color: #666;
}

.autocomplete-badge {
  background-color: #e8f5f4;
  color: #004f4d;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.autocomplete-price {
  color: #90be6d;
  font-weight: 600;
  margin-left: auto;
}

@media (max-width: 768px) {
  .autocomplete-dropdown {
    border-radius: 0 0 6px 6px;
    max-height: 300px;
  }

  .autocomplete-item {
    padding: 10px 12px;
  }

  .autocomplete-title {
    font-size: 0.9rem;
  }

  .autocomplete-details {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
  }
}

/* ── Homepage 10% zoom-out ── */
body.home-page {
  zoom: 0.8;
}

/* ── Mobile: disable desktop-only zoom and reset cm margins ── */
@media (max-width: 768px) {
  body.home-page {
    zoom: 1 !important;
  }
  .nav-brand {
    margin-left: 1rem !important;
  }
  .nav-right {
    margin-right: 0.5rem !important;
  }
  .home-page .hero {
    margin-top: 0 !important;
    padding-top: 5rem !important;
  }
}

/* ── Homepage hero-overlay header ── */
.home-page .header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.home-page .header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.home-page .hero {
  margin-top: -54px;
  padding-top: calc(6rem + 54px);
}

/* Header nav links - refined sizing */
.header .nav-links a {
  font-size: 11px;
  letter-spacing: 0.35px;
  line-height: 1.2;
}

.header .nav-links .nav-dropdown a {
  font-size: 11px;
  letter-spacing: 0.35px;
}

/* Force CSS Update - v196 */

/* ============================================
   MOBILE FIXES - HIGHEST PRIORITY OVERRIDES
   ============================================ */
@media (max-width: 768px) {
  /* CAROUSEL: Force single card display */
  .carousel-wrapper {
    overflow: hidden !important;
  }

  .carousel-track {
    gap: 0 !important;
  }

  .carousel-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  section.featured-properties .carousel-slide,
  section.development-ads-section .carousel-slide,
  #sale-carousel-track .carousel-slide,
  #rent-carousel-track .carousel-slide,
  #dev-carousel-track .carousel-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* CAROUSEL CARDS: Vertical layout for mobile */
  .development-ad-card {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
  }

  .development-ad-card .property-image-gallery {
    width: 100% !important;
    height: 180px !important;
    flex: 0 0 180px !important;
  }

  .development-ad-card .property-content {
    width: 100% !important;
    padding: 1rem !important;
    flex: 1 !important;
  }

  /* MOBILE NAVIGATION: Full screen overlay */
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    background: white !important;
    flex-direction: column !important;
    padding: 72px 20px 20px !important;
    gap: 0 !important;
    z-index: 99 !important;
    overflow-y: auto !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
    animation: mobileNavSlideIn 0.25s ease-out;
  }

  @keyframes mobileNavSlideIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links .nav-dropdown {
    width: 100% !important;
    display: block !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }

  .nav-links .nav-dropdown-btn {
    display: block !important;
    width: 100% !important;
    padding: 1rem !important;
    color: #333 !important;
    background: white !important;
    text-align: left !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  /* Direct nav links (Find an Agent, List your property) - match dropdown buttons */
  .nav-links > a:not(.sign-in-btn) {
    display: block !important;
    width: 100% !important;
    padding: 1rem !important;
    color: #333 !important;
    background: white !important;
    text-align: left !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    text-decoration: none !important;
  }

  .nav-links .nav-dropdown-menu {
    position: static !important;
    display: none !important;
    box-shadow: none !important;
    background: #f8f9fa !important;
    padding-left: 1rem !important;
  }

  .nav-links .nav-dropdown.active .nav-dropdown-menu {
    display: block !important;
  }

  .nav-links .currency-selector,
  .nav-links .sign-in-btn,
  .nav-links .user-dropdown {
    width: 100% !important;
    margin: 0.5rem 0 !important;
    padding: 1rem !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }

  .mobile-menu-toggle {
    display: block !important;
  }

  /* Development cards - stack vertically on mobile */
  .development-card {
    flex-direction: column !important;
    display: flex !important;
  }

  .development-card .development-visual {
    flex: none !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16/10 !important;
  }

  .development-card .development-content {
    flex: none !important;
    width: 100% !important;
    padding: 1.25rem !important;
  }

  .development-card .development-content h3 {
    font-size: 1.3rem !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .development-card .development-content p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
}

/* Property Verification Badges */
.badge--verification {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  z-index: 5;
  color: white;
  background: rgba(0, 60, 58, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.1px;
}
.badge--verification i {
  font-size: 10.5px;
}
.badge--verification-developer {
  background: #06768d;
}
.badge--verification-private {
  background: rgba(26, 153, 143, 0.9);
  color: #ffffff;
}
.badge--status {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  color: white;
  backdrop-filter: blur(6px);
}
.badge--status-under_contract {
  background: rgba(245, 158, 11, 0.9);
}
.badge--status-reserved {
  background: rgba(245, 158, 11, 0.9);
}
.badge--status-pending {
  background: rgba(245, 158, 11, 0.9);
}
.badge--status-sold {
  background: rgba(220, 38, 38, 0.88);
}
.badge--status-rented {
  background: rgba(16, 185, 129, 0.9);
}
.badge--status-off_market {
  background: rgba(107, 114, 128, 0.9);
}
.badge--status-withdrawn {
  background: rgba(107, 114, 128, 0.9);
}

/* Dashboard listing status dropdown */
.dash-status-select {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1.4rem 0.25rem 0.6rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
  background-size: 8px;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.dash-status-select:hover {
  opacity: 0.85;
}
.dash-status-select.status-active {
  background-color: #d1fae5;
  color: #065f46;
}
.dash-status-select.status-other {
  background-color: #fef3c7;
  color: #92400e;
}

/* NEW listing badge */
.badge--new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c6a75e;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

/* ----------------------------------------------------------------
   Admin global navigation bar
   Used on every admin page — base styles live here so pages only
   need to link style.css, not duplicate CSS in every template.
   ---------------------------------------------------------------- */
.navigation-header {
  background: #004f4d;
  position: relative;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.navigation-header h1 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  flex-shrink: 0;
}
.navigation-header h1 a {
  color: white;
  text-decoration: none;
}
.admin-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.admin-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.admin-nav-links a:hover,
.admin-nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.admin-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  align-items: center;
  gap: 0.4rem;
}
@media (max-width: 900px) {
  .navigation-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0.75rem 1rem;
  }
  .admin-menu-toggle {
    display: flex !important;
  }
  .admin-nav-links {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #004f4d !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0.5rem !important;
    z-index: 9998 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }
  .admin-nav-links.open {
    display: flex !important;
  }
  .admin-nav-links a {
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    font-size: 0.82rem;
  }
}

/* ── Global page-header override — matches Neighbourhoods style ── */
.page-header {
  background: linear-gradient(180deg, #2a6a6a 0%, #245c5c 100%) !important;
  color: white !important;
  padding: 34px 20px 26px !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  margin-bottom: 0 !important;
}

.page-header .container {
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
}

.page-header p {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

/* ── District SEO intro block (buy & rent pages) ── */
.district-intro {
  max-width: 800px;
  margin: 28px auto 24px;
  padding: 20px 16px 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  border-top: 1px solid #eaeaea;
}
.district-intro h2 {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: #6b7280;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.district-intro .subtitle {
  font-size: 1rem;
  color: var(--text-muted, #6b7280);
  margin-bottom: 12px;
}
.district-intro p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* ── Available Properties heading ── */
.available-properties-heading {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #0b1b3a;
  text-align: left;
  margin: 0 0 18px;
}

/* Listings unified container — aligns filter card, breadcrumb, sort bar and cards */
.listings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Breadcrumb trail */
.breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb a {
  color: #0b1b3a;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span.sep {
  color: #9ca3af;
  margin: 0 6px;
}

/* ── Typography utility classes ── */
.section-heading {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 6px;
  color: #6b7280;
  text-align: center;
  letter-spacing: 0.2px;
}
.section-subtext {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 12px;
}
.section-paragraph {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
}
.text-container {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
.section {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* === Developer / Agent Logo Badge === */
.listing-logo {
  flex-shrink: 0;
  align-self: flex-end;
  width: 52px;
  height: 52px;
  background: #ffffff;
  padding: 3px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.2s ease;
  border: 1px solid #e3eeec;
}
.listing-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.listing-logo.agent img {
  object-fit: cover;
}
.buy-card:hover .listing-logo,
.rent-card:hover .listing-logo {
  transform: scale(1.05);
}

/* ============================================================
   LISTING CARD: two independent absolute containers
   ============================================================ */

/* Logo — top-right of the details panel */
.listing-logo-wrapper {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  width: auto !important;
  height: 75px !important;
  max-width: 120px !important;
  z-index: 5 !important;
  margin: 0 !important;
}

.listing-logo-wrapper img {
  width: auto !important;
  height: 75px !important;
  max-width: 120px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14) !important;
  display: block !important;
}

/* Co-listing avatar stack — two circular agent photos overlapping */
.listing-logo-wrapper.co-listed-avatars {
  width: 126px !important;
  height: 62px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.co-agent-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 2.5px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  flex-shrink: 0 !important;
  position: relative !important;
  background: #f0f0f0 !important;
  padding: 0 !important;
  display: block !important;
}
.co-agent-avatar--primary {
  z-index: 1 !important;
  margin-right: 6px !important;
}
.co-agent-avatar--colister {
  z-index: 2 !important;
}

/* Contact actions — in-flow right side of the bottom stats row */
.listing-contact-actions {
  display: flex !important;
  gap: 9px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  position: static !important;
  flex-shrink: 0 !important;
}

.listing-contact-actions .contact-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.8rem !important;
}

/* Neutralise old classes so they don't fight the new ones */
.property-contact-icons,
.contact-icons,
.contact-actions {
  position: static !important;
}

/* ── Homepage More Filters Modal ─────────────────────────────── */
#hmfModal {
  background: #fff;
  border-radius: 16px;
  width: 680px;
  max-width: calc(100vw - 32px);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #f1f5f9;
}
#hmfModal::-webkit-scrollbar {
  width: 8px;
}
#hmfModal::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
#hmfModal::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
#hmfModal::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.hmf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 14px;
  border-bottom: 1px solid #e8ecef;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.hmf-title {
  font-size: 18px;
  font-weight: 700;
  color: #004f4d;
  margin: 0;
  line-height: 1.2;
}
.hmf-close-btn {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 6px;
  transition:
    background 0.15s,
    color 0.15s;
}
.hmf-close-btn:hover {
  background: #f3f4f6;
  color: #111;
}
.hmf-body {
  padding: 20px 24px 8px;
  flex: 1;
}
.hmf-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.hmf-field {
  flex: 1;
}
.hmf-broker-field {
  margin-bottom: 4px;
}
.hmf-label {
  display: block;
  font-weight: 600;
  color: #004f4d;
  margin-bottom: 6px;
  font-size: 13px;
}
/* Custom dropdown trigger + panel (replaces native selects in More Filters modal) */
.hmf-dd-wrap {
  position: relative;
}
.hmf-dd-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #2e2e2e;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.hmf-dd-trigger:hover {
  border-color: #b0cac9;
}
.hmf-dd-trigger[aria-expanded="true"] {
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
.hmf-dd-label {
  flex: 1;
}
.hmf-dd-chevron {
  color: #aaa;
  font-size: 10px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.hmf-dd-trigger[aria-expanded="true"] .hmf-dd-chevron {
  transform: rotate(180deg);
}
.hmf-dd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  z-index: 300;
  padding: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.hmf-dd-panel.open {
  display: block;
}
.hmf-dd-option {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  color: #2e2e2e;
  cursor: pointer;
  transition:
    background 0.1s,
    color 0.1s;
}
.hmf-dd-option:hover {
  background: #f0fafa;
  color: #004f4d;
}
.hmf-dd-option.selected {
  color: #004f4d;
  font-weight: 600;
  background: #eef7f7;
}
/* Hide native selects that back the custom dropdowns */
.hmf-dd-wrap select {
  display: none !important;
}

.hmf-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #2e2e2e;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  background-size: 10px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.hmf-select:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
.hmf-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 18px 0 8px;
}
.hmf-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.hmf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
  background: #f9fafb;
  transition: all 0.15s;
  user-select: none;
}
.hmf-pill input[type="checkbox"] {
  display: none;
}
.hmf-pill:hover {
  border-color: #004f4d;
  color: #004f4d;
  background: #f0f9f9;
}
.hmf-pill.active {
  background: #e0f2f1;
  border-color: #004f4d;
  color: #004f4d;
  font-weight: 600;
}
.hmf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #e8ecef;
  background: #fff;
  position: sticky;
  bottom: 0;
}
.hmf-clear-btn {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px 4px;
  font-family: inherit;
  transition: color 0.15s;
}
.hmf-clear-btn:hover {
  color: #374151;
}
.hmf-search-btn {
  background: #004f4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.hmf-search-btn:hover {
  background: #006b68;
}

.hmf-text-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #2e2e2e;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.hmf-text-input:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
/* Custom price input group ($ prefix + formatted number) */
.hmf-price-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.hmf-price-group:focus-within {
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
.hmf-price-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f0f9f9;
  color: #004f4d;
  font-weight: 700;
  font-size: 14px;
  border-right: 1.5px solid #e2e8f0;
  flex-shrink: 0;
  user-select: none;
}
.hmf-price-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}
.hmf-price-input:focus {
  outline: none;
  border: none !important;
  box-shadow: none !important;
}

.hmf-loc-wrap {
  position: relative;
}
.hmf-loc-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 200;
  max-height: 240px;
  overflow-y: auto;
}
.hmf-loc-panel.open {
  display: block;
}
.hmf-loc-group-hdr {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 12px 3px;
}
.hmf-loc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
  color: #2e2e2e;
  transition: background 0.1s;
}
.hmf-loc-item:hover,
.hmf-loc-item.highlighted {
  background: #f0f9f9;
}
.hmf-loc-item.selected {
  color: #004f4d;
  font-weight: 600;
}
.hmf-loc-icon {
  color: #004f4d;
  width: 14px;
  flex-shrink: 0;
  font-size: 12px;
}
.hmf-loc-item-lbl {
  flex: 1;
}
.hmf-loc-item-sub {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
}
.hmf-loc-check {
  color: #004f4d;
  font-size: 11px;
  flex-shrink: 0;
}
.hmf-loc-no-results {
  padding: 14px 12px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}
.hmf-loc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.hmf-loc-chips:empty {
  margin-bottom: 0;
}
.hmf-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e0f2f1;
  border: 1.5px solid #004f4d;
  color: #004f4d;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.hmf-chip-rm {
  background: none;
  border: none;
  color: #004f4d;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 2px;
  font-family: inherit;
}
.hmf-chip-rm:hover {
  color: #ff6b6b;
}
.hmf-divider {
  height: 1px;
  background: #e8ecef;
  margin: 20px 0 16px;
}

@media (max-width: 600px) {
  #hmfModal {
    border-radius: 12px 12px 0 0;
    max-height: 92vh;
    width: 100%;
  }
  #hmfOverlay {
    align-items: flex-end !important;
  }
  .hmf-row {
    flex-direction: column;
    gap: 12px;
  }
}

/* ─── Custom select dropdown component (custom-select.js) ───────────────── */
.cs-wrapper {
  position: relative;
  width: 100%;
}
.cs-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  background: #ffffff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23004F4D'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  background-size: 10px 6px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: #2e2e2e;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  box-sizing: border-box;
  min-height: 42px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-btn.cs-placeholder {
  color: #9ca3af;
}
.cs-btn:hover {
  border-color: #9ca3af;
}
.cs-btn:focus,
.cs-btn[aria-expanded="true"] {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
.cs-list {
  display: none;
  position: absolute;
  z-index: 9999;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
  list-style: none;
  padding: 4px 0;
  max-height: 230px;
  overflow-y: auto;
  margin: 0;
}
.cs-list.cs-open {
  display: block;
}
.cs-option {
  padding: 0.52rem 0.85rem;
  cursor: pointer;
  color: #2e2e2e;
  font-size: inherit;
  transition: background 0.1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-option:hover {
  background: #eef7f7;
  color: #004f4d;
}
.cs-option.cs-selected {
  background: #004f4d;
  color: #ffffff;
  font-weight: 600;
}
.cs-option.cs-placeholder-opt {
  color: #9ca3af;
}
.cs-option.cs-indented {
  padding-left: 1.5rem;
}
.cs-group-hdr {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #004f4d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #f0f0f0;
  margin-top: 2px;
  list-style: none;
}

/* ─── Sitewide select / dropdown styling ────────────────────────────────── */
select {
  -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23004F4D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: #2e2e2e;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
select:hover:not(:focus) {
  border-color: #9ca3af;
}
select:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
select option {
  background: #ffffff;
  color: #2e2e2e;
}
select option:checked {
  background: linear-gradient(#004f4d, #004f4d);
  color: #ffffff;
}
select optgroup {
  color: #004f4d;
  font-weight: 600;
}

/* ── Strategic Editorial Typography — Cormorant Garamond ───────────────────
   Applied ONLY to public-facing lifestyle/editorial headings.
   All functional UI (nav, filters, forms, dashboards) stays in Inter.
   ───────────────────────────────────────────────────────────────────────── */

/* Neighbourhood index — main page heading */
.page-hero h1 {
  font-family: var(--font-editorial);
}

/* Market Insights + Find Your Agent + other .page-header sections */
.page-header h1 {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Developments index hero heading */
.developments-hero h1 {
  font-family: var(--font-editorial) !important;
  font-size: clamp(2.8rem, 4vw, 4.4rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

/* Mobile scaling */
@media (max-width: 640px) {
  .hero-search-title {
    font-size: clamp(3.2rem, 11vw, 4.8rem);
    line-height: 1;
  }
}

/* ── Global gradient button ── */
.cayliving-gradient-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  color: #ffffff;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #007c78 0%, #004f4d 48%, #003b39 100%);
  box-shadow:
    0 12px 24px rgba(0, 79, 77, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.cayliving-gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(0, 79, 77, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
}
