/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red !important; */
}

/* BASE */
body {
  font-family: "Vazirmatn", sans-serif;
  background: #fff;
  color: #0f172a;
  overflow-x: hidden;
  color: #a3a3a3;
}
i {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------------HEADER ----------------- */

/* ===========================
   HEADER (GLASS + SCROLL)
=========================== */
/* =========================================================
   HEADER + OFFCANVAS (Optimized, Solid Dark Offcanvas)
   Works with Bootstrap Offcanvas + Navbar
========================================================= */

/* --------- VARIABLES --------- */
:root {
  --ep-accent: #00a3ff;
  --ep-blue: #318fe3;

  --ep-dark: #071a33; /* offcanvas solid background */
  --ep-dark-2: #0a2140;
  --ep-text-light: rgba(255, 255, 255, 0.92);
  --ep-text-light-soft: rgba(255, 255, 255, 0.62);

  --ep-text-dark: #0f172a;
  --ep-border-light: rgba(255, 255, 255, 0.12);
  --ep-border-dark: rgba(15, 23, 42, 0.12);

  --ep-radius: 14px;
  --ep-radius-sm: 5px;

  --ep-shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.35);
  --ep-shadow-md: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* --------- Z-INDEX (ALWAYS ON TOP) --------- */
.glassy-nav {
  z-index: 2147483646 !important;
}

.ep-offcanvas.offcanvas {
  z-index: 2147483647 !important;
}
/* 
.offcanvas-backdrop {
  z-index: 2147483645 !important;
} */

/* =========================================================
   HEADER
========================================================= */
.glassy-nav {
  padding: 0.55rem 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.18); */
  transition: background 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Optional: make header slightly readable on top of hero */
.glassy-nav:not(.scrolled) {
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(110%);
}

/* On scroll -> white */
.glassy-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Brand */
.brand-logo {
  height: 40px;
  width: auto;
}

/* Nav links */
.glassy-nav .nav-link {
  font-weight: 700;
  color: #fff !important;
  position: relative;
  padding: 0.35rem 0.15rem;
  transition: color 0.25s ease;
}

.glassy-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--ep-accent);
  transition: width 0.3s ease;
}
.glassy-nav .nav-link:hover::after {
  width: 100%;
}

/* scrolled link color */
.glassy-nav.scrolled .nav-link {
  color: #111 !important;
}

/* Desktop button */
.glassy-nav .btn-outline-glass {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 5px;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease;
}
.glassy-nav .btn-outline-glass:hover {
  background: rgba(0, 163, 255, 0.16);
  border-color: var(--ep-accent);
  /* transform: translateY(-1px); */
}

.glassy-nav.scrolled .btn-outline-glass {
  color: #111;
  background: #f2f4f7;
  border-color: rgba(0, 0, 0, 0.18);
}

/* Toggler / offcanvas trigger icon */
.ep-oc-trigger i {
  font-size: 2rem;
  color: #fff !important;
}
.glassy-nav.scrolled .ep-oc-trigger i {
  color: #318fe3 !important;
}

/* Remove bootstrap focus ring on toggler */
.glassy-nav .navbar-toggler:focus,
.glassy-nav .navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

/* =========================================================
   OFFCANVAS (SOLID DARK BLUE, NOT GLASS)
========================================================= */
.ep-offcanvas {
  width: min(92vw, 380px);
  border: 0 !important;

  background: white !important;
  color: var(--ep-text-light);

  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.55);
}

