/* ============================================================
   TECHSYS SURVEYS LIMITED — Main Stylesheet
   Brand: Purple #7B2FBE / Blue #2563EB / White #FFFFFF
   ============================================================ */

:root {
  /* Brand Colors — extracted from logo */
  --purple:       #7B2FBE;
  --purple-dark:  #5B1F92;
  --purple-light: #9D50D4;
  --purple-pale:  #F3EAFD;
  --blue:         #2563EB;
  --blue-dark:    #1D4ED8;
  --blue-light:   #3B82F6;
  --blue-pale:    #EFF6FF;
  --gradient:     linear-gradient(135deg, #7B2FBE 0%, #2563EB 100%);
  --gradient-rev: linear-gradient(135deg, #2563EB 0%, #7B2FBE 100%);

  /* Neutrals */
  --white:        #FFFFFF;
  --off-white:    #F8F9FF;
  --light-gray:   #F1F3F9;
  --border:       #E2E8F4;
  --text-dark:    #0F172A;
  --text-mid:     #475569;
  --text-light:   #94A3B8;

  /* Status */
  --green:        #059669;
  --green-bg:     #ECFDF5;
  --red:          #DC2626;
  --red-bg:       #FEF2F2;
  --amber:        #D97706;
  --amber-bg:     #FFFBEB;

  /* Layout */
  --radius:       8px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --shadow:       0 2px 16px rgba(37,99,235,.10);
  --shadow-md:    0 4px 24px rgba(37,99,235,.14);
  --shadow-lg:    0 8px 40px rgba(123,47,190,.16);
  --max-w:        1240px;
  --header-h:     72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Lato', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--purple-light); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.text-blue   { color: var(--blue); }
.hidden      { display: none !important; }
.flex        { display: flex; align-items: center; }
.gap-8       { gap: 8px; }
.gap-16      { gap: 16px; }

/* ── Section Header ── */
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.sec-title {
  font-family: 'Raleway', sans-serif; font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.22;
}
.sec-subtitle {
  font-size: 16px; color: var(--text-mid); max-width: 560px; margin: 12px auto 0; line-height: 1.8;
}
.sec-line {
  width: 48px; height: 3px; border-radius: 2px; margin: 14px auto 0;
  background: var(--gradient);
}
.sec-line.left { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius); font-family: 'Raleway', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: .4px; cursor: pointer;
  border: none; transition: all .22s; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: var(--white);
  box-shadow: 0 4px 18px rgba(123,47,190,.35);
}
.btn-primary:hover { opacity: .92; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(123,47,190,.45); }
.btn-secondary {
  background: var(--white); color: var(--purple);
  border: 2px solid var(--purple); box-shadow: none;
}
.btn-secondary:hover { background: var(--purple-pale); }
.btn-blue {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 18px rgba(37,99,235,.3);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-danger { background: var(--red); color: var(--white); }
.btn-success { background: var(--green); color: var(--white); }

/* ── Alerts / Flash ── */
.alert {
  padding: 14px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: var(--green-bg); color: var(--green); border-left: 4px solid var(--green); }
.alert-error   { background: var(--red-bg); color: var(--red); border-left: 4px solid var(--red); }
.alert-warning { background: var(--amber-bg); color: var(--amber); border-left: 4px solid var(--amber); }
.alert-info    { background: var(--blue-pale); color: var(--blue); border-left: 4px solid var(--blue); }

/* ── Forms ── */
.form-group   { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label   { font-size: 13px; font-weight: 600; color: var(--text-dark); font-family: 'Raleway', sans-serif; }
.form-control {
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 12px 14px;
  font-size: 14px; font-family: 'Lato', sans-serif; color: var(--text-dark);
  background: var(--off-white); transition: all .2s; outline: none; width: 100%;
}
.form-control:focus  { border-color: var(--purple); background: var(--white); box-shadow: 0 0 0 3px rgba(123,47,190,.1); }
.form-control.error  { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control  { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-row    { display: grid; gap: 16px; }
.form-row-2  { grid-template-columns: 1fr 1fr; }
.form-row-3  { grid-template-columns: 1fr 1fr 1fr; }
.form-error  { font-size: 12px; color: var(--red); }
.form-hint   { font-size: 12px; color: var(--text-light); }
.form-check  { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.form-check input { width: 16px; height: 16px; accent-color: var(--purple); }

/* ── Badges / Tags ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
}
.badge-available { background: var(--green-bg); color: var(--green); }
.badge-sold      { background: var(--red-bg); color: var(--red); }
.badge-reserved  { background: var(--amber-bg); color: var(--amber); }
.badge-featured  { background: var(--gradient); color: var(--white); }
.badge-purple    { background: var(--purple-pale); color: var(--purple); }
.badge-blue      { background: var(--blue-pale); color: var(--blue); }

/* ════════════════════════════════════════════════════════════
   TOPBAR
   ════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--gradient); padding: 7px 24px;
  font-size: 12px; color: rgba(255,255,255,.9);
}
.topbar-inner {
  max-width: var(--max-w); margin: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.topbar-inner span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-social {
  color: rgba(255,255,255,.8); transition: color .2s;
  display: flex; align-items: center;
}
.topbar-social:hover { color: var(--white); }
.topbar-link {
  color: rgba(255,255,255,.85); font-weight: 500; transition: color .2s;
  padding: 2px 6px; border-radius: 4px;
}
.topbar-link:hover { color: var(--white); background: rgba(255,255,255,.12); }

/* ════════════════════════════════════════════════════════════
   SITE HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white); position: sticky; top: 0; z-index: 500;
  height: var(--header-h); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(37,99,235,.08); transition: all .3s;
}
.site-header.scrolled { box-shadow: 0 4px 28px rgba(37,99,235,.15); }
.header-inner {
  max-width: var(--max-w); margin: auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; }
.brand-text  { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name  { font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 800; color: var(--purple-dark); }
.brand-sub   { font-size: 10px; font-weight: 500; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-a {
  padding: 8px 14px; font-family: 'Raleway', sans-serif; font-size: 13px;
  font-weight: 600; color: var(--text-mid); border-radius: 6px; transition: all .2s;
  position: relative;
}
.nav-a:hover, .nav-a.active { color: var(--purple); background: var(--purple-pale); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 600;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .2s;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 9px 14px; font-size: 13px; color: var(--text-mid);
  border-radius: 6px; transition: all .2s;
}
.dropdown-menu a:hover { background: var(--purple-pale); color: var(--purple); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

.btn-header {
  background: var(--gradient); color: var(--white); padding: 9px 20px;
  border-radius: var(--radius); font-family: 'Raleway', sans-serif; font-size: 13px;
  font-weight: 700; transition: all .2s; white-space: nowrap;
}
.btn-header:hover { opacity: .9; transform: translateY(-1px); }

.wishlist-btn {
  position: relative; width: 38px; height: 38px; border-radius: 8px;
  background: var(--purple-pale); display: flex; align-items: center; justify-content: center;
  color: var(--purple); transition: all .2s;
}
.wishlist-btn:hover { background: var(--purple); color: var(--white); }
.wishlist-count {
  position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--purple); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 590; }
.nav-overlay.open { display: block; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  background: var(--gradient); position: relative; overflow: hidden;
  padding: 90px 24px 80px; min-height: 620px; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}
.hero-inner { max-width: var(--max-w); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Raleway', sans-serif; font-size: clamp(2rem,4vw,3.1rem);
  font-weight: 800; color: var(--white); line-height: 1.18; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: rgba(255,255,255,.8); font-weight: 300; }
.hero-desc { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.82; margin-bottom: 34px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.1); }
.stat-item { padding: 18px 16px; text-align: center; background: rgba(255,255,255,.06); }
.stat-item:hover { background: rgba(255,255,255,.12); }
.stat-num { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,.65); letter-spacing: 1px; text-transform: uppercase; margin-top: 5px; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-logo-display {
  width: 340px; height: 340px; background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: float 4s ease-in-out infinite;
}
.hero-logo-display img { width: 240px; height: 240px; object-fit: contain; background: #fff; border-radius: 50%; padding: 20px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-badge-float {
  position: absolute; bottom: 20px; right: -10px;
  background: var(--white); border-radius: var(--radius-lg); padding: 14px 18px;
  box-shadow: var(--shadow-lg); text-align: center; min-width: 130px;
}
.hero-badge-float .num { font-family: 'Raleway', sans-serif; font-size: 1.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-badge-float .lbl { font-size: 11px; color: var(--text-light); font-weight: 600; letter-spacing: .5px; }

/* Services strip */
.services-strip { background: var(--text-dark); padding: 14px 24px; overflow: hidden; }
.services-strip-inner { max-width: var(--max-w); margin: auto; display: flex; gap: 28px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.services-strip-inner::-webkit-scrollbar { display: none; }
.strip-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500; }
.strip-dot  { width: 4px; height: 4px; background: var(--purple-light); border-radius: 50%; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   PROPERTY CARDS (E-commerce style)
   ════════════════════════════════════════════════════════════ */
.props-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }

.prop-card {
  background: var(--white); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .3s;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(123,47,190,.2); }

.prop-card-img {
  position: relative; height: 210px; overflow: hidden;
  background: var(--light-gray); flex-shrink: 0;
}
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prop-card:hover .prop-card-img img { transform: scale(1.05); }
.prop-card-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: var(--text-light);
}
.prop-card-img-placeholder svg { opacity: .3; }
.prop-img-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; }
.prop-wishlist-btn {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.92);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-light); transition: all .2s; flex-shrink: 0;
}
.prop-wishlist-btn:hover, .prop-wishlist-btn.active { color: var(--red); background: var(--white); }
.sold-ribbon {
  position: absolute; top: 20px; right: -28px; background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 36px; transform: rotate(35deg); box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.prop-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prop-cat  { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); margin-bottom: 6px; }
.prop-title-link { font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; color: var(--text-dark); line-height: 1.3; margin-bottom: 8px; display: block; }
.prop-title-link:hover { color: var(--purple); }
.prop-location { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.prop-location svg { flex-shrink: 0; color: var(--blue); }

.prop-specs { display: flex; gap: 14px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.prop-spec  { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-mid); }
.prop-spec svg { color: var(--text-light); }

.prop-price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.prop-price { font-family: 'Raleway', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--purple-dark); }
.prop-price small { font-size: 12px; font-weight: 400; color: var(--text-light); font-family: 'Lato', sans-serif; }
.prop-negotiable { font-size: 11px; color: var(--green); font-weight: 600; }

.prop-card-footer { padding: 14px 18px 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.prop-enquire-btn { background: var(--gradient); color: var(--white); border: none; padding: 11px; border-radius: var(--radius); font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.prop-enquire-btn:hover { opacity: .9; }
.prop-view-btn { background: var(--purple-pale); color: var(--purple); border: none; padding: 11px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; white-space: nowrap; font-family: 'Raleway', sans-serif; }
.prop-view-btn:hover { background: var(--purple); color: var(--white); }

/* Property filters */
.filter-bar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 32px; box-shadow: var(--shadow); }
.filter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filter-bar .form-label { font-size: 12px; }
.filter-bar .form-control { padding: 10px 12px; font-size: 13px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-tab { padding: 8px 18px; border-radius: 20px; border: 1.5px solid var(--border); background: var(--white); font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-mid); cursor: pointer; transition: all .2s; }
.filter-tab:hover, .filter-tab.active { background: var(--gradient); color: var(--white); border-color: transparent; }

/* ════════════════════════════════════════════════════════════
   PROPERTY DETAIL PAGE
   ════════════════════════════════════════════════════════════ */
.prop-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.prop-gallery { border-radius: var(--radius-xl); overflow: hidden; }
.prop-gallery-main { height: 420px; background: var(--light-gray); position: relative; overflow: hidden; }
.prop-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.prop-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.prop-gallery-thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .7; border: 2px solid transparent; transition: all .2s; flex-shrink: 0; }
.prop-gallery-thumbs img.active, .prop-gallery-thumbs img:hover { opacity: 1; border-color: var(--purple); }

.prop-detail-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.enquiry-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 24px; box-shadow: var(--shadow-md);
}
.enquiry-card .price { font-family: 'Raleway', sans-serif; font-size: 1.8rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 4px; }
.prop-features { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.prop-feature-tag { display: flex; align-items: center; gap: 6px; background: var(--purple-pale); color: var(--purple); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.prop-feature-tag svg { flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all .3s; cursor: default;
}
.service-card:hover { border-color: var(--purple-light); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient); margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--white); stroke-width: 1.5; }
.service-card h3 { font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p  { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   TEAM / BOARD
   ════════════════════════════════════════════════════════════ */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.board-card {
  background: var(--white); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .3s; text-align: center;
}
.board-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.board-photo { height: 200px; background: var(--gradient); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.board-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-initials-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-size: 26px; font-weight: 800; color: var(--white);
}
.board-body { padding: 18px; }
.board-name  { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.board-role  { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.board-bio   { font-size: 12px; color: var(--text-mid); line-height: 1.6; }
.board-creds { font-size: 11px; color: var(--blue); font-weight: 600; margin-top: 8px; letter-spacing: .5px; }

/* ════════════════════════════════════════════════════════════
   NEWS
   ════════════════════════════════════════════════════════════ */
.news-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.news-card  {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 180px; background: var(--light-gray); overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--gradient); }
.news-card-body { padding: 18px; }
.news-card-cat { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.news-card-title { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-dark); line-height: 1.35; margin-bottom: 10px; }
.news-card-title a:hover { color: var(--purple); }
.news-card-summary { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; }
.news-card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 12px; }

/* ════════════════════════════════════════════════════════════
   PARTNERS
   ════════════════════════════════════════════════════════════ */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.partner-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 16px; text-align: center; transition: all .3s;
}
.partner-card:hover { border-color: var(--purple-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-logo-box {
  width: 64px; height: 64px; border-radius: 12px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800; color: var(--white);
}
.partner-logo-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.partner-name { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; color: var(--text-dark); }
.partner-type { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact-info-card { background: var(--gradient); border-radius: var(--radius-xl); padding: 36px; color: var(--white); }
.contact-info-card h3 { font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.contact-info-card p { color: rgba(255,255,255,.8); margin-bottom: 28px; line-height: 1.8; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.c-icon { width: 42px; height: 42px; background: rgba(255,255,255,.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-icon svg { stroke: rgba(255,255,255,.9); }
.c-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.c-value { font-size: 14px; font-weight: 500; color: var(--white); }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-md); }

/* ════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════ */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--white); color: var(--text-mid);
  font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; transition: all .2s; cursor: pointer;
}
.page-btn:hover, .page-btn.active { background: var(--gradient); color: var(--white); border-color: transparent; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer { background: var(--text-dark); color: var(--white); }
.footer-top  { padding: 64px 24px; }
.footer-inner { max-width: var(--max-w); margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; margin-bottom: 16px; background: #fff; padding: 6px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; max-width: 260px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); transition: all .2s;
}
.social-icon:hover { background: var(--purple); color: var(--white); }
.footer-col h4 { font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col ul li a:hover { color: var(--purple-light); }
.contact-list li { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.contact-list a { color: rgba(255,255,255,.65); transition: color .2s; }
.contact-list a:hover { color: var(--purple-light); }
.footer-newsletter p { font-size: 12px; color: rgba(255,255,255,.5); margin: 14px 0 8px; }
.mini-sub-form { display: flex; gap: 0; }
.mini-sub-form input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-right: none; border-radius: var(--radius) 0 0 var(--radius); padding: 10px 14px; font-size: 13px; color: var(--white); outline: none; }
.mini-sub-form input::placeholder { color: rgba(255,255,255,.4); }
.mini-sub-form input:focus { border-color: var(--purple-light); }
.mini-sub-form button { background: var(--purple); border: none; border-radius: 0 var(--radius) var(--radius) 0; padding: 10px 16px; color: var(--white); font-size: 16px; cursor: pointer; transition: background .2s; }
.mini-sub-form button:hover { background: var(--purple-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 24px; }
.footer-bottom-inner { max-width: var(--max-w); margin: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.3); }

/* ════════════════════════════════════════════════════════════
   ADMIN PANEL
   ════════════════════════════════════════════════════════════ */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--light-gray); }
.admin-sidebar {
  background: var(--text-dark); position: sticky; top: 0; height: 100vh;
  overflow-y: auto; display: flex; flex-direction: column;
}
.admin-brand { padding: 20px 20px 0; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 20px; margin-bottom: 8px; }
.admin-brand img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 6px; padding: 3px; }
.admin-brand-text .name { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 800; color: var(--white); }
.admin-brand-text .sub  { font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: 1px; text-transform: uppercase; }
.admin-nav-section { padding: 0 12px; margin-bottom: 4px; }
.admin-nav-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); padding: 10px 10px 6px; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); transition: all .2s; margin-bottom: 2px;
}
.admin-nav-item:hover, .admin-nav-item.active { background: rgba(123,47,190,.4); color: var(--white); }
.admin-nav-item.active { background: var(--purple); }
.admin-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-nav-badge { margin-left: auto; background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.admin-main { display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 28px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-page-title { font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800; color: var(--text-dark); }
.admin-content { padding: 28px; flex: 1; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow); }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.admin-card-title { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-dark); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 24px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-card .label { font-size: 12px; font-weight: 600; color: var(--text-light); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; }
.stat-card .value { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .change { font-size: 12px; color: var(--green); margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); padding: 12px 14px; border-bottom: 2px solid var(--border); text-align: left; }
.admin-table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-mid); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--off-white); }
.admin-actions { display: flex; gap: 6px; }
.action-btn { padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; font-family: 'Raleway', sans-serif; }
.action-edit   { background: var(--blue-pale); color: var(--blue); }
.action-edit:hover { background: var(--blue); color: var(--white); }
.action-delete { background: var(--red-bg); color: var(--red); }
.action-delete:hover { background: var(--red); color: var(--white); }
.action-view   { background: var(--purple-pale); color: var(--purple); }
.action-view:hover { background: var(--purple); color: var(--white); }

