:root {
  --bg: #070b13;
  --panel: rgba(10, 16, 28, 0.72);
  --panel2: rgba(15, 23, 42, 0.7);
  --text: #e5e7eb;
  --muted: #a3a3a3;
  --muted2: #9ca3af;
  --line: rgba(255,255,255,.10);
  --accent: #d4af37;
  --accent2: #7dd3fc;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;

/*  cursor: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'><rect%20width='32'%20height='32'%20fill='none'/><text%20x='6'%20y='24'%20font-size='22'%20font-family='Arial'%20font-weight='700'%20fill='%23ffffff'>A</text></svg>") 6 24, auto;
*/

  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='6' y='24' font-size='24' fill='%23003366'>A</text></svg>") 16 16, auto;

}

a, button, input, textarea, select {
  cursor: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'><rect%20width='32'%20height='32'%20fill='none'/><text%20x='6'%20y='24'%20font-size='22'%20font-family='Arial'%20font-weight='700'%20fill='%23ffffff'>A</text></svg>") 6 24, pointer;
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,11,19,.55);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 16px;
  letter-spacing: .3px;
}

.brand span {
  font-size: 12px;
  color: var(--muted2);
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.menu a {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted2);
  font-size: 14px;
}

.menu a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.04);
}

.menu a.active {
  color: var(--text);
  border-color: rgba(212,175,55,.35);
  background: rgba(212,175,55,.10);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}

.btn.primary {
  border-color: rgba(212,175,55,.45);
  background: linear-gradient(90deg, rgba(212,175,55,.28), rgba(125,211,252,.10));
}

.hero {
  position: relative;
  height: min(92vh, 860px);
  min-height: 560px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 560px at 20% 35%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(900px 560px at 80% 40%, rgba(125,211,252,.14), transparent 55%),
    linear-gradient(180deg, rgba(7,11,19,.35), rgba(7,11,19,.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 72px;
}

.hero-card {
  width: min(980px, 92vw);
  padding: 28px 22px;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.kicker {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(229,231,235,.78);
}

.hero h1 {
  margin: 10px 0 10px 0;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.05;
}

.hero p {
  margin: 0 auto 18px auto;
  width: min(74ch, 100%);
  color: rgba(229,231,235,.84);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font-size: 26px;
}

.section-title p {
  margin: 0;
  color: var(--muted2);
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.55;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.two { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}

@media (max-width: 560px) {
  .grid.three { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.card.pad {
  padding: 18px;
}

.card .muted {
  color: var(--muted2);
}

.broker {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 920px) {
  .broker { grid-template-columns: 1fr; }
}

.broker img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.broker h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
}

.broker .meta {
  color: var(--muted2);
  font-size: 14px;
  margin-bottom: 12px;
}

.broker .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted2);
  font-size: 13px;
}

.property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card .thumb {
  aspect-ratio: 16/10;
  width: 100%;
  background: #0b1220;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.property-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

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

.property-card .body {
  padding: 16px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.10);
  font-size: 12px;
  width: fit-content;
  color: rgba(229,231,235,.92);
}

.prop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.prop-top h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  color: rgba(212,175,55,.95);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.prop-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted2);
  font-size: 13px;
}

.prop-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.03);
}

hr.sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: 10px 0 0 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
}

input, textarea {
  width: 100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}

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

small.help {
  color: var(--muted2);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: rgba(255,255,255,.02);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted2);
  font-size: 14px;
}

.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
}

.icon-btn:hover {
  border-color: rgba(212,175,55,.35);
  background: rgba(212,175,55,.10);
}

.page-hero {
  padding-top: 96px;
  padding-bottom: 28px;
}

.page-hero h1 {
  margin: 0 0 10px 0;
  font-size: 34px;
}

.page-hero p {
  margin: 0;
  color: var(--muted2);
  line-height: 1.6;
}

.breadcrumbs {
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 920px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
}

.gallery button {
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}

.gallery button:hover img {
  transform: scale(1.03);
}

.notice {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(125,211,252,.35);
  background: rgba(125,211,252,.08);
  color: rgba(229,231,235,.92);
  font-size: 14px;
}

/* =========================================================
   FINAL THEME PATCH (clean, no conflicts)
   Put this at the VERY END of styles.css
   ========================================================= */

/* --------- Cursor: make pointer cursor also dark blue A --------- */
a, button, input, textarea, select {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='6' y='24' font-size='24' fill='%23003366'>A</text></svg>") 16 16, pointer;
}