/* kill any “aura” or glass leftovers */
.ep-offcanvas::before {
  content: none !important;
}
.ep-offcanvas * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Offcanvas scrollbar (nice on dark) */
.ep-offcanvas .offcanvas-body {
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar {
  width: 10px;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Top area */
.ep-offcanvas__top {
  position: sticky;
  top: 0;
  z-index: 2;

  padding: 14px 16px 12px;
  background: var(--ep-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo + title */
.ep-oc-logo {
  height: 28px;
  width: auto;
}
.ep-oc-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ep-text-light);
}

/* Divider */
.ep-oc-divider {
  height: 1px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.1);
}

/* Close button */
.ep-oc-close {
  width: 38px;
  height: 38px;
  border-radius: var(--ep-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-close:hover {
  /* transform: translateY(-1px); */
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(90, 167, 255, 0.35);
}
.ep-oc-close i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Body */
.ep-offcanvas__body {
  padding: 14px 16px 18px;
}

/* Auth card */
.ep-oc-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: var(--ep-text-light);
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-auth:hover {
  /* transform: translateY(-1px); */
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(90, 167, 255, 0.35);
}

.ep-oc-auth__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ep-oc-auth__icon i {
  color: #5aa7ff;
  font-size: 1.1rem;
}
.ep-oc-auth__text {
  font-weight: 900;
}
.ep-oc-auth__chev {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.65);
}

/* Sections */
.ep-oc-section {
  margin-top: 14px;
}
.ep-oc-section__title {
  font-size: 0.82rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

/* Links */
.ep-oc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;

  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-link:hover {
  /* transform: translateY(-1px); */
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(90, 167, 255, 0.35);
}
.ep-oc-link i {
  font-size: 1.05rem;
  color: #5aa7ff;
}
.ep-oc-link__chev {
  margin-right: auto;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.62);
}

/* CTA box */
.ep-oc-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid rgba(90, 167, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.ep-oc-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-weight: 900;
  border-radius: 5px;

  padding: 12px 14px;
  background: var(--ep-blue);
  color: #fff;

  box-shadow: 0 12px 26px rgba(49, 143, 227, 0.24);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.ep-oc-cta__btn:hover {
  /* transform: translateY(-1px); */
  filter: brightness(0.98);
}

.ep-oc-cta__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

/* Backdrop (darker + premium) */
.offcanvas-backdrop.show {
  opacity: 0.78;
  background-color: #000;
}

/* =========================================================
   MOBILE POLISH
========================================================= */
@media (max-width: 991.98px) {
  /* You wanted mobile header white */
  .glassy-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }

  .glassy-nav .nav-link {
    color: #111 !important;
    font-size: 1.05rem;
  }

  .glassy-nav .btn-outline-glass {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111;
  }
  .glassy-nav .btn-outline-glass:hover {
    background: #e5e7eb;
    border-color: #cbd5e1;
    color: #000;
  }

  /* toggler icon always dark on mobile */
  .ep-oc-trigger i {
    color: #111;
  }

  .brand-logo {
    height: 34px;
  }
}

@media (max-width: 420px) {
  .ep-offcanvas {
    width: 92vw;
  }
  .brand-logo {
    height: 32px;
  }
}

.ep-offcanvas.offcanvas {
  --bs-offcanvas-width: 290px !important;
  width: 290px !important;
  max-width: 88vw !important;
}
/* =========================================================
   OFFCANVAS (WHITE THEME - SOLID, NOT GLASS)
========================================================= */

:root {
  --ep-oc-bg: #ffffff;
  --ep-oc-bg-2: #f6f8fc; /* subtle section bg */
  --ep-oc-text: rgba(15, 23, 42, 0.92);
  --ep-oc-text-soft: rgba(15, 23, 42, 0.62);
  --ep-oc-border: rgba(15, 23, 42, 0.1);
  --ep-oc-border-2: rgba(15, 23, 42, 0.08);
  --ep-oc-shadow: -24px 0 70px rgba(0, 0, 0, 0.18);
}

/* ✅ Always above everything */
.glassy-nav {
  z-index: 2147483646 !important;
}
.ep-offcanvas.offcanvas {
  z-index: 2147483647 !important;
}

/* ✅ Prevent mobile full width (Bootstrap default) */
.ep-offcanvas.offcanvas {
  --bs-offcanvas-width: 290px !important;
  width: var(--bs-offcanvas-width) !important;
  max-width: 88vw !important;
}

/* Panel base */
.ep-offcanvas {
  border: 0 !important;
  background: var(--ep-oc-bg) !important;
  color: var(--ep-oc-text) !important;
  box-shadow: var(--ep-oc-shadow);
}

/* kill any “aura/glass” */
.ep-offcanvas::before {
  content: none !important;
}
.ep-offcanvas * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrollbar (light) */
.ep-offcanvas .offcanvas-body {
  scrollbar-color: rgba(15, 23, 42, 0.28) transparent;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar {
  width: 10px;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Top sticky area */
.ep-offcanvas__top {
  position: sticky;
  top: 0;
  z-index: 2;

  padding: 14px 16px 12px;
  background: var(--ep-oc-bg) !important;
  border-bottom: 1px solid var(--ep-oc-border-2);
}

/* Title text in header */
.ep-oc-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ep-oc-text);
}

/* Divider */
.ep-oc-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--ep-oc-border-2);
}

