/* ============================================================
   Amhi Daundkar – Public Site CSS
   Design System v1.0
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:       #1a3a6b;
  --primary-dark:  #0f2347;
  --primary-light: #2a5298;
  --accent:        #e85d04;
  --accent-hover:  #c94e00;
  --accent2:       #f9c74f;
  --success:       #28a745;
  --danger:        #dc3545;
  --warning:       #ffc107;
  --info:          #17a2b8;

  --bg:            #f4f6fb;
  --bg-card:       #ffffff;
  --bg-dark:       #0b1426;
  --bg-section:    #eef2f9;

  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --border:        #e2e8f0;
  --border-focus:  #2a5298;

  --font-main:    'Inter', 'Mukta', sans-serif;
  --font-display: 'Poppins', 'Mukta', sans-serif;
  --font-mr:      'Mukta', sans-serif;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow:    0 4px 24px rgba(26,58,107,.10);
  --shadow-lg: 0 12px 48px rgba(26,58,107,.16);
  --shadow-hover: 0 8px 32px rgba(26,58,107,.20);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --navbar-h: 70px;
  --topbar-h: 36px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--navbar-h) + 8px);
  width: 100%;
  /* overflow-x: clip prevents horizontal scroll without affecting iOS vertical scroll */
  /* Unlike 'hidden', 'clip' does NOT create a new scroll container */
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }



/* ── Global Table Responsiveness ───────────────────────────── */
.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}
.table-responsive-wrap::-webkit-scrollbar { height: 4px; }
.table-responsive-wrap::-webkit-scrollbar-track { background: var(--bg-section); }
.table-responsive-wrap::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.lang-mr { 
  font-family: var(--font-mr); 
  line-height: 1.5;
}

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  z-index: 1050;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar-left span { display: flex; align-items: center; gap: .4rem; }
.topbar-right a {
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
  position: relative;
}
.topbar-right a:hover { color: var(--accent2); }
.topbar-badge {
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px; right: -6px;
}
.topbar-register {
  background: var(--accent);
  color: #fff !important;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-main {
  background: #fff;
  height: var(--navbar-h);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  top: 0 !important;
  z-index: 1040;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar-main.scrolled {
  box-shadow: 0 4px 30px rgba(26,58,107,.15);
}

/* Logo sizing — Bootstrap's .navbar-brand has line-height:inherit which
   can squish images. These overrides ensure the uploaded logo is fully visible. */
.navbar-main .navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}
.site-logo-img {
  display: block;
  height: 56px;         /* fallback if PHP inline style somehow missing */
  max-height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* Ensure Bootstrap's img { max-width:100% } doesn't squash the logo */
  flex-shrink: 0;
}

/* Brand */
.brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: -.5px;
}
.brand-name-mr {
  font-family: var(--font-mr);
  font-size: .85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Nav Links */
.navbar-main .navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem .75rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.navbar-main .navbar-nav .nav-link:hover,
.navbar-main .navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--bg-section);
}
.navbar-main .navbar-nav .nav-link i {
  font-size: .8rem;
  opacity: .7;
}

/* Nav Search */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 400px;
  margin: 0 1rem;
}
.search-form {
  display: flex;
  background: var(--bg-section);
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
  background: #fff;
}
.search-type {
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  padding: .5rem .75rem;
  font-size: .8rem;
  color: var(--text);
  cursor: pointer;
  min-width: 90px;
  outline: none;
}
.search-input {
  flex: 1;
  border: none;
  background: none;
  padding: .5rem .75rem;
  font-size: .9rem;
  outline: none;
  color: var(--text);
}
.search-input::placeholder { color: var(--text-light); }
.search-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: .5rem 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--primary-dark); }
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
}
.search-suggestions.active { display: block; }
.suggestion-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1rem;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}
.suggestion-item:hover { background: var(--bg-section); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .8rem;
  flex-shrink: 0;
}
.suggestion-text { font-size: .85rem; }
.suggestion-meta { font-size: .75rem; color: var(--text-muted); }

/* Add Listing Btn */
.btn-add-listing {
  background: linear-gradient(135deg, var(--accent), #ff7b00);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(232,93,4,.3);
  white-space: nowrap;
}
.btn-add-listing:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,93,4,.4);
}

/* Mega Menu */
.mega-menu {
  width: 600px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.mega-menu-inner { display: flex; gap: .5rem; }
.mega-col { flex: 1; }
.mega-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text);
  transition: all var(--transition);
}
.mega-link:hover {
  background: var(--bg-section);
  color: var(--primary);
  transform: translateX(3px);
}
.mega-link i { width: 16px; color: var(--primary); opacity: .7; }
.mega-all { color: var(--primary); font-weight: 600; }