/* --------- NAV: force same color/behavior on ALL pages --------- */
.nav {
  /* keep fixed (your original) */
  background: rgba(7, 11, 19, 0.72) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.nav .brand strong,
.nav .menu a,
.nav .nav-cta .btn {
  color: rgba(255,255,255,0.90) !important;
}

.nav .brand span {
  color: rgba(255,255,255,0.65) !important;
}

/* Menu hover */
.nav .menu a:hover {
  color: rgba(255,255,255,0.96) !important;
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.14) !important;
}

/* Active pill */
.nav .menu a.active {
  background: rgba(214, 181, 106, 0.18) !important;
  border-color: rgba(214, 181, 106, 0.45) !important;
  color: rgba(255,255,255,0.96) !important;
}

/* Primary button = Explore Listings: ALWAYS readable */
.nav .btn.primary {
  background: rgba(214, 181, 106, 0.92) !important;
  color: #111 !important;
  border: 0 !important;
}

.nav .btn.primary:hover,
.nav .btn.primary:focus {
  background: #e3c57b !important; /* lighter gold on hover */
  color: #111 !important;
}

.nav .btn.primary:hover *,
.nav .btn.primary:focus * {
  color: #111 !important;
}

/* Non-primary buttons hover still readable */
.nav .btn:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.20) !important;
}

/* --------- LIGHT SECTIONS: one single definition --------- */
.section-light {
  background: linear-gradient(180deg, #eef7f4, #dff1ea);
  color: #0b1320;
}

/* Page hero area (About / Properties / Contact) */
.page-hero.section-light {
  background: linear-gradient(180deg, #eaf6f2, #dff1ea);
}

/* Headings MUST be dark (fixes the washed-out “Properties”) */
.section-light h1,
.section-light h2,
.section-light h3,
.page-hero.section-light h1 {
  color: #0b1320 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Paragraphs, breadcrumbs */
.section-light p,
.section-light li {
  color: rgba(11,19,32,0.78);
}

.section-light .breadcrumbs {
  color: rgba(11,19,32,0.60);
}

/* Cards on light background */
.section-light .card {
  background: rgba(255,255,255,0.96);
  color: #0b1320;
  border: 1px solid rgba(11,19,32,0.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

/* Chips on light background */
.section-light .chip {
  background: rgba(214,181,106,0.18);
  border: 1px solid rgba(214,181,106,0.28);
  color: rgba(11,19,32,0.80);
}

/* --------- FORMS on light sections: always readable --------- */
.section-light label {
  color: rgba(11,19,32,0.80);
  font-weight: 650;
}

.section-light input,
.section-light textarea,
.section-light select {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(214,181,106,0.55);
  color: #0b1320;
}

.section-light input::placeholder,
.section-light textarea::placeholder {
  color: rgba(11,19,32,0.45);
}

/* --------- FILTERS PANEL (Properties page) --------- */
#filtersPanel {
  background: linear-gradient(180deg, #f3ead7, #f7f1e4);
  border: 1px solid rgba(214,181,106,0.45);
  border-radius: 16px;
}

/* Ensure EVERYTHING inside is readable */
#filtersPanel,
#filtersPanel * {
  color: rgba(31,24,14,0.92) !important;
}

#filtersPanel .muted,
#filtersPanel .help {
  color: rgba(61,46,24,0.70) !important;
}

/* Inputs/selects inside filters */
#filtersPanel input,
#filtersPanel select {
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid rgba(214,181,106,0.60) !important;
  color: rgba(31,24,14,0.95) !important;
  border-radius: 12px;
}

/* Buttons inside filters */
#filtersPanel .btn {
  background: rgba(255,255,255,0.40) !important;
  border: 1px solid rgba(214,181,106,0.60) !important;
  color: rgba(31,24,14,0.95) !important;
  opacity: 1 !important;
}

#filtersPanel .btn:hover {
  background: rgba(255,255,255,0.62) !important;
}

/* Apply (primary) */
#filtersPanel .btn.primary {
  background: rgba(214,181,106,0.95) !important;
  color: #111 !important;
  border: 0 !important;
}

#filtersPanel .btn.primary:hover {
  background: #caa453 !important;
  color: #111 !important;
}

/* Register button on the far right: keep readable */
#filtersPanel a.btn {
  color: rgba(31,24,14,0.95) !important;
}