/* Close button (white theme) */
.ep-oc-close {
  width: 38px;
  height: 38px;
  border-radius: var(--ep-radius-sm);
  border: 1px solid var(--ep-oc-border);
  background: var(--ep-oc-bg-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-close:hover {
  /* transform: translateY(-1px); */
  background: #eef3ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-close i {
  font-size: 1.1rem;
  color: rgba(15, 23, 42, 0.82);
}

/* Body padding */
.ep-offcanvas__body {
  padding: 14px 16px 18px;
}

/* Auth card (white theme) */
.ep-oc-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: var(--ep-oc-bg-2);
  border: 1px solid var(--ep-oc-border);
  color: var(--ep-oc-text);

  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-auth:hover {
  /* transform: translateY(-1px); */
  background: #eef3ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-auth__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;

  background: #ffffff;
  border: 1px solid rgba(49, 143, 227, 0.18);
}
.ep-oc-auth__icon i {
  color: var(--ep-blue);
  font-size: 1.1rem;
}
.ep-oc-auth__text {
  font-weight: 900;
  color: var(--ep-oc-text);
}
.ep-oc-auth__chev {
  margin-right: auto;
  color: rgba(15, 23, 42, 0.5);
}

/* Section titles */
.ep-oc-section {
  margin-top: 14px;
}
.ep-oc-section__title {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ep-oc-text-soft);
  margin-bottom: 10px;
}

/* Links (white theme) */
.ep-oc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: #ffffff;
  border: 1px solid var(--ep-oc-border);
  color: var(--ep-oc-text);

  margin-bottom: 10px;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-link:hover {
  /* transform: translateY(-1px); */
  background: #f2f7ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-link i {
  font-size: 1.05rem;
  color: var(--ep-blue);
}
.ep-oc-link__chev {
  margin-right: auto;
  opacity: 0.75;
  color: rgba(15, 23, 42, 0.55);
}

/* CTA box (white theme) */
.ep-oc-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(49, 143, 227, 0.2);
  background: linear-gradient(180deg, #f6f9ff, #ffffff);
}
.ep-oc-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  font-weight: 900;
  border-radius: 5px;

  padding: 12px 14px;
  background: var(--ep-blue);
  color: #fff;

  box-shadow: 0 12px 26px rgba(49, 143, 227, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.ep-oc-cta__btn:hover {
  /* transform: translateY(-1px); */
  filter: brightness(0.98);
}
.ep-oc-cta__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ep-oc-text-soft);
}

/* Backdrop (premium, not too dark) */
.offcanvas-backdrop.show {
  opacity: 0.55;
  background-color: #000;
}

/* Tiny screens */
@media (max-width: 420px) {
  .ep-offcanvas.offcanvas {
    --bs-offcanvas-width: 280px !important;
    max-width: 90vw !important;
  }
}

/* ================================
   AGENCIES HERO – Trendy EskanPars
================================== */

.agencies-hero {
  position: relative;

  background: radial-gradient(
      circle at 0% 0%,
      rgba(93, 173, 236, 0.32),
      transparent 58%
    ),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.26), transparent 62%),
    url("/src/img/eskanAgencyBg.png") center/cover no-repeat;

  /* brighten image a bit */
  filter: brightness(1.08) contrast(1.03) saturate(1.08);

  color: #f9fafb;
  padding-block: clamp(4rem, 9vh, 6rem);
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.agencies-hero__overlay {
  position: absolute;
  inset: 0;

  /* ✅ less dark + more airy */
  background: radial-gradient(
      circle at 50% 20%,
      rgba(255, 255, 255, 0.1),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.62),
      rgba(15, 23, 42, 0.5) 45%,
      rgba(15, 23, 42, 0.38) 100%
    );

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  z-index: 1;
}
/* نیم‌شفاف‌کردن بک‌گراند برای خوانایی متن */

.agencies-hero__content {
  position: relative;
  z-index: 2;
}

/* Glow پایین سکشن برای اتصال بصری به سکشن بعدی */