/* ════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════════════════════════════════════ */
.page-hero { background: var(--gradient); padding: 52px 24px; text-align: center; }
.page-hero h1 { font-family: 'Raleway', sans-serif; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 16px; max-width: 520px; margin: 0 auto 16px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .5; }

/* ════════════════════════════════════════════════════════════
   MISC / CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section { background: var(--gradient); padding: 72px 24px; text-align: center; }
.cta-section h2 { font-family: 'Raleway', sans-serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.8); font-size: 16px; max-width: 520px; margin: 0 auto 32px; line-height: 1.8; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.card-padded { padding: 28px; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media(max-width: 1100px) {
  .hero-inner     { grid-template-columns: 1fr; text-align: center; }
  .hero-desc      { margin: 0 auto 34px; }
  .hero-actions   { justify-content: center; }
  .hero-visual    { display: none; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .admin-layout   { grid-template-columns: 1fr; }
  .admin-sidebar  { display: none; }
  .stats-row      { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 900px) {
  .prop-detail-grid { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .filter-grid      { grid-template-columns: 1fr 1fr; }
  .form-row-3       { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .main-nav {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 285px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 0 30px;
    z-index: 600 !important;
    box-shadow: 6px 0 32px rgba(0,0,0,.25);
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    gap: 0;
    overflow-y: auto;
    visibility: visible !important;
    isolation: isolate;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-a {
    width: 100%;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .main-nav .nav-a:hover, .main-nav .nav-a.active {
    background: var(--purple-pale);
    color: var(--purple);
    border-left-color: var(--purple);
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 4px 16px;
    display: none;
    background: #F8FAFC;
  }
  .nav-dropdown .dropdown-menu a {
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-mid);
    display: block;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hamburger { display: flex; }
  .topbar-inner span:not(:last-child):not(:first-child) { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .filter-grid  { grid-template-columns: 1fr; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: 1fr 1fr; }
  .props-grid   { grid-template-columns: 1fr; }
  section.section { padding: 52px 0; }
}

/* ════════════════════════════════════════════════════════════
   ADDITIONAL UI COMPONENTS (SVG-icon compatible, no emoji)
   ════════════════════════════════════════════════════════════ */