/* --------- CONTACT PAGE PANELS (if you used .contact-panel) --------- */
.contact-panel {
  background: linear-gradient(180deg, #f3ead7, #f7f1e4) !important;
  border: 1px solid rgba(214,181,106,0.45) !important;
  border-radius: 16px;
}

/* =========================================================
   FINAL OVERRIDES (PASTE AT VERY BOTTOM OF styles.css)
   Goal:
   1) SAME nav/header color on ALL pages (match index)
   2) Fix unreadable buttons/text in light sections (About/Properties/Contact)
   3) Fix Explore Listings hover (never turns unreadable)
   4) Fix Properties filters panel contrast (Reset/Apply/labels)
   ========================================================= */

/* ---------- 1) GLOBAL NAV BAR: force same look everywhere ---------- */
header.nav,
.nav {
  position: fixed !important;          /* keep consistent with index */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* This is the "home/index" style dark overlay regardless of page background */
  background: linear-gradient(
    180deg,
    rgba(7, 11, 19, 0.92),
    rgba(7, 11, 19, 0.72)
  ) !important;

  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

/* Ensure content doesn't hide under fixed nav */
main {
  padding-top: 86px !important; /* adjust if your nav height changes */
}

/* Nav text always readable */
header.nav .brand strong,
header.nav .menu a,
header.nav .nav-cta .btn,
.nav .brand strong,
.nav .menu a,
.nav .nav-cta .btn {
  color: rgba(255,255,255,0.92) !important;
}

header.nav .brand span,
.nav .brand span {
  color: rgba(255,255,255,0.66) !important;
}

/* Menu hover/active consistent */
header.nav .menu a:hover,
.nav .menu a:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.16) !important;
  color: rgba(255,255,255,0.96) !important;
}

header.nav .menu a.active,
.nav .menu a.active {
  background: rgba(212,175,55,0.18) !important;
  border-color: rgba(212,175,55,0.45) !important;
  color: rgba(255,255,255,0.96) !important;
}

/* Explore Listings button stays readable always */
header.nav .btn.primary,
.nav .btn.primary {
  background: linear-gradient(
    90deg,
    rgba(212,175,55,0.95),
    rgba(212,175,55,0.78)
  ) !important;
  color: #0b1320 !important;
  border: 1px solid rgba(212,175,55,0.55) !important;
}

header.nav .btn.primary:hover,
header.nav .btn.primary:focus,
.nav .btn.primary:hover,
.nav .btn.primary:focus {
  background: linear-gradient(
    90deg,
    rgba(235,198,98,0.98),
    rgba(212,175,55,0.90)
  ) !important;
  color: #0b1320 !important;
  border-color: rgba(235,198,98,0.65) !important;
}

/* Other nav buttons keep dark-glass look */
header.nav .btn:not(.primary),
.nav .btn:not(.primary) {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.92) !important;
}

/* ---------- 2) LIGHT SECTIONS: fix headings + buttons readability ---------- */
/* If you use .section-light anywhere, force good contrast */
.section-light {
  color: #0b1320 !important;
}