/* Badge بالای تیتر */
.agencies-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.9rem;
  padding-inline: 0.9rem;
}

/* تیتر و متن */
.agencies-hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.agencies-hero p.lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.9;
  color: #e5f2ff;
  max-width: 620px;
  margin-inline: auto;
}

/* ================================
   STATS – Glassy Cards
================================== */

.agencies-stats {
  margin-top: clamp(2.2rem, 4vh, 3rem);
}

.agencies-stats .stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.1rem 0.9rem;
  border-radius: 5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 0.3s ease;
  /* box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35); */
}

/* Hover → کمی شناور و هایلایت آبی */
.agencies-stats .stat-box:hover {
  transform: translateY(-6px);
  border-color: #5dadec;
  /* box-shadow: 0 18px 40px rgba(93, 173, 236, 0.5); */
}

.agencies-stats .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.agencies-stats .stat-label {
  font-size: 0.88rem;
  color: #d1e4ff;
  opacity: 0.95;
}

/* ================================
   RESPONSIVE
================================== */

@media (max-width: 991.98px) {
  .agencies-hero {
    text-align: center;
    padding: 4.5rem 0 3.2rem;
  }

  .agencies-hero .col-lg-6.text-lg-end {
    text-align: center !important;
  }

  .agencies-hero .col-lg-6.py-5 {
    padding-block: 2.2rem !important;
  }

  .agencies-hero p.lead {
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .agencies-hero {
    padding: 4.5rem 0 2.8rem;
  }

  .agencies-badge {
    font-size: 0.8rem;
    padding-inline: 0.75rem;
  }

  .agencies-hero h1 {
    font-size: 1.5rem;
  }

  .agencies-hero p.lead {
    font-size: 0.9rem;
  }

  .agencies-stats .stat-box {
    padding: 0.9rem 0.7rem;
    border-radius: 5px;
  }

  .agencies-stats .stat-value {
    font-size: 1.3rem;
  }

  .agencies-stats .stat-label {
    font-size: 0.82rem;
  }
}
/* ============================
   PROPERTY FILTER – v2 (EskanPars theme)
============================ */

/* پس‌زمینه نرم پشت سکشن */
.property-filter {
  /* background: radial-gradient(
    circle at top,
    #e5f0ff 0,
    #f3f4f8 38%,
    #eef2ff 100%
  ); */
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
}

/* ظرف اصلی کارت */
.property-filter .filter-shell {
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  padding: 1.1rem 2rem;
  position: relative;
  overflow: visible;
}

/* هاله ملایم بالای کارت */
.property-filter .filter-shell::before {
  content: "";
  position: absolute;
  inset-inline: 15%;
  top: -46px;
  height: 86px;

  pointer-events: none;
}

/* هدر فیلتر */
.property-filter .filter-header {
  position: relative;
  z-index: 1;
}

.filter-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.filter-subtitle {
  font-size: 0.84rem;
  color: #6b7280;
}

/* دکمه ریست فیلتر */
.filter-reset {
  font-size: 0.8rem;
  color: #1d4ed8;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.filter-reset i {
  font-size: 0.9rem;
}

.filter-reset:hover {
  color: #153eaf;
  transform: translateY(-1px);
}

/* لیبل‌ها */
.property-filter label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 4px;
}

/* ============================
   INPUT + ICON  (نام)
============================ */

.property-filter .input-with-icon {
  position: relative;
}

.property-filter .input-with-icon i {
  position: absolute;
  inset-inline-start: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 1rem;
  pointer-events: none;
}