/* ── Status Dots ─────────────────────────────────────────────── */
.status-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
}
.status-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.status-dot.available::before { background: var(--green); box-shadow: 0 0 0 3px rgba(5,150,105,.15); }
.status-dot.sold::before       { background: var(--red);   box-shadow: 0 0 0 3px rgba(220,38,38,.15); }
.status-dot.reserved::before   { background: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,.15); }
.status-dot.new::before        { background: var(--purple); box-shadow: 0 0 0 3px rgba(123,47,190,.15); }

/* ── Icon Button ─────────────────────────────────────────────── */
.icon-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--white); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; color: var(--text-mid);
}
.icon-btn:hover { background: var(--purple-pale); color: var(--purple); border-color: var(--purple-light); }
.icon-btn.danger:hover { background: var(--red-bg); color: var(--red); border-color: rgba(220,38,38,.3); }

/* ── Info Cards ──────────────────────────────────────────────── */
.info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; display: flex; align-items: flex-start; gap: 14px;
}
.info-card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card-body strong { display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.info-card-body span   { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ── Property Status Ribbon ──────────────────────────────────── */
.prop-status-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: var(--radius); font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.prop-status-bar.available { background: var(--green-bg); color: var(--green); }
.prop-status-bar.sold      { background: var(--red-bg);   color: var(--red); }
.prop-status-bar.reserved  { background: var(--amber-bg); color: var(--amber); }

/* ── Breadcrumb (improved) ───────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.65); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep {
  width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; opacity: .5;
}

/* ── Search Bar ──────────────────────────────────────────────── */
.search-bar {
  position: relative;
}
.search-bar input {
  padding-left: 42px;
}
.search-bar .search-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-light);
}