/* Headings on light areas MUST be dark (your old rule used var(--text) which is light) */
.section-light h1,
.section-light h2,
.section-light h3,
.page-hero h1 {
  color: #0b1320 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Muted text on light areas */
.section-light .muted,
.section-light .breadcrumbs,
.section-light p,
.section-light li {
  color: rgba(11, 19, 32, 0.72) !important;
}

/* Cards on light sections still fine; keep readable text */
.section-light .card {
  color: #0b1320 !important;
}

/* IMPORTANT: Fix "Ask for a shortlist" and ANY primary buttons on light background */
.section-light .btn.primary,
.section-light a.btn.primary,
.section-light button.btn.primary {
  background: linear-gradient(90deg, #d6b56a, #e6cc86) !important;
  color: #0b1320 !important;          /* FORCE readable */
  border: 1px solid rgba(201,179,122,0.75) !important;
}

.section-light .btn.primary:hover,
.section-light a.btn.primary:hover,
.section-light button.btn.primary:hover {
  background: linear-gradient(90deg, #caa453, #e0c57a) !important;
  color: #0b1320 !important;
}

/* Chips on light sections */
.section-light .chip {
  background: rgba(214,181,106,0.18) !important;
  border-color: rgba(201,179,122,0.55) !important;
  color: #0b1320 !important;
}

/* ---------- 3) PROPERTIES FILTERS PANEL: readable labels + buttons ---------- */
/* Your HTML/JS may or may not use #filtersPanel.
   This block covers both ID and class variants just in case. */
#filtersPanel,
.filtersPanel,
.filters-panel,
.card#filtersPanel {
  background: linear-gradient(180deg, #f3ead7, #f7f1e4) !important;
  border: 1px solid rgba(201,179,122,0.75) !important;
  color: #0b1320 !important;
}

/* Labels and helper text */
#filtersPanel label,
#filtersPanel .muted,
#filtersPanel .help,
#filtersPanel small,
.filtersPanel label,
.filtersPanel .muted,
.filtersPanel .help,
.filters-panel label,
.filters-panel .muted,
.filters-panel .help {
  color: rgba(11, 19, 32, 0.75) !important;
  font-weight: 600;
}

/* Inputs/selects (high visibility) */
#filtersPanel input,
#filtersPanel select,
.filtersPanel input,
.filtersPanel select,
.filters-panel input,
.filters-panel select {
  background: #ffffff !important;
  border: 1px solid rgba(201,179,122,0.85) !important;
  color: #0b1320 !important;
}

/* Reset/Register (non-primary buttons) */
#filtersPanel .btn,
#filtersPanel a.btn,
.filtersPanel .btn,
.filtersPanel a.btn,
.filters-panel .btn,
.filters-panel a.btn {
  background: rgba(255,255,255,0.65) !important;
  border: 1px solid rgba(201,179,122,0.85) !important;
  color: #0b1320 !important;        /* FIX unreadable reset */
  opacity: 1 !important;
}

/* Apply (primary) */
#filtersPanel .btn.primary,
#filtersPanel a.btn.primary,
.filtersPanel .btn.primary,
.filtersPanel a.btn.primary,
.filters-panel .btn.primary,
.filters-panel a.btn.primary {
  background: linear-gradient(90deg, #d6b56a, #e6cc86) !important;
  color: #0b1320 !important;
  border: 1px solid rgba(201,179,122,0.85) !important;
}

/* Hover */
#filtersPanel .btn:hover,
#filtersPanel a.btn:hover,
.filtersPanel .btn:hover,
.filtersPanel a.btn:hover,
.filters-panel .btn:hover,
.filters-panel a.btn:hover {
  background: rgba(255,255,255,0.85) !important;
  color: #0b1320 !important;
}

/* =====================================
   Bigger font for dropdowns (Any menu)
   Properties filters
   ===================================== */

#filtersPanel select,
.filtersPanel select,
.filters-panel select,
.section-light select,
select {
  font-size: 16px !important;   /* was ~13–14px */
  font-weight: 600;
}

/* Dropdown options inside the menu */
select option {
  font-size: 15px;
}

/* =====================================
   PREMIUM DROPDOWN STYLING (Select / Any)
   ===================================== */

/* Base dropdown */
.section-light select,
#filtersPanel select,
select {
  font-size: 16px !important;
  font-weight: 600;
  padding: 12px 40px 12px 14px;
  border-radius: 12px;
  border: 1px solid #c9b37a;
  background-color: #ffffff;
  color: #1a1a1a;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23c9b37a' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;

  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

/* Hover */
.section-light select:hover,
#filtersPanel select:hover,
select:hover {
  border-color: #d6b56a;
  background-color: #fffdf8;
}

/* Focus (when clicked) */
.section-light select:focus,
#filtersPanel select:focus,
select:focus {
  outline: none;
  border-color: #d6b56a;
  box-shadow: 0 0 0 3px rgba(214,181,106,0.25);
  background-color: #ffffff;
}

/* Disabled look (like Reset sometimes) */
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Dropdown options */
select option {
  font-size: 15px;
  padding: 10px;
  background: #ffffff;
  color: #1a1a1a;
}

/* Fix dark text in light panels */
.section-light label {
  font-size: 14px;
  font-weight: 600;
  color: #3a2f14;
}

/* Make filter rows breathe */
#filtersPanel .form-row,
.section-light .form-row {
  gap: 16px;
}

/* Mobile friendly */
@media (max-width: 600px) {
  select {
    font-size: 16px !important;
    padding: 14px 40px 14px 14px;
  }
}

/* Added for premium pulldown */

/* =========================================================
   PREMIUM SELECT (DROPDOWNS) — Luxury Real Estate Style
   Paste at the very bottom of styles.css
   ========================================================= */

/* Fine-tune colors for “gold” theme (uses your palette) */
:root{
  --gold: #d6b56a;
  --gold2: #c9b37a;
  --goldGlow: rgba(214,181,106,.28);
  --ink: #111111;
  --paper: #ffffff;
  --paper2: #fffdf8;
}

/* Works globally, but especially nice in #filtersPanel / .section-light */
select{
  font-size: 16px !important;
  font-weight: 650;
  letter-spacing: .2px;

  padding: 12px 44px 12px 14px;
  border-radius: 14px;

  border: 1px solid rgba(201,179,122,.85);
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper), var(--paper2));

  /* Depth */
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.85);

  /* Remove native style */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Luxury arrow (gold) */
  background-image:
    radial-gradient(18px 18px at calc(100% - 18px) 50%, rgba(214,181,106,.18), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23d6b56a'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position:
    right 12px center,
    right 14px center;
  background-size:
    34px 34px,
    18px 18px;

  transition:
    transform .12s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

/* Hover = slightly lifted */
select:hover{
  border-color: rgba(214,181,106,.95);
  background: linear-gradient(180deg, #ffffff, #fffaf0);
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.90);
}

/* Focus = gold glow ring */
select:focus{
  outline: none;
  border-color: rgba(214,181,106, 1);
  box-shadow:
    0 0 0 4px var(--goldGlow),
    0 14px 30px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.90);
  transform: translateY(0);
}

/* Disabled */
select:disabled{
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Options readability */
select option{
  font-size: 15px;
  padding: 10px 12px;
  background: #ffffff;
  color: #111;
}

/* Tighten label + field spacing in the filters panel */
#filtersPanel label{
  font-size: 13px;
  font-weight: 700;
  color: #3a2f14;
  letter-spacing: .2px;
  margin-bottom: 6px;
  display: inline-block;
}

#filtersPanel select{
  width: 100%;
}

/* Make the dropdown row spacing more premium */
#filtersPanel .form-row{
  gap: 18px;
}

/* Mobile-friendly (bigger tap targets) */
@media (max-width: 600px){
  select{
    font-size: 16px !important;
    padding: 14px 46px 14px 14px;
    border-radius: 14px;
  }
}

/* Optional: if you want selects to match inputs exactly */
#filtersPanel input,
.section-light input,
.section-light textarea{
  border-radius: 14px;
}

/* ============================
   FIX: Text not visible in LIGHT sections (Media page cards/buttons)
   Paste at VERY BOTTOM of styles.css
   ============================ */

/* Ensure headings are dark on light sections */
.section-light h1,
.section-light h2,
.section-light h3 {
  color: #0b1320 !important;
}

/* Buttons inside light sections must have dark readable text */
.section-light .btn {
  color: #111 !important;
  background: rgba(17, 17, 17, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
}

.section-light .btn:hover {
  background: rgba(17, 17, 17, 0.10) !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
}

/* Keep primary buttons premium in light sections */
.section-light .btn.primary {
  background: #d6b56a !important;
  color: #111 !important;
  border: 0 !important;
}
.section-light .btn.primary:hover {
  background: #caa453 !important;
}

/* Badge readability on light cards */
.section-light .badge {
  color: #2a2418 !important;
  border-color: rgba(214, 181, 106, 0.55) !important;
  background: rgba(214, 181, 106, 0.18) !important;
}

/* Notice bar text should be dark on light background */
.section-light .notice {
  color: #1a1a1a !important;
  border-color: rgba(0,0,0,0.15) !important;
  background: rgba(125,211,252,0.15) !important;
}

/* ============================
   FIX: Contact page text visibility inside .section-light cards
   ============================ */

/* Any text that uses theme vars inside light cards must be forced darker */
.section-light .card,
.section-light .card * {
  color: #1a1a1a;
}

/* Keep muted text still muted but readable */
.section-light .card .muted,
.section-light .card .help {
  color: #4b5563 !important;
}

/* Labels should be dark on light forms */
.section-light label {
  color: #2a2418 !important;
  font-weight: 600;
}

/* Inputs/selects/textarea text + placeholder readable */
.section-light input,
.section-light select,
.section-light textarea {
  color: #111 !important;
}

.section-light input::placeholder,
.section-light textarea::placeholder {
  color: #6b7280 !important;
}

/* Strong tags in light cards (fixes Broker/Phone/Email labels) */
.section-light .card strong {
  color: #0b1320 !important;
}

/* Buttons in light cards */
.section-light .card .btn {
  color: #111 !important;
  background: rgba(17, 17, 17, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
}
.section-light .card .btn:hover {
  background: rgba(17, 17, 17, 0.10) !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
}

/* Primary buttons */
.section-light .card .btn.primary {
  background: #d6b56a !important;
  color: #111 !important;
  border: 0 !important;
}
.section-light .card .btn.primary:hover {
  background: #caa453 !important;
}

/* Privacy page readability */
.privacy-text {
  color: #1a1a1a !important;
  white-space: pre-line; /* keeps your line breaks */
}

/* Sitemap readability */
.sitemap-list {
  line-height: 1.9;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.sitemap-list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,.18);
}

.sitemap-list a:hover {
  border-bottom-color: rgba(0,0,0,.45);
}

/* Property details readability */
.details-list{
  margin-top: 10px;
  line-height: 1.8;
  padding-left: 18px;
  color: var(--text);
}
.details-list li{
  color: var(--text);
}

/* =========================================================
   FINAL CLEAN MODALS (Register vs Gallery) — KEEP ONLY THIS
   ========================================================= */

/* Base modal shell */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.68);
  z-index: 9999;
}
.modal.open{ display:flex; }