.property-filter .input-with-icon input {
  border: 1px solid #d1d5db;
  border-radius: 5px;
  padding: 0.6rem 0.75rem;
  padding-inline-start: 2.3rem;
  font-size: 0.94rem;
  background: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* فوکوس اینپوت نام */
.property-filter .input-with-icon input:focus {
  border-color: #1d4ed8;
  outline: none;
  background: #f9fbff;
}

/* ============================
   DROPDOWN BUTTONS
============================ */

.property-filter .filter-dd {
  border: 1px solid #d1d5db;
  border-radius: 5px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  background: #ffffff;
  color: #111827;
  text-align: right;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* فلش همیشه سمت چپ */
.property-filter .filter-dd.dropdown-toggle::after {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* پدینگ برای فلش */
.property-filter .filter-dd {
  padding-right: 0.75rem;
  padding-left: 2.1rem;
}

/* حالت غیرفعال */
.property-filter .filter-dd.disabled,
.property-filter .filter-dd:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  border-style: dashed;
}

/* hover / focus */
.property-filter .filter-dd:hover:not(.disabled),
.property-filter .filter-dd:focus-visible:not(.disabled) {
  border-color: #1d4ed8;
  background: #f9fbff;
}

/* ============================
   DROPDOWN MENU + لیست
============================ */

.property-filter .dropdown-menu {
  border: 1px solid #d1d5db;
  border-radius: 5px;
  max-height: 260px;
  overflow: hidden;
}

.property-filter .dropdown-search {
  border-radius: 5px;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}

/* اسکرول لیست */
.property-filter .max-h {
  max-height: 200px;
  overflow-y: auto;
}

.property-filter .max-h::-webkit-scrollbar {
  width: 4px;
}
.property-filter .max-h::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.85);
  border-radius: 999px;
}
.property-filter .max-h::-webkit-scrollbar-track {
  background: transparent;
}

/* آیتم‌های لیست */
.property-filter .list-group.list-group-flush .list-group-item {
  font-size: 0.86rem;
  padding: 0.45rem 0.55rem;
  border-radius: 5px;
  border: none;
  margin-bottom: 2px;
  color: #111827;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.property-filter .list-group.list-group-flush .list-group-item:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

/* ============================
   دکمه جستجو
============================ */

.property-filter .search-btn {
  background: #3490e3;
  border: none;
  border-radius: 5px;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 0.22s ease, transform 0.12s ease;
}

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

.property-filter .search-btn:hover {
}

.property-filter .search-btn:active {
}

/* ============================
   TAGS (برچسب انتخاب‌شده)
============================ */

.property-filter .selected-row {
  position: relative;
  z-index: 1;
}

.property-filter .selected-tags {
  min-height: 1.5rem;
}

.property-filter .selected-tags .tag {
  background: #f3f4ff;
  border: 1px solid #d1d5db;
  color: #111827;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.property-filter .selected-tags .tag i {
  cursor: pointer;
  color: #6b7280;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.15s ease;
}

.property-filter .selected-tags .tag i:hover {
  color: #ef4444;
  transform: scale(1.1);
}

/* ============================
   RESPONSIVE
============================ */

/* تبلت و پایین‌تر */
@media (max-width: 991.98px) {
  .property-filter .filter-shell {
    padding: 1.3rem 1.15rem;
    border-radius: 5px;
  }

  .filter-title {
    font-size: 0.98rem;
  }

  .filter-subtitle {
    font-size: 0.8rem;
  }

  .property-filter label {
    font-size: 0.78rem;
  }

  .property-filter .input-with-icon input,
  .property-filter .filter-dd {
    font-size: 0.86rem;
    padding-block: 0.55rem;
  }

  .property-filter .search-btn {
    width: 100%;
  }
}

/* موبایل کوچک */
@media (max-width: 575.98px) {
  .property-filter {
    padding-block: 1.1rem;
  }

  .property-filter .filter-shell {
    padding: 1rem 0.85rem;
  }

  .property-filter .input-with-icon i {
    inset-inline-start: 0.6rem;
  }

  .property-filter .input-with-icon input {
    padding-inline-start: 2rem;
  }

  .property-filter .filter-dd {
    font-size: 0.84rem;
  }

  .property-filter .selected-tags {
    margin-top: 0.3rem;
  }
}

/* SECTION WRAPPER */
.estate-list {
  background: radial-gradient(circle at 0% 0%, #eff6ff 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #e0f2fe 0, transparent 60%), #f9fafb;
}

/* عنوان بخش */
.estate-list-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
}
.estate-list-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}
.estate-list-count {
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e5f0ff;
  color: #3490e3;
  font-weight: 600;
}

/* =========================
   AGENCY CARD (compact + pro)
   - RTL content
   - img top
   - tight spacing
   - radius 7px
========================= */

.agc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  cursor: pointer;
  transition: 0.3s ease;
}
.agc-card:hover {
  border-color: rgba(49, 143, 227, 0.45);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}