/* ── Tab Bar (public pages) ──────────────────────────────────── */
.tab-bar {
  display: flex; border-bottom: 2px solid var(--border); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-item {
  padding: 11px 20px; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-light); border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; white-space: nowrap; transition: all .2s; text-decoration: none;
}
.tab-item:hover { color: var(--purple); }
.tab-item.active { color: var(--purple); border-bottom-color: var(--purple); }

/* ── Pill Tags ───────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pill-purple { background: var(--purple-pale); color: var(--purple); }
.pill-blue   { background: var(--blue-pale);   color: var(--blue); }
.pill-green  { background: var(--green-bg);     color: var(--green); }
.pill-red    { background: var(--red-bg);       color: var(--red); }
.pill-gray   { background: var(--light-gray);   color: var(--text-mid); }

/* ── Empty State ─────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 64px 24px; color: var(--text-light);
}
.empty-state-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--light-gray);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.empty-state h3 { font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; margin-bottom: 20px; max-width: 320px; margin-inline: auto; line-height: 1.65; }

/* ── Section Divider ─────────────────────────────────────────── */
.section-divider {
  width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 32px 0;
}

/* ── Sticky CTA Bar (mobile property detail) ─────────────────── */
@media(max-width:640px) {
  .prop-detail-sticky {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: var(--white); border-top: 1px solid var(--border);
    padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  }
  .enquiry-card { border-radius: 0; border: none; box-shadow: none; padding: 0; }
  .enquiry-card .price { font-size: 1.3rem; }
}