/* Dropdown More */
.dropdown-more {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
}
.dropdown-more .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: all var(--transition);
}
.dropdown-more .dropdown-item i { width: 18px; color: var(--primary); }
.dropdown-more .dropdown-item:hover { background: var(--bg-section); color: var(--primary); }

/* Mobile toggler */
.toggler-icon {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  position: relative;
  transition: all var(--transition);
}
.toggler-icon::before, .toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%; height: 2px;
  background: var(--primary);
  left: 0;
  transition: all var(--transition);
}
.toggler-icon::before { top: -7px; }
.toggler-icon::after  { top: 7px; }
.navbar-toggler { border: none; background: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Section Utilities ─────────────────────────────────────── */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-accent { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; }
.section-gray { background: var(--bg-section); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: .5rem;
  font-family: var(--font-mr);
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header .view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  transition: color var(--transition);
}
.section-header .view-all:hover { color: var(--accent); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/images/hero-daund.jpg');
  background-size: cover;
  background-position: center;
  opacity: .15;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(249,199,79,.08) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0;
  top: -20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .8rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-family: var(--font-mr);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 .highlight { color: var(--accent2); }
.hero p {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  opacity: .9;
  margin-bottom: 1.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(232,93,4,.4);
}
.btn-hero-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  color: #fff;
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* Hero Search */
.hero-search {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-top: 2rem;
}
.hero-search-inner {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.hero-search select,
.hero-search input {
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .95rem;
  outline: none;
  color: var(--text);
}
.hero-search select { min-width: 160px; }
.hero-search input { flex: 1; min-width: 200px; }
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .65rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-search-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
}
.hero-stat .lbl { font-size: .75rem; opacity: .75; }

/* Hero Quick Links (Horizontally Scrollable Auto Marquee) */
.hero-quick-links {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  user-select: none;
  padding: 15px 0;
  margin-top: auto;
  top: -25px;
  z-index: 5;
  /* Left and right side fade gradient */
  mask-image: linear-gradient(to right, transparent, #fff 10%, #fff 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #fff 10%, #fff 90%, transparent);
}
.quick-links-track {
  display: flex;
  width: max-content;
  overflow: hidden;
}
.marquee {
  gap: 0.65rem;
}
.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.65rem;
  min-width: 100%;
  animation: marquee-scroll 40s linear infinite;
}
/* Pause scrolling on hover so users can easily select items */
.hero-quick-links:hover .marquee-group {
  animation-play-state: paused;
}

.quick-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.quick-link-item:hover {
  background: var(--accent) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,93,4,.3);
}
.quick-link-item i {
  font-size: 0.85rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* ── Real Estate Section ────────────────────────────────────── */
.property-card {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.property-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--bg-section);
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.property-card:hover .property-card-img img {
  transform: scale(1.06);
}
.property-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.badge-sale { background: var(--accent); }
.badge-rent { background: var(--primary); }
.badge-land { background: #28a745; }
.badge-pg { background: #6f42c1; }

.property-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.property-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.property-title {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.property-title a {
  color: var(--text);
  transition: color var(--transition);
}
.property-title a:hover {
  color: var(--accent);
}
.property-specs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.property-spec {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.property-spec i {
  color: var(--primary-light);
}

/* ── Quick Info Bar ─────────────────────────────────────────── */
.quick-bar {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}
.quick-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.quick-bar-item {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer;
  min-width: 0;
}
.quick-bar-item:last-child { border-right: none; }
.quick-bar-item:hover { background: var(--bg-section); }
.quick-bar-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quick-bar-icon.weather { background: #fff3e0; color: #f57c00; }
.quick-bar-icon.train   { background: #e3f2fd; color: #1565c0; }
.quick-bar-icon.event   { background: #f3e5f5; color: #7b1fa2; }
.quick-bar-icon.emergency { background: #ffebee; color: #c62828; }
.quick-bar-text { line-height: 1.3; min-width: 0; flex-grow: 1; overflow: hidden; }
.quick-bar-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-bar-value { font-size: .88rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-bar-sub { font-size: .75rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Category Grid ─────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}
.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem .75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  display: block;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  color: var(--primary);
}
.category-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto .6rem;
  color: var(--primary);
  transition: all var(--transition);
}
.category-card:hover .category-icon {
  background: var(--primary);
  color: #fff;
}
.category-name {
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-mr);
  line-height: 1.3;
}
.category-count {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

/* ── Business Card ─────────────────────────────────────────── */
.business-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.business-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.business-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--bg-section);
}
.business-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.business-card:hover .business-card-img img { transform: scale(1.08); }
.business-card-badges {
  position: absolute;
  top: .6rem;
  left: .6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.business-card-fav {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  color: var(--text-muted);
}
.business-card-fav:hover { color: var(--danger); transform: scale(1.1); }
.business-card-fav.active { color: var(--danger); background: #fff; }

.business-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.business-card-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--border);
  margin-top: -28px;
  background: #fff;
  flex-shrink: 0;
}
.business-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .5rem;
}
.business-card-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  font-family: var(--font-mr);
}
.business-card-cat {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 500;
}
.business-card-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  margin-bottom: .5rem;
}
.rating-score {
  background: var(--success);
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  font-size: .78rem;
}
.business-card-addr {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  margin-bottom: .75rem;
}
.business-card-actions {
  display: flex;
  gap: .4rem;
  margin-top: auto;
}
.btn-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .4rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  border: 1.5px solid;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-card-call {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-card-call:hover { background: var(--primary); color: #fff; }
.btn-card-wa {
  border-color: #25d366;
  color: #25d366;
  background: transparent;
}
.btn-card-wa:hover { background: #25d366; color: #fff; }
.btn-card-view {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-card-view:hover { background: var(--accent); color: #fff; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .55rem; border-radius: 4px; font-size: .68rem; font-weight: 700; }
.badge-premium  { background: linear-gradient(135deg, #f6c90e, #e5a700); color: #000; }
.badge-verified { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.badge-featured { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }

/* ── News Card ─────────────────────────────────────────────── */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-section);
  position: relative;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-cat-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-weight: 600;
}
.news-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.news-card-title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .5rem;
  font-family: var(--font-mr);
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--primary); }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}
.news-card-meta span { display: flex; align-items: center; gap: .3rem; }

/* ── Event Card ──────────────────────────────────────────────── */
.event-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.event-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.event-card-img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
}
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-date-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: .35rem .6rem;
  text-align: center;
  min-width: 50px;
  box-shadow: var(--shadow);
}
.event-date-badge .day { font-size: 1.3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.event-date-badge .month { font-size: .65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.event-card-body { padding: 1rem; flex: 1; }
.event-card-title { font-size: .95rem; font-weight: 700; font-family: var(--font-mr); margin-bottom: .4rem; }
.event-card-title a { color: var(--text); }
.event-card-title a:hover { color: var(--primary); }
.event-card-info { font-size: .8rem; color: var(--text-muted); display: flex; flex-direction: column; gap: .25rem; }
.event-card-info span { display: flex; align-items: center; gap: .4rem; }
.free-badge { background: #e8f5e9; color: var(--success); padding: .15rem .5rem; border-radius: 4px; font-size: .7rem; font-weight: 600; }

/* ── Job Card ────────────────────────────────────────────────── */
.job-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid transparent;
}
.job-card:hover { box-shadow: var(--shadow-hover); border-left-color: var(--primary); transform: translateX(3px); }
.job-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.job-card-body { flex: 1; min-width: 0; }
.job-card-title { font-size: .92rem; font-weight: 700; margin-bottom: .2rem; }
.job-card-title a { color: var(--text); }
.job-card-title a:hover { color: var(--primary); }
.job-card-company { font-size: .8rem; color: var(--text-muted); }
.job-card-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.job-tag { background: var(--bg-section); border-radius: 4px; padding: .1rem .5rem; font-size: .72rem; color: var(--text-muted); }
.job-card-salary { font-size: .82rem; font-weight: 700; color: var(--success); white-space: nowrap; }

/* ── Offer Card ──────────────────────────────────────────────── */
.offer-card {
  background: linear-gradient(135deg, #fff 0%, #fffaf5 100%);
  border-radius: var(--radius);
  border: 2px solid var(--accent2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.offer-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.offer-card-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 0 0 8px 8px;
}
.offer-card-img { height: 160px; overflow: hidden; }
.offer-card-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-card-body { padding: 1rem; }
.offer-title { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.offer-business { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.offer-code {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg-section);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  font-family: monospace;
  color: var(--accent);
  cursor: pointer;
}
.offer-validity { font-size: .72rem; color: var(--text-muted); margin-top: .4rem; }

/* ── AI Poster CTA ────────────────────────────────────────────── */
.ai-poster-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}
.ai-poster-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,93,4,.2) 0%, transparent 70%);
  pointer-events: none;
}
.ai-cta-text h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: .5rem;
}
.ai-cta-text p { color: rgba(255,255,255,.7); max-width: 400px; }
.btn-ai-cta {
  background: linear-gradient(135deg, var(--accent), #ff7b00);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(232,93,4,.4);
  white-space: nowrap;
}
.btn-ai-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,93,4,.5);
  color: #fff;
}
.ai-poster-mockup {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.ai-poster-thumb {
  width: 90px; height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  transform: rotate(-3deg);
  transition: transform var(--transition);
}
.ai-poster-thumb:nth-child(2) { transform: rotate(2deg); margin-top: 10px; }
.ai-poster-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Page Banner ─────────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 3rem 0 2rem;
}
.page-banner h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--font-mr);
  margin-bottom: .25rem;
}
.breadcrumb { background: none; margin: 0; padding: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb-item { font-size: .85rem; }
.breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: rgba(255,255,255,.9); }

/* ── Filters Bar ─────────────────────────────────────────────── */
.filters-bar {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-select,
.filter-input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  font-size: .85rem;
  color: var(--text);
  background: var(--bg-section);
  outline: none;
  transition: border-color var(--transition);
}
.filter-select:focus,
.filter-input:focus { border-color: var(--primary); background: #fff; }
.filter-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.filter-btn:hover { background: var(--primary-dark); }
.filter-btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── Business Detail ─────────────────────────────────────────── */
.business-detail-header {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.business-cover {
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-section);
  margin-bottom: 1rem;
  position: relative;
}
.business-cover img { width: 100%; height: 100%; object-fit: cover; }
.business-logo-big {
  width: 80px; height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  margin-top: -50px;
  position: relative;
  z-index: 2;
  background: #fff;
}
.business-detail-name {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  font-family: var(--font-mr);
  margin-bottom: .25rem;
}
.business-detail-tabs .nav-tabs { border-bottom: 2px solid var(--border); }
.business-detail-tabs .nav-link {
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: .88rem;
  padding: .6rem 1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 0;
  transition: all var(--transition);
}
.business-detail-tabs .nav-link.active,
.business-detail-tabs .nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: none;
}

/* Contact Sidebar */
.contact-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--navbar-h) + var(--topbar-h) + 1rem);
}
.contact-sidebar h5 { font-size: .95rem; margin-bottom: 1rem; }
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
  border: none;
  margin-bottom: .6rem;
  text-decoration: none;
}
.contact-btn-call { background: var(--primary); color: #fff; }
.contact-btn-call:hover { background: var(--primary-dark); color: #fff; }
.contact-btn-wa { background: #25d366; color: #fff; }
.contact-btn-wa:hover { background: #128c7e; color: #fff; }
.contact-btn-web { background: var(--bg-section); color: var(--primary); border: 2px solid var(--primary); }
.contact-btn-web:hover { background: var(--primary); color: #fff; }
.contact-btn-share { background: var(--bg-section); color: var(--text); }

/* Enquiry Form */
.enquiry-form input,
.enquiry-form textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  font-size: .88rem;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-main);
  background: var(--bg-section);
  color: var(--text);
  margin-bottom: .6rem;
  resize: vertical;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
}
.btn-enquiry {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 100%;
  padding: .65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-enquiry:hover { background: var(--primary-dark); }

/* ── Review ──────────────────────────────────────────────────── */
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.review-text { font-size: .88rem; color: var(--text); margin-bottom: .4rem; }
.review-reply {
  background: var(--bg-section);
  border-left: 3px solid var(--primary);
  padding: .5rem .75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .82rem;
  margin-top: .5rem;
}

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: #fff; font-size: 1.5rem; }
@media (max-width: 768px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* ── Why Section ─────────────────────────────────────────────── */
.why-card {
  text-align: center;
  padding: 1.5rem;
}
.why-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 1rem;
  transition: all var(--transition);
}
.why-card:hover .why-icon { background: var(--primary); color: #fff; transform: translateY(-3px); }
.why-title { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.why-desc { font-size: .84rem; color: var(--text-muted); }

/* ── Blood Donor / Lost Found / Complaint ────────────────────── */
.donor-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}
.donor-card:hover { box-shadow: var(--shadow-hover); }
.blood-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.blood-A-pos { background: #fee2e2; color: #dc2626; }
.blood-B-pos { background: #dbeafe; color: #2563eb; }
.blood-O-pos { background: #d1fae5; color: #059669; }
.blood-AB-pos { background: #ede9fe; color: #7c3aed; }
.blood-A-neg, .blood-B-neg, .blood-O-neg, .blood-AB-neg {
  background: #fef3c7; color: #d97706;
}

/* ── Emergency ───────────────────────────────────────────────── */
.emergency-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  border-top: 4px solid var(--danger);
}
.emergency-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.emergency-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  color: var(--danger);
}
.emergency-name { font-weight: 700; margin-bottom: .25rem; }
.emergency-phone {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-label { font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  font-size: .9rem;
  transition: all var(--transition);
  background: var(--bg-section);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
  background: #fff;
}
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .65rem 1.5rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(26,58,107,.3);
}
.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,58,107,.4);
}

/* ── Loading / Spinner ───────────────────────────────────────── */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.spinner-ring {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Skeleton Loader ─────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-wave { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 280px; border-radius: var(--radius); margin-bottom: 1rem; }
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text:last-child { width: 60%; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.8); margin-top: 60px; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { max-width: 320px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-logo i { color: var(--accent); }
.footer-tagline { color: var(--accent2); font-family: var(--font-mr); font-size: .9rem; margin-bottom: .5rem; }
.footer-desc { font-size: .84rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
  color: #fff;
}
.social-btn.facebook  { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(135deg, #e1306c, #f77737); }
.social-btn.youtube   { background: #ff0000; }
.social-btn.whatsapp  { background: #25d366; }
.social-btn:hover { transform: translateY(-3px) scale(1.1); opacity: .9; }

.footer-title { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .84rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a:hover { color: var(--accent2); padding-left: 4px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .6rem;
  font-size: .84rem;
  color: rgba(255,255,255,.7);
}
.footer-contact-list i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.7); }
.footer-contact-list a:hover { color: var(--accent2); }

.footer-bottom { padding: 1.25rem 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent2); }
.footer-credit { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }

/* ── Back To Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ── WhatsApp Float ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  z-index: 899;
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 40px rgba(37,211,102,.7); }
}

/* ── Map ─────────────────────────────────────────────────────── */
.map-container {
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination-nav { margin: 2rem 0; display: flex; justify-content: center; }
.pagination .page-link {
  border-color: var(--border);
  color: var(--primary);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  font-size: .85rem;
  padding: .4rem .7rem;
  transition: all var(--transition);
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}
.pagination .page-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Star Rating ─────────────────────────────────────────────── */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating i { font-size: .85rem; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert { border: none; border-radius: var(--radius-sm); font-size: .9rem; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger  { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info    { background: #dbeafe; color: #1e40af; }

/* ── Tabs ────────────────────────────────────────────────────── */
.content-tabs .nav-pills .nav-link {
  background: var(--bg-section);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem 1rem;
  transition: all var(--transition);
}
.content-tabs .nav-pills .nav-link.active {
  background: var(--primary);
  color: #fff;
}

/* ── Property Card ─────────────────────────────────────────────── */
.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}
.property-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.property-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.property-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.property-card:hover .property-card-img img { transform: scale(1.06); }
.property-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.badge-sale { background: #dc3545; color: #fff; }
.badge-rent { background: #28a745; color: #fff; }
.badge-land { background: #fd7e14; color: #fff; }
.badge-pg   { background: #6f42c1; color: #fff; }
.property-card-body { padding: 1rem; }
.property-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .25rem;
}
.property-title { font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.property-title a { color: var(--text); }
.property-title a:hover { color: var(--primary); }
.property-specs {
  display: flex;
  gap: .75rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.property-spec { display: flex; align-items: center; gap: .3rem; }

/* ── Marketplace Card ────────────────────────────────────────── */
.market-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.market-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.market-card-img { height: 180px; overflow: hidden; background: var(--bg-section); }
.market-card-img img { width: 100%; height: 100%; object-fit: cover; }
.market-card-body { padding: .85rem; }
.market-price { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.market-title { font-size: .88rem; font-weight: 600; color: var(--text); }
.market-meta { font-size: .75rem; color: var(--text-muted); margin-top: .35rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 991px) {
  .quick-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .quick-bar-item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .quick-bar-item:nth-child(2n) { border-right: none; }
  .quick-bar-item:nth-child(3), .quick-bar-item:nth-child(4) { border-bottom: none; }
  .mega-menu { width: 100%; transform: none; left: 0; }
  .navbar-main .navbar-collapse { background: #fff; padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: .5rem; }
  .site-logo-img { height: 48px !important; max-height: 48px !important; }
}

@media (max-width: 767px) {
  :root { --navbar-h: 60px; }
  .hero { min-height: 420px; }
  .hero-content { padding: 50px 0; }
  .quick-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .quick-bar-item { padding: .75rem; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .section { padding: 40px 0; }
  .footer-top { padding: 40px 0 30px; }
  .hero-search-inner { flex-direction: column; }
  .hero-search input, .hero-search select { width: 100%; min-width: unset; }
  .ai-poster-cta { flex-direction: column; text-align: center; padding: 1.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .gallery-grid { columns: 2; }
  /* Ensure all tables are horizontally scrollable on mobile */
  table:not(.no-table-scroll) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Footer padding for fixed bottom nav */
  body { padding-bottom: 60px; }
  .site-footer { margin-bottom: 0; }
  /* Adjust floating buttons above bottom nav */
  .back-to-top { bottom: 4.5rem; }
  .whatsapp-float { bottom: 8rem; }
}

@media (max-width: 576px) {
  .quick-bar-inner { grid-template-columns: 1fr !important; }
  .quick-bar-item { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .quick-bar-item:last-child { border-bottom: none !important; }
  .row { margin-right: -6px !important; margin-left: -6px !important; }
  .row > [class*='col'] { padding-right: 6px !important; padding-left: 6px !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .quick-bar-inner { grid-template-columns: 1fr !important; }
  .topbar-left span:not(:first-child) { display: none; }
  .site-logo-img { height: 40px !important; max-height: 40px !important; }
}

/* ── Utility Classes ─────────────────────────────────────────── */
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.count-badge {
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: .72rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-weight: 600;
}
.img-placeholder {
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2rem;
}
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.status-dot.open { background: var(--success); }
.status-dot.closed { background: var(--danger); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-section); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Mobile UI Responsiveness Enhancements ─────────────────── */
@media (max-width: 767px) {
  /* Mobile Icon Buttons styling */
  .btn-icon-mobile {
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-section) !important;
    color: var(--text) !important;
    font-size: 1rem;
    transition: all var(--transition);
    border: 1px solid var(--border);
    min-width: 40px;
  }
  .btn-icon-mobile:hover, .btn-icon-mobile:focus {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary);
  }
  .nav-icon-separator {
    width: 1px;
    height: 18px;
    background: var(--border);
    display: inline-block;
    align-self: center;
    margin: 0 1px;
    opacity: 0.7;
  }

  /* Prevent horizontal scroll — ONLY on body, never on html (iOS scrolling bug) */
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Bootstrap row negative-margin compensation — prevents right-side overflow */
  .row {
    --bs-gutter-x: 0.5rem !important;
    margin-right: calc(-0.5 * var(--bs-gutter-x)) !important;
    margin-left: calc(-0.5 * var(--bs-gutter-x)) !important;
  }
  .row > * {
    padding-right: calc(0.5 * var(--bs-gutter-x)) !important;
    padding-left: calc(0.5 * var(--bs-gutter-x)) !important;
  }
  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Clamp all media and embeds */
  img, video, svg, canvas { max-width: 100% !important; }
  iframe { max-width: 100% !important; }
  pre, code { overflow-x: auto; max-width: 100%; }

  /* Prevent wide fixed/absolute elements from pushing layout */
  .topbar, .navbar-main, .mobile-subnav,
  .hero, .section, .container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Hero buttons stacking */
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .btn-hero-primary, .btn-hero-outline {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0.7rem 1rem !important;
  }
  
  /* Business Card Actions layout */
  .business-card-actions {
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
  }
  .btn-card {
    flex: 1 1 calc(50% - 0.2rem) !important;
    font-size: 0.72rem !important;
    padding: 0.45rem 0.25rem !important;
    min-height: 36px !important;
  }
  .btn-card-view {
    flex: 1 1 100% !important;
  }
  
  /* Swipeable News/Job Tab Navigation */
  .nav-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    padding-bottom: 5px !important;
    gap: 0.5rem !important;
    scrollbar-width: none;
  }
  .nav-pills::-webkit-scrollbar { display: none !important; }
  .nav-pills .nav-item { flex-shrink: 0 !important; }
  .nav-pills .nav-link {
    font-size: 0.8rem !important;
    padding: 0.45rem 0.85rem !important;
    white-space: nowrap;
  }
  
  /* Job Cards Stacking */
  .job-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }
  .job-card-icon { display: none !important; }
  .job-card .ms-auto {
    margin-left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px dashed var(--border) !important;
    padding-top: 0.5rem !important;
  }

  /* Typography scaling */
  h1, .display-4, .display-5 { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; }
  h2, .display-6 { font-size: clamp(1.1rem, 4vw, 1.4rem) !important; }
  h3 { font-size: clamp(1rem, 3.5vw, 1.2rem) !important; }
  h4 { font-size: 1.05rem !important; }
  h5 { font-size: 0.95rem !important; }
  h6 { font-size: 0.85rem !important; }
  
  /* Padding/margin scaling */
  .p-5 { padding: 1.25rem !important; }
  .p-4 { padding: 1rem !important; }
  .py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .mb-5 { margin-bottom: 1.25rem !important; }
  .mb-4 { margin-bottom: 1rem !important; }
  
  /* Media containment */
  img, video, embed, object { max-width: 100% !important; }
  iframe { max-width: 100% !important; max-height: 360px !important; }

  /* Navbar */
  .navbar-main { height: auto !important; min-height: var(--navbar-h); padding: 6px 0; }
  .btn-add-listing { width: 100%; text-align: center; margin-top: 10px; justify-content: center; }
  .nav-actions { width: 100%; }
  
  /* Row gutters */
  .row { margin-right: -8px !important; margin-left: -8px !important; }
  .col, [class*="col-"] { padding-right: 8px !important; padding-left: 8px !important; }

  /* Hide quick bar */
  .quick-bar { display: none !important; }
  
  /* Filter bars */
  .filters-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .filter-input, .filter-select, .filter-btn, .filter-btn-outline {
    width: 100% !important;
    text-align: center !important;
  }

  /* ── Fixed Bottom Navigation Tab Bar (App-Like) ─────────────── */
  .mobile-subnav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    background: #ffffff !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: none !important;
    padding: 6px 0 env(safe-area-inset-bottom, 6px) !important;
    z-index: 1035 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08) !important;
  }
  .mobile-subnav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .mobile-subnav-links {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 8px !important;
    gap: 0 !important;
  }
  .subnav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-align: center !important;
    color: var(--text-muted) !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    padding: 4px 2px !important;
    border-radius: 8px !important;
    gap: 2px !important;
    min-height: 44px !important;
  }
  .subnav-item i {
    font-size: 1.15rem !important;
    line-height: 1 !important;
    color: var(--text-muted) !important;
    transition: all 0.2s ease !important;
  }
  .subnav-item span {
    display: block !important;
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
  }
  .subnav-item.active {
    color: var(--primary) !important;
  }
  .subnav-item.active i {
    color: var(--primary) !important;
    transform: translateY(-2px);
  }
  .subnav-item:active {
    background: var(--bg-section) !important;
  }
  .subnav-separator { display: none !important; }
}

/* ── Real Estate UI Enhancements ───────────────────────────── */
.property-title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4 !important;
  height: 2.8em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
.property-specs {
  padding-top: 0.75rem !important;
  border-top: 1px dashed var(--border) !important;
}
.property-detail-img-wrap {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  background: var(--bg-section) !important;
  height: 380px !important;
}
.property-detail-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ── Property Listing Page Filter Bar ──────────────────────── */
.prop-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.prop-filter-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex: 1;
}
.prop-tab {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.prop-tab:hover { border-color: var(--primary); color: var(--primary); }
.prop-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.prop-search-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.prop-search-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
}
.prop-search-inner i { color: var(--text-muted); font-size: .85rem; }
.prop-search-inner input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: .85rem;
  width: 180px;
}
.prop-search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
  font-size: .85rem;
}
.prop-search-btn:hover { background: var(--primary-dark); }
.prop-list-btn {
  padding: 0.45rem 1.1rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.prop-list-btn:hover { background: var(--primary); color: #fff; }

/* Property Card Enhancements */
.prop-featured-ribbon {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255,193,7,0.92);
  color: #333;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 2;
}
.prop-per-month {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.property-loc {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.property-loc i { color: var(--danger, #dc3545); font-size: .7rem; }

/* ── Property Detail Page ───────────────────────────────────── */
.prop-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.property-detail-img-wrap {
  border-radius: 12px !important;
  overflow: hidden !important;
  height: 340px !important;
  position: relative;
}
.prop-detail-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  z-index: 2;
}
.prop-detail-img-placeholder {
  height: 200px;
  border-radius: 12px;
  background: var(--bg-section);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
}
.prop-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.prop-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  line-height: 1.3;
  color: var(--text);
}
.prop-detail-location {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.prop-detail-location i { color: #dc3545; }
.prop-detail-price-wrap { text-align: right; flex-shrink: 0; }
.prop-detail-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.prop-price-type {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.prop-detail-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-section);
  border-radius: 10px;
}
.prop-detail-spec {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 120px;
}
.prop-detail-spec i {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--primary);
  flex-shrink: 0;
}
.spec-val { font-weight: 700; font-size: .88rem; color: var(--text); }
.spec-lbl { font-size: .72rem; color: var(--text-muted); }

.prop-divider { border-color: var(--border); margin: 1.25rem 0; }
.prop-section-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.prop-description { font-size: .93rem; line-height: 1.85; color: var(--text); }

/* Contact Sidebar */
.prop-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--navbar-h, 70px) + 16px);
}
.prop-contact-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.prop-contact-header i {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.prop-owner-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-section);
  border-radius: 10px;
}
.prop-owner-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.prop-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 0.6rem;
}
.prop-contact-call { background: var(--primary); color: #fff; }
.prop-contact-call:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.prop-contact-wa { background: #25d366; color: #fff; }
.prop-contact-wa:hover { background: #20ba5a; color: #fff; transform: translateY(-2px); }
.prop-contact-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prop-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.prop-meta-row i { width: 16px; text-align: center; color: var(--primary-light); }

.prop-post-cta {
  background: var(--bg-card);
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  color: var(--text);
}
.prop-post-cta i { color: var(--primary); }

/* Mobile adjustments */
@media (max-width: 576px) {
  .prop-filter-bar { gap: 0.5rem; }
  .prop-search-inner input { width: 110px; }
  .prop-detail-price { font-size: 1.5rem; }
  .prop-detail-card { padding: 1.25rem; }
  .prop-detail-specs { gap: 0.6rem; }
  .prop-detail-spec { min-width: 100px; }
}

/* ── Modal Custom Styles for Search & Notifications ────────────────── */
.hover-bg-light:hover {
  background-color: var(--bg-section) !important;
}
.transition-all {
  transition: all 0.2s ease-in-out !important;
}
.search-category-group .list-group-item {
  transition: all 0.2s ease-in-out !important;
}
.search-category-group .list-group-item:hover {
  transform: translateX(4px);
}
#modalSearchResults::-webkit-scrollbar,
#modalNotificationsList::-webkit-scrollbar {
  width: 6px;
}
#modalSearchResults::-webkit-scrollbar-thumb,
#modalNotificationsList::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
}
#modalSearchResults::-webkit-scrollbar-track,
#modalNotificationsList::-webkit-scrollbar-track {
  background: transparent;
}

/* ── Daund Villages Horizontal Scroll ──────────────────────── */
.village-scroll-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: .5rem 0;
}
.village-scroll-container {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: .25rem .25rem 1.25rem .25rem;
  margin-bottom: -1rem;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.village-scroll-container::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.village-scroll-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.village-scroll-card {
  flex: 0 0 220px;
  width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-decoration: none !important;
  color: var(--text) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition);
}
.village-scroll-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.village-card-image-box {
  position: relative;
  width: 100%;
  height: 130px;
  background: var(--bg-section);
  overflow: hidden;
}
.village-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.village-scroll-card:hover .village-card-image-box img {
  transform: scale(1.08);
}
.village-fallback-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.village-fallback-gradient i {
  font-size: 2.2rem;
  opacity: .85;
}
.village-distance-badge {
  position: absolute;
  bottom: .5rem;
  right: .5rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: .68rem;
  padding: .15rem .4rem;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  font-weight: 500;
}
.village-card-info {
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.village-card-title {
  font-size: .92rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  line-height: 1.3;
}
.village-card-subtitle {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.village-card-tag {
  margin-top: .4rem;
  font-size: .7rem;
  color: var(--text-muted);
  background: var(--bg-section);
  border-radius: 4px;
  padding: .15rem .4rem;
  width: fit-content;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

/* ── PWA Install Banner ─────────────────────────────────────── */
#pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2000;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
#pwa-install-banner.visible {
  transform: translateY(0);
}
.pwa-banner-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.pwa-banner-text { flex: 1; min-width: 0; }
.pwa-banner-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.pwa-banner-text small {
  font-size: 0.75rem;
  opacity: 0.8;
}
.pwa-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pwa-btn-install {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pwa-btn-install:hover { background: var(--accent-hover); }
.pwa-btn-dismiss {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pwa-btn-dismiss:hover { background: rgba(255,255,255,.25); }
@media (max-width: 767px) {
  /* When bottom nav is active, push install banner above it */
  #pwa-install-banner {
    bottom: 60px;
    border-radius: 12px 12px 0 0;
  }
}

/* ── Touch-Friendly Minimum Tap Targets ─────────────────────── */
@media (max-width: 991px) {
  .btn, button, a.btn, input[type="submit"] {
    min-height: 44px;
  }
  .form-control, .form-select, select {
    min-height: 44px;
    font-size: 1rem; /* Prevents iOS auto-zoom on focus */
  }
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="password"], input[type="number"], input[type="search"],
  textarea, select {
    font-size: 1rem !important; /* Prevents iOS auto-zoom */
  }
  .nav-link { min-height: 44px; }
  .subnav-item { min-height: 44px; }
  .pagination .page-link { min-height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; }
}