/* ---------- REGISTER MODAL (Book a Viewing) ---------- */
.modal.modal-register{
  background: rgba(7, 11, 19, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal.modal-register .modal-inner{
  width: min(860px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.94)) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35) !important;
  color: #0b1320 !important;
}
.modal.modal-register .modal-top{
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.75) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10) !important;
}
.modal.modal-register .modal-top strong{
  color: #0b1320 !important;
  font-size: 15px;
  letter-spacing: .2px;
}
.modal.modal-register .modal-body{
  padding: 16px 18px !important;
}

/* Ensure all text readable */
.modal.modal-register,
.modal.modal-register *{
  color: #0b1320 !important;
}

/* Cards inside modal */
.modal.modal-register .card{
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08) !important;
}

/* Inputs/selects */
.modal.modal-register input,
.modal.modal-register select,
.modal.modal-register textarea{
  background: #ffffff !important;
  border: 1px solid rgba(212,175,55,0.45) !important;
  color: #0b1320 !important;
  border-radius: 14px;
  padding: 12px 12px;
}
.modal.modal-register input:focus,
.modal.modal-register select:focus,
.modal.modal-register textarea:focus{
  outline: none;
  border-color: rgba(212,175,55,0.75) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18) !important;
}
.modal.modal-register input::placeholder,
.modal.modal-register textarea::placeholder{
  color: rgba(11,19,32,0.45) !important;
}