/* ── Admin Notification Badge ────────────────────────────────── */
.notif-dot {
  position: absolute; top: -3px; right: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  border: 2px solid var(--white);
}

/* ── Data Table Sort Arrow ────────────────────────────────────── */
.sort-arrow { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.sort-arrow:hover { color: var(--purple); }

/* ── Progress Bar ─────────────────────────────────────────────── */
.progress-bar { height: 6px; background: var(--light-gray); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: var(--gradient); transition: width .4s ease; }

/* ── Skeleton Loader ──────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--light-gray) 25%, var(--border) 50%, var(--light-gray) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Modal base ───────────────────────────────────────────────── */
.modal-base {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-base.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-xl);
  width: min(540px,100%); max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.25); animation: modalIn .25s ease;
}
@keyframes modalIn { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.modal-title  { font-family: 'Raleway',sans-serif; font-size: 1rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.modal-close  { background: none; border: none; cursor: pointer; color: var(--text-light); display: flex; align-items: center; padding: 4px; border-radius: 6px; transition: all .2s; }
.modal-close:hover { background: var(--light-gray); color: var(--text-dark); }
.modal-body   { padding: 22px 26px; }

/* ── Responsive table scroll ─────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Admin mobile toggle ─────────────────────────────────────── */
.admin-mobile-menu {
  display: none; position: fixed; bottom: 16px; right: 16px; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient);
  align-items: center; justify-content: center; box-shadow: var(--shadow-lg); border: none; cursor: pointer;
}
@media(max-width:900px) { .admin-mobile-menu { display: flex; } }

/* ── Print styles ─────────────────────────────────────────────── */

/* ── Mobile Nav Header ───────────────────────────────────────── */
.mobile-nav-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 1;
}
@media(max-width:768px) {
  .mobile-nav-header { display: flex; }
  .drop-arrow { transition: transform .2s; }
  .nav-dropdown.open .drop-arrow { transform: rotate(180deg); }
}