.agc-card:hover img {
  filter: brightness(0.88);
}
.agc-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.agc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: 0.3s ease;
}

.agc-body {
  padding: 10px 12px 12px;
  direction: rtl;
}

/* top row: agency name + socials */
.agc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.agc-agency {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 950;
  color: #0f172a;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* socials */
.agc-socials {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.agc-social {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: transparent;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.12s ease,
    border-color 0.18s ease;
}
.agc-social i {
  color: #318fe3;
  font-size: 1.02rem;
  line-height: 1;
}
.agc-social:hover {
  background: #318fe3;
  border-color: #318fe3;
  transform: translateY(-1px);
}
.agc-social:hover i {
  color: #fff;
}

/* list (no bg blocks, just separators) */
.agc-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.agc-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}
.agc-line:first-child {
  border-top: none;
  padding-top: 0;
}

.agc-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}
.agc-label i {
  color: #318fe3;
  font-size: 1rem;
}

/* values should read LTR but stay on the left side */
.agc-val {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 950;
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  white-space: nowrap;
}
.agc-val a {
  color: inherit;
  text-decoration: none;
}
.agc-val a:hover {
  color: #318fe3;
  text-decoration: underline;
}

/* footer: status + profile btn */
.agc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
}

.agc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.agc-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.agc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 8px 10px;
  background: #dcecfc;
  color: #318fe3;
  font-weight: 950;
  font-size: 0.86rem;
  text-decoration: none;
  border: 1px solid rgba(49, 143, 227, 0.22);
  transition: background 0.18s ease, transform 0.12s ease, color 0.18s ease;
}
.agc-btn i {
  font-size: 1.05rem;
  color: #318fe3;
}
.agc-btn:hover {
  background: #318fe3;
  color: #fff;
}
.agc-btn:hover i {
  color: #fff;
}

@media (max-width: 575.98px) {
  .agc-body {
    padding: 10px 10px 11px;
  }
  .agc-agency {
    font-size: 1rem;
  }
  .agc-social {
    width: 30px;
    height: 30px;
  }
}

.soft-footer {
  background: radial-gradient(
    circle at top,
    #f9fafb 0,
    #f2f3f5 45%,
    #e5e7eb 100%
  );
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  color: #4b5563;
  font-size: 0.9rem;
}

/* روی هر چیزی داخل فوتر، رنگ متن را کنترل می‌کنیم */
.soft-footer * {
  color: inherit;
}

/* عنوان هر ستون */
.soft-footer-title {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
  color: #111827;
}

/* لینک‌ها */
.soft-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.soft-footer-links li {
  margin-bottom: 0.45rem;
}

.soft-footer-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.soft-footer-links a:hover {
  color: #111827;
  transform: translateX(-2px);
}

/* لوگو و شبکه اجتماعی */
.soft-footer .col:first-child p {
  color: #6b7280;
}

/* آیکن شبکه اجتماعی در دایره ملایم */
.footer-social-icon {
  font-size: 1.4rem;
  color: #4b5563;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e5e7eb;
}

.footer-social-icon:hover {
  color: #000;
  /* transform: translateY(-1px); */
}

/* دکمه دانلود اپ */
.soft-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  background: #3490e3;
  color: #ffffff;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  width: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}

.soft-download-btn i {
  font-size: 1rem;
}

.soft-download-btn:hover {
  background: #2677c6;
  /* transform: translateY(-2px); */
}

/* پایین فوتر */
.soft-footer-bottom {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.8;
}

/* خط بالای بخش پایینی کمی ملایم‌تر */
.soft-footer-bottom.border-top {
  border-color: #e5e7eb !important;
}

/* ========= Responsive Tweaks ========= */

/* تراز بهتر روی تبلت و موبایل */
@media (max-width: 991.98px) {
  .soft-footer .row > .col {
    text-align: center;
  }

  .soft-footer img[alt="لوگو"] {
    margin: 0 auto 0.75rem;
    display: block;
  }

  .soft-footer .col:nth-child(4) img {
    max-width: 120px;
    margin: 0 auto;
    display: block;
  }

  .soft-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 575.98px) {
  .soft-footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .soft-footer-title {
    margin-top: 0.5rem;
  }

  .soft-footer .row {
    row-gap: 1.5rem;
  }
}