/* Buttons */
.modal.modal-register .btn{
  background: rgba(11,19,32,0.06) !important;
  border: 1px solid rgba(11,19,32,0.14) !important;
  color: #0b1320 !important;
}
.modal.modal-register .btn:hover{
  background: rgba(11,19,32,0.10) !important;
  border-color: rgba(11,19,32,0.22) !important;
}
.modal.modal-register .btn.primary{
  background: linear-gradient(90deg, rgba(212,175,55,0.90), rgba(230,204,134,0.92)) !important;
  border: 0 !important;
  color: #0b1320 !important;
}
.modal.modal-register .btn.primary:hover{
  background: linear-gradient(90deg, #caa453, #e0c57a) !important;
}

/* ---------- GALLERY MODAL (Image zoom) ---------- */
.modal.modal-gallery .modal-inner{
  width: min(980px, 96vw);
  background: rgba(10,16,28,.88);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transform: translateY(8px);
  opacity: 0;
  transition: 200ms ease;
}
.modal.modal-gallery.open .modal-inner{
  transform: translateY(0);
  opacity: 1;
}
.modal.modal-gallery .modal-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.modal.modal-gallery .modal-body{
  padding: 12px;
}
.modal.modal-gallery .modal-body img{
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}

/* ===== Price wrap fix (PHP on line 1, USD|SAR on line 2) ===== */
.prop-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;               /* allow price to drop to next line if needed */
}

.price{
  text-align:right;
  white-space:normal !important; /* kill any nowrap */
  overflow-wrap:anywhere;
  word-break:break-word;
  max-width:min(46vw, 260px);    /* prevents overflow on small screens */
  line-height:1.2;
}

.price .price-main{
  display:block;
  font-weight:700;
}

.price .price-sub{
  display:block;
  opacity:.78;
  font-size:.92em;
  margin-top:2px;
}