@media print {
  .site-header, .topbar, .site-footer, .btn, .admin-sidebar, nav { display: none !important; }
  .container { max-width: 100%; padding: 0; }
  body { font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════
   GLOBAL DESIGN REFRESH — matches new homepage style
   ════════════════════════════════════════════════════════════ */

/* Updated topbar to match dark gradient header */
.topbar {
  background: linear-gradient(135deg, #1a0533 0%, #0f1e3c 100%);
  padding: 8px 24px;
  font-size: 12px;
  color: rgba(255,255,255,.8);
}
.topbar-inner {
  max-width: 1200px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* Updated header shadow + blur */
.site-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123,47,190,.1);
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(123,47,190,.12);
}

/* Brand name gradient */
.brand-name {
  background: linear-gradient(135deg, #7B2FBE, #2563EB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 15px;
}

/* Nav active with gradient underline */
.nav-a.active {
  color: #7B2FBE;
  background: rgba(123,47,190,.06);
}
.nav-a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #7B2FBE, #2563EB);
  border-radius: 2px;
  margin-top: 2px;
}

/* Updated header CTA */
.btn-header {
  background: linear-gradient(135deg, #7B2FBE, #2563EB);
  color: #fff;
  padding: 9px 20px;
  border-radius: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(123,47,190,.25);
}
.btn-header:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(123,47,190,.4);
}

/* Page hero — sharper dark gradient */
.page-hero {
  background: linear-gradient(135deg, #1a0533 0%, #1e1060 50%, #0f1e3c 100%);
  padding: 52px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(123,47,190,.25), transparent 60%);
}
.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  letter-spacing: -.3px;
}
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 16px;
  position: relative;
  line-height: 1.8;
}

/* Better dropdown menu */
.dropdown-menu {
  border: 1px solid rgba(123,47,190,.15);
  box-shadow: 0 8px 32px rgba(123,47,190,.14);
}
.dropdown-menu a:hover {
  background: rgba(123,47,190,.07);
  color: #7B2FBE;
  padding-left: 18px;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #1a0533 0%, #0f1e3c 100%);
}

/* Footer dark */
.site-footer {
  background: #0A0514;
}
.footer-bottom {
  background: rgba(0,0,0,.3);
}

/* Improved filter tabs */
.filter-tab {
  padding: 9px 18px;
  border-radius: 24px;
  border: 1.5px solid #E2E8F4;
  background: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-tab:hover {
  border-color: #7B2FBE;
  color: #7B2FBE;
  background: rgba(123,47,190,.05);
}
.filter-tab.active {
  background: linear-gradient(135deg, #7B2FBE, #2563EB);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(123,47,190,.3);
}

/* Pagination upgrade */
.page-btn {
  border-radius: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid #E2E8F4;
  min-width: 42px;
  height: 42px;
}
.page-btn.active {
  background: linear-gradient(135deg, #7B2FBE, #2563EB);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(123,47,190,.3);
}

/* Property card hover glow */
.prop-card:hover {
  box-shadow: 0 12px 40px rgba(123,47,190,.15), 0 2px 8px rgba(37,99,235,.08);
}

/* Admin sidebar active glow */
.admin-nav-item.active {
  background: linear-gradient(135deg, rgba(123,47,190,.8), rgba(37,99,235,.8));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

/* Smooth scroll reveal base */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp float button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: all .3s;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.65); }
}
.wa-float svg { width: 26px; height: 26px; }

/* Mobile responsive header */
@media(max-width: 768px) {
  .topbar-inner span:nth-child(2) { display: none; }
  .brand-name { font-size: 13px; }
  .brand-sub  { font-size: 9px; }
  .brand-logo { width: 36px; height: 36px; }
}
