
    :root {
      --red: #b42628;
      --red-light: #fff0f0;
      --red-mid: #e8302e;
      --navy: #0f1f3d;
      --bg: #f5f0eb;
      --card: #ffffff;
      --text: #1e1b18;
      --muted: #7a6b5a;
      --border: #e2d9d0;
      --gold: #b8860b;
      --green: #1a7a4a;
      --radius: 14px;
      
    }
    body, html {
  background: #f5f0eb !important;
}

    * { 
        margin: 0;
    padding: 0; 
    box-sizing: border-box;
    }

    html, body {
      overflow-x: hidden;
      width: 100%;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
    }
    
    /* ── PAGE LAYOUT ── */
.page-wrap {
  max-width: 1471px !important;
  margin: 0 auto;
  padding: 32px 20px 60px; /*  top gap add */
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 768px) {
  .page-wrap {
    margin-top: 93px;
  }
}
    /* ── LEFT COLUMN ── */
    .left-col { display: flex; flex-direction: column; gap: 24px; }

    /* ── IMAGE GALLERY ── */
    .gallery-wrap {
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .gallery-main {
      position: relative;
      width: 100%;
      height: 420px;
      overflow: hidden;
      cursor: zoom-in;
    }
    /* ===== Main Gallery Image ===== */
/*.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.5s ease;
}*/
/*.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* change this */
    /*transition: transform 0.5s ease;
    background: #000;
}*/
.gallery-main {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #d6d6d6;;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* default */
    transition: transform 0.5s ease;
}
.gallery-main:hover img {
  transform: scale(1.03);
}

/* ===== Image Badges ===== */
.img-badge-id {
  position: absolute;
  top: 14px;
  left: 14px;

  padding: 4px 12px;
  border-radius: 6px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;

  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.img-badge-price {
  position: absolute;
  bottom: 16px;
  left: 16px;

  padding: 6px 20px;
  border-radius: 40px;

  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;

  color: #fff;
  background: rgba(180, 38, 40, 0.92);
  backdrop-filter: blur(4px);
}

.img-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 4px 12px;
  border-radius: 20px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;

  color: #fff;
  background: var(--green);
}

/* ===== Photo Count Button ===== */
.photo-count-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 6px 14px;
  border-radius: 8px;
  border: none;

  font-size: 12px;
  font-weight: 600;

  color: #fff;
  background: rgba(0, 0, 0, 0.72);

  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.photo-count-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* ===== Thumbnail Strip ===== */
.thumb-strip {
  display: flex;
  gap: 8px;

  padding: 10px 12px;
  overflow-x: auto;

  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.thumb-strip::-webkit-scrollbar {
  height: 4px;
}

.thumb-strip::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

/* Thumbnail */
.thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;

  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;

  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.active {
  border-color: var(--red);
}

.thumb:hover {
  border-color: var(--red-mid);
}

/* ===== Property Info Card ===== */
.info-card {
  padding: 24px;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Title */
.prop-title {
  margin-bottom: 10px;

  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;

  color: var(--text);
  word-break: break-word;
}

/* Location */
.prop-loc {
  display: flex;
  align-items: center;
  gap: 5px;

  margin-bottom: 16px;

  font-size: 13px;
  color: var(--muted);
}

.prop-loc i {
  font-size: 14px;
  color: var(--red);
}

/* ===== Tags ===== */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 20px;
  max-width: 100%;
}

.tag {
  padding: 4px 12px;
  border-radius: 20px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Tag Variants */
.tag-sale {
  color: #fff;
  background: var(--red);
}

.tag-dtcp {
  color: #1a7a4a;
  background: #e8f5e9;
}

.tag-type {
  color: var(--navy);
  background: #e8edf5;
}

.tag-rera {
  color: #b87333;
  background: #fff3e0;
}

   /* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;

  margin-bottom: 20px;

  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.stat-cell {
  padding: 14px 12px;
  text-align: center;

  background: #fafafa;
}

/* Label */
.stat-label {
  margin-bottom: 4px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: var(--muted);
}

/* Value */
.stat-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.stat-val.red {
  font-size: 1.1rem;
  color: var(--red);
}

/* ===== Section Title ===== */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 14px;

  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;

  color: var(--text);
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;

  background: var(--border);
}

/* ===== Amenities ===== */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  margin-bottom: 20px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 10px;
  border-radius: 8px;

  font-size: 12.5px;
  color: var(--muted);

  background: #f8f4f0;
}

.amenity-item i {
  width: 14px;
  text-align: center;
  color: var(--red);
}

/* ===== Description ===== */
.prop-desc {
  margin-bottom: 4px;

  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.read-more-btn {
  padding: 0;
  border: none;
  background: none;

  font-size: 13px;
  font-weight: 600;
  color: var(--red);

  cursor: pointer;
}

/* ===== Project Overview ===== */
.overview-card {
  padding: 24px;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Table */
.overview-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  word-break: break-word;
}

.overview-table tr {
  border-bottom: 1px solid #f0ece8;
}

.overview-table tr:last-child {
  border-bottom: none;
}

.overview-table td {
  padding: 11px 6px;
  font-size: 13px;
}

.overview-table td:first-child {
  width: 42%;
  font-weight: 500;
  color: var(--muted);
}

.overview-table td:last-child {
  font-weight: 600;
  color: var(--text);
}

/* Highlight */
.highlight-val {
  color: var(--red) !important;
}

    /* ===== Video Section ===== */
.video-section {
  padding: 24px;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Video Thumbnail */
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;

  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;

  background: #1a1512;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.video-thumb:hover img {
  opacity: 0.9;
}

/* Play Button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);

  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn i {
  font-size: 18px;
  margin-left: 3px;
  color: var(--red);
}

.video-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

/* Label */
.video-label {
  position: absolute;
  bottom: 10px;
  left: 10px;

  padding: 3px 10px;
  border-radius: 20px;

  font-size: 11px;
  font-weight: 600;

  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

/* ===== Map Section ===== */
.map-card {
  overflow: hidden;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 200px;

  color: var(--muted);
  background: linear-gradient(135deg, #e8f0fe, #fce8e6);
}

.map-placeholder i {
  font-size: 36px;
  color: var(--red);
}

.map-placeholder span {
  font-size: 13px;
  font-weight: 500;
}

/* Map Footer */
.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 16px;
}

.map-loc-text {
  display: flex;
  align-items: center;
  gap: 5px;

  font-size: 12.5px;
  color: var(--muted);
}

.map-loc-text i {
  color: var(--red);
}

.map-dir-btn {
  display: flex;
  align-items: center;
  gap: 4px;

  font-size: 12px;
  font-weight: 600;
  text-decoration: none;

  color: var(--red);
  transition: gap 0.2s ease;
}

.map-dir-btn:hover {
  gap: 8px;
}

/* ===== Right Column (Sticky) ===== */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;

  position: sticky;
  top: 80px;
}

/* ===== Seller Card ===== */
.seller-card {
  padding: 24px;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Header */
.seller-header {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 18px;
}

/* Avatar */
.seller-avatar {
  flex-shrink: 0;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);

  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

/* Seller Info */
.seller-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.seller-role {
  margin-top: 2px;

  font-size: 11.5px;
  color: var(--muted);
}

.seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 20px;

  font-size: 10.5px;
  font-weight: 700;

  color: var(--green);
  background: #e8f5e9;
}

.seller-badge i {
  font-size: 10px;
}

/* Seller Stats */
.seller-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  margin-bottom: 18px;
}

.seller-stat {
  padding: 10px 12px;
  text-align: center;

  border-radius: 10px;
  background: #f8f4f0;
}

.seller-stat .s-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;

  color: var(--red);
}

.seller-stat .s-label {
  margin-top: 2px;

  font-size: 10px;
  color: var(--muted);
}

/* ===== CTA Buttons ===== */
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-btn {
  width: 100%;
  padding: 13px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 10px;
  border: none;
  cursor: pointer;

  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;

  transition: all 0.2s ease;
}

/* Variants */
.cta-call {
  color: #fff;
  background: var(--red);
  box-shadow: 0 4px 14px rgba(180, 38, 40, 0.3);
}

.cta-call:hover {
  background: #921f21;
  transform: translateY(-1px);
}

.cta-whatsapp {
  color: #fff;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp:hover {
  background: #1fba58;
  transform: translateY(-1px);
}

.cta-enquiry {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--border);
}

.cta-enquiry:hover {
  background: #f0f4fb;
  border-color: var(--navy);
}

/* Divider */
.divider {
  height: 1px;
  margin: 16px 0;

  background: var(--border);
}

    .seller-note {
      font-size: 11.5px; color: var(--muted); text-align: center;
      line-height: 1.5;
    }
    .seller-note i { color: var(--gold); }

    /* ── SIMILAR CARD ── */
    .similar-card {
      background: var(--card); border-radius: var(--radius);
      padding: 20px; border: 1px solid var(--border);
    }
    .similar-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
    .similar-item {
      display: grid; grid-template-columns: 80px 1fr; gap: 10px;
      cursor: pointer; border-radius: 8px; padding: 6px;
      transition: background 0.2s;
    }
    .similar-item:hover { background: #f8f4f0; }
    .sim-img { width: 80px; height: 60px; border-radius: 7px; overflow: hidden; }
    .sim-img img { width: 100%; height: 100%; object-fit: cover; }
    .sim-info { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
    .sim-title { font-size: 12px; font-weight: 600; line-height: 1.4; }
    .sim-price { font-size: 13px; font-weight: 800; color: var(--red); }
    .sim-loc { font-size: 10.5px; color: var(--muted); }

    /* ── LIGHTBOX ── */
    .lightbox {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.92); z-index: 1000;
      align-items: center; justify-content: center;
    }
    .lightbox.open { display: flex; }
    .lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
    .lightbox-close {
      position: absolute; top: 20px; right: 24px;
      color: white; font-size: 28px; cursor: pointer;
      background: none; border: none; line-height: 1;
    }
    .lightbox-prev, .lightbox-next {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: rgba(255,255,255,0.1); color: white;
      border: none; font-size: 24px; padding: 14px 18px;
      cursor: pointer; border-radius: 50%; transition: background 0.2s;
    }
    .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
    .lightbox-prev { left: 24px; }
    .lightbox-next { right: 24px; }
    .lightbox-count { position: absolute; bottom: 20px; color: rgba(255,255,255,0.7); font-size: 13px; }

    /* ── VIDEO MODAL ── */
    .video-modal {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.9); z-index: 1000;
      align-items: center; justify-content: center;
    }
    .video-modal.open { display: flex; }
    .video-modal iframe {
      width: min(900px, 90vw); height: min(506px, 50vw);
      border-radius: 10px; border: none;
    }
    .vm-close {
      position: absolute; top: 20px; right: 24px;
      color: white; font-size: 28px; cursor: pointer;
      background: none; border: none;
    }

    /* ══════════════════════════════════════════
       RESPONSIVE — Mobile First
       ══════════════════════════════════════════ */

    /* Prevent ALL overflow globally */
    .page-wrap, .left-col, .right-col,
    .gallery-wrap, .info-card, .overview-card,
    .video-section, .map-card, .seller-card, .similar-card {
      min-width: 0;
      max-width: 100%;
    }

    /* ── Tablet ≤ 1024px ── */
    @media (max-width: 1024px) {
      .page-wrap {
        grid-template-columns: 1fr 300px;
        gap: 20px;
        padding: 0 16px 50px;
      }
      .gallery-main { height: 340px; }
    }

    /* ── Small Tablet ≤ 900px → single column ── */
    @media (max-width: 900px) {
      .page-wrap {
        grid-template-columns: 1fr;
        padding: 0 14px 80px;
        gap: 16px;
      }
      .right-col { position: static; }
      .gallery-main { height: 260px; }
      .amenity-grid { grid-template-columns: repeat(2, 1fr); }
      .video-grid { grid-template-columns: 1fr 1fr; }
    }

    /* ── Mobile ≤ 640px ── */
    @media (max-width: 640px) {
      .page-wrap { padding: 0 10px 80px; gap: 14px; }

      /* Gallery */
      .gallery-main { height: 210px; }
      .thumb { width: 58px; height: 44px; }
      .thumb-strip { padding: 8px 8px; gap: 5px; }
      .img-badge-price { font-size: 0.88rem; padding: 5px 12px; }
      .img-badge-id { font-size: 10px; padding: 3px 9px; }
      .img-badge-tag { font-size: 9.5px; padding: 3px 9px; }
      .photo-count-btn { font-size: 11px; padding: 5px 10px; }

      /* Info card */
      .info-card { padding: 14px; }
      .prop-title { font-size: 0.93rem; }
      .prop-loc { font-size: 12px; }
      .tag { font-size: 9.5px; padding: 3px 8px; }

      /* Stats — 2 column, 3rd spans full */
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .stat-cell:last-child { grid-column: 1 / -1; }
      .stat-val { font-size: 0.92rem; }
      .stat-val.red { font-size: 1rem; }

      /* Amenities — 2 columns */
      .amenity-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
      .amenity-item { font-size: 11px; padding: 7px 7px; gap: 6px; }

      /* Description */
      .prop-desc { font-size: 12.5px; }

      /* Overview */
      .overview-card { padding: 14px; }
      .overview-table td { font-size: 12px; padding: 8px 4px; }
      .overview-table td:first-child { width: 45%; }

      /* Video */
      .video-section { padding: 14px; }
      .video-grid { grid-template-columns: 1fr; gap: 10px; }

      /* Map */
      .map-footer { flex-wrap: wrap; gap: 8px; }

      /* Seller card */
      .seller-card { padding: 16px; }
      .seller-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .seller-stat { padding: 9px 8px; }
      .seller-stat .s-val { font-size: 1rem; }
      .seller-stat .s-label { font-size: 9.5px; }

      /* CTA buttons: Call + WhatsApp side by side, Enquiry full width */
      .cta-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .cta-enquiry { grid-column: 1 / -1; }
      .cta-btn { padding: 11px 8px; font-size: 13px; }

      /* Similar */
      .similar-card { padding: 14px; }

      /* Lightbox */
      .lightbox-prev { left: 8px; padding: 10px 13px; }
      .lightbox-next { right: 8px; padding: 10px 13px; }
    }

    /* ── Very small ≤ 400px ── */
    @media (max-width: 400px) {
      .page-wrap { padding: 0 8px 80px; }
      .gallery-main { height: 185px; }
      .prop-title { font-size: 0.88rem; }
      .stats-grid { grid-template-columns: 1fr; }
      .stat-cell:last-child { grid-column: auto; }
      .amenity-grid { grid-template-columns: 1fr 1fr; }
      .overview-table td { font-size: 11.5px; }
    }

    /* ── Sticky bottom CTA bar (mobile only) ── */
    .mobile-sticky-bar {
      display: none;
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: var(--card);
      border-top: 1px solid var(--border);
      padding: 10px 14px;
      gap: 10px;
      z-index: 500;
      box-shadow: 0 -3px 14px rgba(0,0,0,0.10);
    }
    @media (max-width: 900px) {
      .mobile-sticky-bar { display: flex; }
      body { padding-bottom: 70px; }
    }
    .mobile-sticky-bar .cta-btn {
      flex: 1; padding: 11px 6px; font-size: 12.5px;
    }
   
  
    .libre-font {
  font-family: 'Libre Baskerville', serif;
}
        :root {
            --primary-red: #d8232a;
            --text-dark: #2d2d2d;
            --text-light: #888888;
            --bg-gray: #f8f9fa;
        }

        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-gray);
        }

        /* --- Hero Section --- */
    .hero-section {
    position: relative;
    min-height: 60px; 
    height: auto;
    padding: 5px 0; 
    width: 100%;
      background: url('assert/banner des.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.522); 
            z-index: 1;
        }
        @media (max-width: 768px) {
    .hero-section::before {
        background: rgba(0, 0, 0, 0.3); /* light overlay */
    }
}

        .container {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 1100px;
            padding: 20px;
        }

        /* --- Navigation Tabs --- */
        .category-tabs {
            display: flex;
            gap: 40px;
            margin-bottom: 30px;
        }

        .category-tabs a {
            position: relative;
            padding: 10px 5px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 700;
            transition: all 0.3s ease;
        }

        .category-tabs a:hover { color: var(--primary-red); }
        .category-tabs a.is-selected { color: #ffffff; }

        .category-tabs a.is-selected::after {
            content: '';
            position: absolute;
            bottom: -5px; left: 0; width: 100%; height: 4px;
            background: var(--primary-red);
            border-radius: 10px;
        }

        /* --- Search Panel --- */
        .search-panel {
            display: flex;
            align-items: center;
            background: #ffffff;
            border-radius: 100px;
            padding: 8px 12px;
            box-shadow: 0 15px 45px rgba(0,0,0,0.2);
            width: 100%;
            border: 1px solid #efefef;
            box-sizing: border-box;
        }

        .filter-node {
            position: relative; 
            flex: 1;
            padding: 12px 20px;
            border-right: 1px solid #eee;
            cursor: pointer;
            transition: background 0.2s;
            border-radius: 50px;
        }

        .filter-node:hover { background: #fcfcfc; }
        .filter-node:last-of-type { border-right: none; }

        .node-trigger { display: flex; align-items: center; gap: 12px; }
        .glyph-highlight { color: var(--primary-red); font-size: 24px; }

        .meta-label small {
            display: block;
            color: var(--text-light);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 2px;
        }

        .meta-label b {
            display: block;
            color: var(--text-dark);
            font-size: 14px;
            white-space: nowrap;
        }

        /* --- Search Button --- */
        .action-trigger {
            background: var(--primary-red);
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 50px;
            display: flex; align-items: center; gap: 8px;
            font-size: 16px; font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(216, 35, 42, 0.2);
            margin-left: 10px;
        }

        .action-trigger:hover {
            background: #b51d23;
            transform: scale(1.02);
        }

        /* --- Dropdowns --- */
        .overlay-panel {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            top: 110%; left: 0;
            background: white;
            min-width: 280px;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            padding: 24px;
            z-index: 1000;
            border: 1px solid #eee;
            transform: translateY(10px);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        .filter-node:hover .overlay-panel {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .field-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            margin-top: 8px;
            box-sizing: border-box;
            font-family: inherit;
            color: var(--text-dark);
            background: #fff;
        }

        .dropdown-title {
            margin: 0 0 12px 0;
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .range-label {
            display: block;
            font-size: 11px;
            font-weight: 700;
            color: var(--text-light);
            margin-top: 10px;
        }

      /* ===== Responsive (Mobile ≤ 768px) ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 11px 0;
  }

  .search-panel {
    display: flex;
    flex-direction: column;

    padding: 15px;
    border-radius: 20px;
  }

  .filter-node {
    width: 100%;

    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .action-trigger {
    width: 100%;
    margin: 10px 0 0;

    display: flex;
    justify-content: center;
  }
}

/* ===== Budget Grid ===== */
.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.budget-col .col-label {
  margin-bottom: 8px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: #888;
}

/* ===== Node Trigger ===== */
.node-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glyph {
  font-size: 24px;
  color: #d8232a;
}

/* ===== Meta Label ===== */
.meta-label small {
  display: block;
  margin-bottom: 2px;

  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;

  color: #888;
}

.meta-label b {
  display: block;

  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;

  color: #2d2d2d;
}

/* ===== Action Button ===== */
.action-trigger {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 16px 28px;
  border-radius: 50px;
  border: none;

  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;

  cursor: pointer;
  transition: all 0.25s ease;

  color: #fff;
  background: #d8232a;

  margin-left: 8px;
  flex-shrink: 0;
}

.action-trigger:hover {
  background: #b51d23;
  transform: scale(1.02);
}

/* Dropdown */
.overlay-panel{
  display:none;
  position:absolute;top:calc(100% + 14px);left:0;
  background:#fff;min-width:260px;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,0.15);
  padding:20px;z-index:1000;
  border:1px solid #eee;
  animation:fadeDown .2s ease-out;
}
/* ===== Overlay Panel State ===== */
.overlay-panel.open {
  display: block;
}

/* ===== Animation ===== */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Panel Title ===== */
.panel-title {
  margin-bottom: 12px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  color: #888;
}

/* ===== Scroll List ===== */
.scroll-list {
  max-height: 200px;
  overflow-y: auto;
}

/* Scrollbar */
.scroll-list::-webkit-scrollbar {
  width: 3px;
}

.scroll-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #ddd;
}

/* ===== Item Row ===== */
.item-row {
  padding: 10px 12px;
  border-radius: 8px;

  font-size: 14px;
  cursor: pointer;

  transition: background 0.15s ease, color 0.15s ease;
}

.item-row:hover {
  color: #d8232a;
  background: #fff0f0;
}

/* ===== Input Field ===== */
.field-input {
  width: 100%;
  margin-bottom: 10px;

  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;

  font-family: inherit;
  font-size: 13px;

  outline: none;
  color: #2d2d2d;
  background: #fff;
}

.field-input:focus {
  border-color: #d8232a;
}

    /* ===== SECTION HEADERS ===== */

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header h1 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(135deg, #1e1b18, #b42628);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-header p {
  font-size: 0.85rem;
  color: #534434;
  margin-top: 0.5rem;
}

.section-pad {
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 3.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .section-pad {
    padding: 4rem 3rem;
  }
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b42628;
  font-weight: 700;
  border-bottom: 2px solid rgba(180, 38, 40, 0.3);
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.2s;
}

.view-all-link:hover {
  gap: 14px;
}


/* ===== HERO SECTION ===== */

.hero-section {
  position: relative;
  /*min-height: 50vh;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {

  .hero-section {
    position: relative;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.674); /* light black */
    z-index: 1;
  }


  .hero-section > * {
    position: relative;
    z-index: 2;
  }

}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  margin-bottom: 0;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
    /* ===== HERO SLIDER ===== */

.hero-slider-section {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1512;
}

.hero-slider-container {
  width: 100%;
  height: 200px;
  position: relative;
}

.hero-slider-item {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-slider-item img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slider-next,
.hero-slider-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, transform 0.2s;
}

.hero-slider-next::after,
.hero-slider-prev::after {
  font-size: 18px;
  color: #b42628;
  font-weight: 700;
}

.hero-slider-next {
  right: 16px;
}

.hero-slider-prev {
  left: 16px;
}

.hero-slider-next:hover,
.hero-slider-prev:hover {
  background: #b42628;
}

.hero-slider-next:hover::after,
.hero-slider-prev:hover::after {
  color: white;
}

.hero-slider-pagination {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-slider-pagination .swiper-pagination-bullet {
  background: white;
  opacity: 0.6;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  transition: all 0.3s;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #b42628;
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .hero-slider-item img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-slider-item img {
    max-height: 260px;
  }

  .hero-slider-next,
  .hero-slider-prev {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .hero-slider-item img {
    max-height: 200px;
  }
}

    /* ===== SEARCH PANEL ===== */

:root {
  --primary-accent: #d8232a;
  --primary-hover: #b51d22;
  --soft-tint: #fff1f2;
  --ui-border: #e5e7eb;
  --base-dark: #1f2937;
  --base-muted: #6b7280;
}

.top-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
}

.category-tabs {
  display: flex;
  gap: 32px;
  position: relative;
}

.category-tabs a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  padding: 0 4px 4px 4px;
  transition: color 0.3s ease;
  position: relative;
}

.category-tabs a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.category-tabs a.is-selected {
  color: rgb(255, 0, 0);
}

.category-tabs a.is-selected::after {
  transform: scaleX(1);
  transform-origin: left;
}

.search-panel {
    width: 100%;
    max-width: 876px;
    background: white;
    border-radius: 60px; 
    display: flex;
    padding: 2px 10px; 
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
    border: none;
    transition: transform 0.3s ease;
    gap: 0;
    align-items: center; /* content center */
}

@media (max-width: 768px) {
  .search-panel {
    border-radius: 24px;
    flex-direction: column;
    gap: 1px;
    padding: 0;
  }
}

.filter-node {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 80px;
  border-right: 1px solid #f0f0f0;
}

.filter-node:hover {
  background: #f9fafb;
}

.filter-node:last-of-type {
  border-right: none;
}

@media (max-width: 768px) {
  .filter-node {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 15px 12px;
    border-radius: 0;
  }

  .filter-node:last-of-type {
    border-bottom: none;
  }
}

.node-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.meta-label {
  flex: 1;
}

.meta-label small {
  display: block;
  font-size: 10px;
  color: var(--base-muted);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.meta-label b {
  font-size: 15px;
  color: var(--base-dark);
}

.glyph-highlight {
  color: var(--primary-accent);
}

.action-trigger {
  background: var(--primary-accent);
  color: white;
  border: none;
  padding: 5px 39px;
  height: 52px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.action-trigger:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .action-trigger {
    width: calc(100% - 24px);
    justify-content: center;
    margin: 12px;
    height: 50px;
  }
}

.overlay-panel {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 280px;
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  border: 1px solid var(--ui-border);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.filter-node.is-open .overlay-panel {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tag-bubble {
  background: var(--soft-tint);
  color: var(--primary-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.field-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--ui-border);
  font-family: inherit;
  color: var(--base-dark);
  outline: none;
  font-size: 14px;
}

.field-input:focus {
  border-color: var(--primary-accent);
}

   /* ===== PROPERTY CARDS ===== */

.latest-properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1280px) {
  .latest-properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .latest-properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .latest-properties-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.property-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.property-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #f5f0eb;
  overflow: hidden;
}

.property-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.property-card:hover .property-img-wrapper img {
  transform: scale(1.06);
}

.property-id {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgb(255, 158, 24);
  backdrop-filter: blur(6px);
  color: black;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  letter-spacing: 0.6px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(216, 35, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.property-price {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(180, 38, 40, 0.92);
  backdrop-filter: blur(5px);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.25rem 0.9rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.property-desc {
  padding: 0.9rem 1rem 1rem;
}

.property-desc p {
  font-size: 0.85rem;
  color: #2c241e;
  line-height: 1.4;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.property-desc p .material-symbols-outlined {
  font-size: 1rem;
  color: #b42628;
  flex-shrink: 0;
  margin-top: 1px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #867462;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e9e1dc;
  font-weight: 500;
}

.property-location .material-symbols-outlined {
  font-size: 0.9rem;
}
    /* ===== SWIPER CARDS ===== */

.property-swiper-container {
  margin-top: -12px;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem 0;
}

.property-swiper,
.blog-swiper {
  width: 100%;
  overflow: visible;
}

.property-swiper .swiper-slide,
.blog-swiper .swiper-slide {
  height: auto;
}

.property-card-swiper {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card-swiper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.property-card-swiper .property-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #f5f0eb;
  overflow: hidden;
}

.property-card-swiper .property-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.property-card-swiper:hover .property-img-wrapper img {
  transform: scale(1.06);
}

.swiper-nav-custom {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 1.5rem;
}

.swiper-btn-prev-custom,
.swiper-btn-next-custom {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e9e1dc;
  color: #b42628;
}

.swiper-btn-prev-custom:hover,
.swiper-btn-next-custom:hover {
  background: #b42628;
  color: white;
  border-color: #b42628;
  transform: scale(1.05);
}
   @media (max-width: 768px) {
  .swiper-nav-custom {
    justify-content: center;
    margin-top: 1rem;
  }
}

/* ===== BLOG CARDS ===== */

.blog-card {
  background: #ffffff;
  border-radius: 20px; /* smoother modern curve */
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee; /* subtle premium border */
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.18);
}

/* ===== IMAGE WRAPPER ===== */

.blog-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #f5f0eb;
  overflow: hidden;

  /* important for top curve */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.08);
}

/* ===== DATE BADGE ===== */

.blog-date {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #ffdad6;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 40px;
  font-family: 'Inter', monospace;
  letter-spacing: 0.3px;
}

/* ===== CONTENT ===== */

.blog-content {
  padding: 1rem 1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;

  /* bottom curve smooth */
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* ===== TITLE ===== */

.blog-title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: #1e1b18;
  font-family: 'Manrope', sans-serif;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== DESCRIPTION ===== */

.blog-excerpt {
  font-size: 0.78rem;
  color: #534434;
  line-height: 1.5;
  margin-bottom: 1rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== META ===== */

.blog-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: #867462;
  border-top: 1px solid #e9e1dc;
  padding-top: 0.7rem;
}

.blog-meta .material-symbols-outlined {
  font-size: 0.95rem;
  color: #b42628;
}
    /* ===== FAQ ===== */

.faq-item {
  border-bottom: 1px solid #e9e1dc;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  color: #1e1b18;
  transition: color 0.2s;
  gap: 1rem;
}

.faq-question:hover {
  color: #b42628;
}

.faq-question span:first-child {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: -0.2px;
  flex: 1;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #b42628;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  color: #534434;
  font-size: 0.85rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

.faq-grid-container {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .faq-grid-container {
    padding: 1rem 1.2rem;
  }
}

   /* ===== EXPLORE LOCALITIES ===== */

.explore-localities-wrapper {
  background: linear-gradient(135deg, #fef7f2 0%, #fef0ea 100%);
  border-radius: 2rem;
  padding: 3rem 2rem;
  margin: 2rem auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .explore-localities-wrapper {
    padding: 2rem 1.2rem;
    border-radius: 1.5rem;
  }
}

.locality-card-modern {
  background: white;
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.locality-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(180, 38, 40, 0.2);
}

.locality-top {
  padding: 1.6rem 1.5rem 1rem;
  position: relative;
}

.locality-title {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #1e1b18;
}

.locality-title a {
  color: #bdc3c7;
  transition: 0.2s;
}

.locality-title a:hover {
  color: #b42628;
}

.price-range-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #865300;
  margin-top: 0.5rem;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.rating-modern {
  background: #f3f0ec;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
}

.rating-modern b {
  color: #2c241e;
}

.rating-modern b::after {
  content: " ★";
  color: #f5a623;
  font-weight: 600;
}

.locality-footer-link {
  background: #fef4ef;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  text-decoration: none;
  transition: background 0.2s;
  border-top: 1px solid rgba(180, 38, 40, 0.08);
}

.locality-footer-link span {
  font-weight: 700;
  font-size: 0.85rem;
  color: #b42628;
}

.locality-footer-link i {
  background: #b42628;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  font-size: 0.75rem;
}

.locality-card-modern:hover .locality-footer-link i {
  transform: translateX(5px);
}

.locality-nav-btns {
  display: flex;
  gap: 12px;
}

.loc-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e9e1dc;
  color: #b42628;
}

.loc-nav-btn:hover {
  background: #b42628;
  color: white;
  border-color: #b42628;
}
   .loc-nav-btn:hover {
  background: #b42628;
  color: white;
  border-color: #b42628;
}
   

    /* ===== POST PROPERTY BANNER ===== */

.post-property-banner {
  background: #db4437;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: 'Nunito', sans-serif;
  gap: 20px;
}

.post-property-banner h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.post-property-banner p {
  margin: 15px 0 0;
  font-size: 20px;
  color: #ffffff;
  opacity: 0.95;
}

.post-property-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffc439;
  color: #333;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.post-property-btn:hover {
  transform: scale(1.04);
}

.post-property-badge {
  background: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .post-property-banner {
    padding: 30px 20px;
  }

  .post-property-banner h2 {
    font-size: 28px;
  }

  .post-property-banner p {
    font-size: 16px;
  }

  .post-property-btn {
    font-size: 16px;
    padding: 12px 20px;
  }
}

   /* ===== FOOTER LINKS SECTION (WHITE) ===== */

.footer-links-section {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #666;
  padding: 30px 15px;
  line-height: 1.8;
}

.footer-links-section .inner {
  max-width: 1400px;
  margin: auto;
}

.footer-links-section .section-block {
  margin-bottom: 25px;
}

.footer-links-section .section-title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-links-list li {
  display: flex;
  align-items: center;
}

.footer-links-list a {
  text-decoration: none;
  color: #777;
  transition: 0.3s;
}

.footer-links-list a:hover {
  color: #ff6b00;
}

.footer-links-list .sep {
  padding: 0 8px;
  color: #ccc;
}

.footer-desc {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-desc-text {
  font-size: 12.5px;
  color: #888;
  text-align: justify;
  margin: 0;
}

   /* ===== DARK FOOTER ===== */

.dark-footer {
  background-color: #243147;
  color: #ffffff;
  padding: 60px 20px;
}

.dark-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.dark-footer-col h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #3d4a61;
}

.dark-footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background-color: #F8E81C;
}

.dark-footer-col p,
.dark-footer-col li {
  font-size: 14px;
  line-height: 1.8;
  color: #d1d8e2;
}

.dark-footer-col ul {
  list-style: none;
  padding: 0;
}

.dark-footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.dark-footer-col ul li a {
  color: #d1d8e2;
  text-decoration: none;
  transition: 0.3s;
}

.dark-footer-col ul li a:hover {
  color: #F8E81C;
}

.yellow-bold {
  color: #F8E81C;
  font-weight: bold;
}
    /* ===== COPYRIGHT BAR ===== */

.copyright-bar {
  background-color: #1d283a;
  padding: 20px;
  color: #9ba6b9;
  font-size: 13px;
}

.bar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bottom-nav a {
  color: #9ba6b9;
  text-decoration: none;
  margin-right: 20px;
}

.bottom-nav a:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .bar-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
  .section-header {
  position: relative;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 50px;
  padding-right: 50px;
}

.header-left {
  display: inline-block;
}

.header-left h1 {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.header-left p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

/* RIGHT SIDE BUTTONS */
.header-right {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
}

/* Buttons */
.swiper-btn-prev-custom,
.swiper-btn-next-custom {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #b42628;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}




/*post property*/

.post-banner {
  margin-top: -65px;
  background: #d83a34; /* red background */
  color: #fff;
     padding: 2px 68px 23px 61px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Left side */
.post-banner-content h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

/* "free" style */
.free-text {
  font-family: 'Damion', cursive;
  font-size: 50px;
  font-weight: 400;
  margin-left: 8px;
}

/* Sub text */
.post-banner-content p {
  margin-top: -5px;
  font-size: 14px;
  color: #ffeaea;
}

/* Right side button */
.post-banner-action {
  margin-top: 21px;
}

/* Button */
.post-btn {
  background: #ff9c14; /* yellow */
  color: #333;
  padding: 10px 10px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* FREE badge inside button */
.badge {
  background: #eee;
  color: #333;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/*  MOBILE - SAME AS IMAGE (LEFT ALIGN) */
@media (max-width: 768px) {

  .post-banner {
         padding: 20px 41px;
    flex-direction: column;
    align-items: flex-start; /* keep LEFT */
  }

  .post-banner-content {
    width: 100%;
  }

  .post-banner-content h2 {
    font-size: 28px;
    line-height: 1.4;
  }

  .free-text {
    display: block; /* next line */
    font-size: 45px;
    margin-left: 0;
    margin-top: -5px;
  }

  .post-banner-content p {
    font-size: 13px;
    margin-top: 8px;
  }

  .post-banner-action {
    width: 100%;
    margin-top: 15px;
  }

  .post-btn {
    padding: 10px 15px;
    border-radius: 30px;
  }
}

/*  SMALL MOBILE */
@media (max-width: 480px) {

  .post-banner-content h2 {
    font-size: 20px;
  }

  .free-text {
    font-size: 30px;
  }
}


.damion-font {
  font-family: 'Damion', cursive;
}


/*  Mobile (default) */
.explore-localities-wrapper {
  padding-top: 2px;
  padding-bottom: 68px;
  padding-left: 16px;
  padding-right: 16px;
}

/*  Tablet & Desktop */
@media (min-width: 768px) {
  .explore-localities-wrapper {
    padding-top: 2px;
    padding-bottom: 68px;
    padding-left: 40px;
    padding-right: 40px;
  }
}


.locality-title {
  color: #000;
}

.locality-title a {
  color: inherit; /* icon same color */
}

body.drawer-open .mobile-post-btn {
  display: none !important;
}

/* View All Section */

.view-all-container {
    margin-bottom: 10px;
    text-align: center;
    margin-top: -2px;
}
/* Link Style */

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #b42628;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Hover effect */

.view-all-link:hover {
  color: #8e1f21;
}

.view-all-link:hover .material-symbols-outlined {
  transform: translateX(4px);
}



.listing-view-all {
    margin-bottom: 20px;
    text-align: center;
    margin-top: 28px;
}
.listing-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #b42628;
  text-decoration: none;
  transition: 0.3s;
}

.listing-btn .material-symbols-outlined {
  font-size: 16px;
  transition: 0.3s;
}

.listing-btn:hover {
  color: #8e1f21;
}

.listing-btn:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.hero-subtitle {
    text-align: center;
    line-height: 1.6;
}

.tamil-highlight {
    display: block; 
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .header-right {
        width: 100%;
        left: 0;
        right: 0;
        justify-content: space-between;
        padding: 0 10px;
        gap: 0; /* important */
    }
}


@media (max-width: 768px) {
.hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
        /*padding: 10px 14px 118px 8px;*/
        margin-bottom: -99px;
        text-align: center;
    }
}
.hero-subtitle {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 25px;
  }
}

.highlight {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: #f31e1e; /* red */
  font-size: 25px;
}

@media (min-width: 640px) {
  .highlight {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .highlight {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .mobile-post-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 20px; /* 🔥 reduce width */
    border-radius: 12px;

    background: linear-gradient(135deg, #ff4d4f, #d8232a);
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap; /* ✅ MAIN FIX */
  }
}
  .mobile-post-btn:active {
    transform: translateX(-50%) scale(0.95);
  }

  

:root {
  --red: #c8102e;
  --red-light: #fff0f2;
  --navy: #0f1f3d;
 /* --bg: #f4f1ee;*/
  --card: #ffffff;
  --text: #111;
  --muted: #6b7280;
  --border: #e2ddd8;
  --green: #1a7a4a;
  --gold: #b8860b;
}


/* ── LAYOUT ── */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  max-width: 1140px;
  margin: 28px auto;
  padding: 0 20px;
  align-items: start;
}

/* ── SIDEBAR ── */
.sidebar {
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  position: sticky;
  top: 76px;
}
.sidebar-title {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif;
  font-size: 18px;
  font-weight: 600; /* important for Inter */
  margin-bottom: 2px;
}
.sidebar-sub { font-size: 10.5px; color: var(--muted); letter-spacing: .8px; text-transform: uppercase; margin-bottom: 22px; }
.filter-section { margin-bottom: 22px; }
.filter-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .bottom-nav {
    bottom: 40px;
  }
}
.radio-group { display: flex; flex-direction: column; gap: 7px; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  transition: border-color .2s, background .2s;
}
.radio-item.active { border-color: var(--red); background: var(--red-light); }
.radio-item input { accent-color: var(--red); }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  appearance: none;
  background: #fafafa;
  color: var(--text);
  cursor: pointer;
}
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 13px;
}

/* Desktop price range */
.price-range-wrap { padding: 4px 0; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.price-range-value { font-size: 13px; font-weight: 600; color: var(--red); margin-bottom: 10px; }
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) var(--val, 60%), #e2ddd8 var(--val, 60%), #e2ddd8 100%);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(200,16,46,.4);
}

.btn-apply {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background .2s;
  font-family: inherit;
  letter-spacing: .2px;
}
.btn-apply:hover { background: #a00d24; }

/* ── TOOLBAR ── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.view-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: all .2s;
}
/* ===== View Toggle ===== */
.view-btn.active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.results-count {
  margin-left: auto;

  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.mobile-filter-btn {
  display: none;
}

/* ===== Cards Layout ===== */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cards.grid-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===== Card ===== */
.card {
  display: grid;
  grid-template-columns: 220px 1fr;

  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;

  transition: transform 0.2s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.4s ease both;
}

/* Grid view override */
.cards.grid-view .card {
  grid-template-columns: 1fr;
}

/* Hover */
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

/* Stagger animation */
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Image ===== */
.card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.cards.grid-view .card-img {
  height: 160px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.4s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

/* ID Badge */
.id-badge {
  position: absolute;
  top: 10px;
  left: 10px;

  padding: 3px 9px;
  border-radius: 4px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;

  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

/* ===== Card Body ===== */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;

  padding: 16px 18px;
}

/* Tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.card-img {
    position: relative;
    overflow: hidden;
    height: 214px !important;
}
.sheet-select-wrap:last-of-type {
  margin-bottom: 16px;
}
/* ===== Tag Variants ===== */
.tag-sale {
  color: #fff;
  background: var(--red);
}

.tag-type {
  color: #fff;
  background: var(--navy);
}

/* ===== Title ===== */
.card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;

  color: var(--text);
}

.cards.grid-view .card-title {
  font-size: 12px;
}

/* ===== Location ===== */
.card-loc {
  display: flex;
  align-items: center;
  gap: 5px;

  font-size: 12px;
  color: var(--muted);
}

/* ===== Meta Section ===== */
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 2px;
}

/* Label */
.meta-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: var(--muted);
}

/* Value */
.meta-value {
  margin-top: 2px;

  font-size: 18px;
  font-weight: 700;

  color: var(--red);
}

/* Area variant */
.meta-value.area {
  display: flex;
  align-items: center;
  gap: 4px;

  font-size: 13.5px;
  color: var(--text);
}

/* ===== Footer ===== */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  margin-top: auto;
}
.btn-deal {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  flex: 1;
}
.btn-deal:hover { background: #07122a; }
.btn-share {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--muted);
  transition: all .2s;
}
.btn-share:hover { border-color: var(--red); color: var(--red); }

/* ════════════════════════
   MOBILE BOTTOM SHEET
   ════════════════════════ */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  opacity: 0;
  transition: opacity .3s;
}
.filter-overlay.open { opacity: 1; }

.filter-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 400;
  padding: 0 0 env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,1,.56,1);
  max-height: 90vh;
  overflow-y: auto;
}
.filter-sheet.open { transform: translateY(0); }

.sheet-handle {
  width: 40px; height: 4px;
  background: #ddd;
  border-radius: 10px;
  margin: 12px auto 0;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.sheet-header h3 {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.sheet-close {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.sheet-body {
  padding: 10px 16px 18px;
}
.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f0ece8;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 4px;
}
.seg-btn {
  padding: 11px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--muted);
  transition: all .2s;
}
.seg-btn.active {
  background: #fff;
  color: var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.sheet-select-wrap { position: relative; margin-top: 6px; }
.sheet-select-wrap select {
  width: 100%;
  padding: 13px 42px 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  appearance: none;
  background: #fafafa;
  color: var(--text);
  cursor: pointer;
}
.sheet-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
}
.sheet-field-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 18px 0 8px;
}

/* Price range in sheet */
.price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.price-display-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
}
.price-display-label {
  font-size: 11px;
  color: var(--muted);
}
.range-track {
  position: relative;
  height: 6px;
  background: #e2ddd8;
  border-radius: 6px;
  margin: 8px 0 4px;
}
.range-fill {
  position: absolute;
  height: 100%;
  background: var(--red);
  border-radius: 6px;
  left: 0;
  width: var(--fill, 60%);
}
.mob-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: transparent;
  outline: none;
  cursor: pointer;
  position: absolute;
  top: 0; left: 0;
  margin: 0;
}
.mob-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(200,16,46,.35);
  margin-top: -8px;
}

/* Budget chips */
.budget-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.budget-chip {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: all .18s;
}
.budget-chip.active {
  border-color: var(--red);
  background: var(--red-light);
  color: var(--red);
}

.sheet-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 30px 20px 18px;
 /* border-top: 1px solid var(--border);*/
  position: sticky;
  bottom: 0;
  background: #fff;
}
.btn-reset {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}
.btn-sheet-apply {
  padding: 14px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-sheet-apply:hover { background: #a00d24; }

/* ── Filter chips (mobile toolbar) ── */
.filter-chips { display: none; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  background: var(--red-light);
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chip-x { cursor: pointer; font-size: 13px; line-height: 1; }


.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: inherit;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: color .2s;
}
.bnav-item svg { width: 20px; height: 20px; }
.bnav-item.active { color: var(--red); }
.bnav-item.filter-nav-btn {
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 8px 22px;
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
  flex-direction: row;
  text-transform: none;
  letter-spacing: 0;
}

/* ══════════════
   RESPONSIVE
   ══════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-login { display: none; }
  .btn-post { font-size: 11.5px; padding: 7px 11px; }

  .layout {
    grid-template-columns: 1fr;
    margin: 14px auto;
    padding: 0 12px;
    padding-bottom: 82px;
  }
  .sidebar { display: none; }

  .mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 8px 13px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    color: var(--text);
  }

  .filter-chips { display: flex; }

  /* Mobile list view (default) */
  .cards { display: flex; flex-direction: column; gap: 14px; }
  .card { grid-template-columns: 1fr; }
  .card-img { height: 185px; }

  /* Mobile grid view */
  .cards.grid-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cards.grid-view .card { grid-template-columns: 1fr; }
  .cards.grid-view .card-img { height: 130px; }
  .cards.grid-view .card-body { padding: 11px 12px; gap: 6px; }
  .cards.grid-view .card-title { font-size: 11px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cards.grid-view .meta-value { font-size: 14px; }
  .cards.grid-view .card-meta { gap: 10px; }
  .cards.grid-view .btn-deal { font-size: 11px; padding: 7px 10px; }
  .cards.grid-view .btn-share { display: none; }
  .cards.grid-view .card-loc { font-size: 10.5px; }
  .cards.grid-view .tag { font-size: 9px; padding: 2px 7px; }

  
  .filter-overlay { display: block; }
}
@media (max-width: 768px) {
    .bar-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        position: relative;
        top: -29px;
    }
}
.bar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .copyright-bar {
    padding: 40px 20px; /* height increase */
    font-size: 14px;
    line-height: 1.6;
  }
}





/* ===== CENTER PRICE OVERRIDE ===== */

.seller-stats{
    width:100% !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    text-align:center !important;
}

.seller-stat{
    width:auto !important;
    padding:9px 97px !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    flex-direction:column !important;

    margin:0 auto !important;
}

.s-val{
    font-size:14px !important;
    font-weight:700 !important;

    text-align:center !important;
    line-height:1.2 !important;

    white-space:nowrap !important;
    display:inline-block !important;
    width:auto !important;
}












/* VIOLET ENQUIRY BUTTON */

.cta-enquiry{
    background: #0f1f3d !important;
    color: #fff !important;

    border: none !important;

    transition: 0.3s ease !important;
}

.cta-enquiry:hover{
    background: #0f1f3dd1 !important;

    transform: translateY(-2px);
}



/* ── Modal Overlay ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 50, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Open State */
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

    .modal {
      background: var(--white);
      border-radius: 18px;
      width: 100%; max-width: 460px;
      box-shadow: 0 32px 80px rgba(20,24,50,0.3);
      transform: scale(0.94) translateY(16px);
      transition: transform 0.25s, opacity 0.25s;
      overflow: hidden;
    }
   

.modal-header {
    background: linear-gradient(rgb(15 31 61 / 85%), rgb(15 31 61 / 86%)), url(../assert/popup.jpg) no-repeat center;
    background-size: cover;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
   /* ── Modal Header ── */
.modal-header h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

/* Close Button */
.modal-close {
  background: #e03131;
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #c92a2a;
  transform: scale(1.05);
}

/* ── Agent Bar ── */
.modal-agent-bar {
  background: #fff8f8;
  border-bottom: 1px solid var(--border);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-agent-bar .agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  flex-shrink: 0;
}

.modal-agent-bar .agent-meta p {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.modal-agent-bar .agent-meta span {
  font-size: 11.5px;
  color: var(--red);
  font-weight: 600;
}

/* ── Body ── */
.modal-body {
  padding: 20px 22px;
}

/* Fields */
.m-field {
  margin-bottom: 14px;
}

.m-field-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  margin-bottom: 14px;
}

/* Input Wrapper */
.m-input-wrap {
  position: relative;
}

/* Icons */
.m-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}

.m-input-wrap.textarea-wrap svg {
  top: 14px;
  transform: none;
}

/* Inputs */
.m-input-wrap input,
.m-input-wrap textarea,
.m-input-wrap select {
  width: 100%;
  background: #f5f6fb;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px 10px 36px;
  font-size: 13.5px;
 font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
  appearance: none;
}

.m-input-wrap input::placeholder,
.m-input-wrap textarea::placeholder {
  color: var(--muted);
}

/* Focus State (Improved UX) */
.m-input-wrap input:focus,
.m-input-wrap textarea:focus,
.m-input-wrap select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 49, 49, 0.1);
  background: #fff;
}

/* Textarea */
.m-input-wrap textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 10px;
}

/* ── Phone Field ── */
.m-field-row .m-input-wrap:first-child select {
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding-left: 12px;
}

.m-field-row .m-input-wrap:last-child input {
  border-radius: 0 10px 10px 0;
  padding-left: 14px;
}

/* Dropdown Arrow */
.cc-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: var(--muted);
  pointer-events: none;
}

/* ── Terms ── */
.m-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 14px;
}

.m-terms input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.m-terms label {
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}

.m-terms label a {
  color: var(--accent);
  text-decoration: none;
}

.m-terms label a:hover {
  text-decoration: underline;
}
   /* ── Captcha Box ── */
.captcha-box {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f6fb;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

/* Hover subtle */
.captcha-box:hover {
  border-color: var(--accent);
}

/* Left */
.captcha-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Checkbox */
.captcha-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Checked */
.captcha-check.checked {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.05);
}

.captcha-check svg {
  display: none;
  width: 12px;
  height: 12px;
  fill: #fff;
}

.captcha-check.checked svg {
  display: block;
}

/* Label */
.captcha-label {
  font-size: 13px;
  color: var(--text);
}

/* Logo */
.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: var(--muted);
}

.captcha-logo svg {
  width: 26px;
  height: 26px;
}

/* ── Submit Button ── */
.btn-submit-modal {
  width: 100%;
  background: #c8102e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
 font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition: all 0.2s ease;
}

/* Hover */
.btn-submit-modal:hover:not(:disabled) {
  background: #0f1f3d;
  transform: translateY(-1px);
}

/* Active */
.btn-submit-modal:active {
  transform: scale(0.97);
}

/* Disabled */
.btn-submit-modal:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Icon */
.btn-submit-modal svg {
  width: 16px;
  height: 16px;
}
/* Modal Overlay */
#modalOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* Modal Box */
#modalOverlay .modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0);     }
}

/* Modal Header */
#modalOverlay .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

#modalOverlay .modal-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8232a, #ff4d4f);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#modalOverlay .modal-seller-info {
    flex: 1;
}

#modalOverlay .modal-seller-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 0 0 2px;
}

#modalOverlay .modal-seller-info span {
    font-size: 12px;
    color: #888;
}

#modalOverlay .modal-close {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
    margin-left: auto;
}

#modalOverlay .modal-close:hover {
    background: #ffe5e5;
    color: #d8232a;
}

/* Form inside modal */
#modalOverlay .form-group {
    margin-bottom: 14px;
}

#modalOverlay .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

#modalOverlay .contact-form-field {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

#modalOverlay .contact-form-field:focus {
    border-color: #d8232a;
}

#modalOverlay textarea.contact-form-field {
    resize: vertical;
    min-height: 80px;
}

/* Submit button */
#modalOverlay .cta-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #d8232a, #ff4d4f);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

#modalOverlay .cta-btn:hover {
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 480px) {
    #modalOverlay .modal-box {
        max-height: 95vh;
        padding: 18px;
        border-radius: 12px;
    }
}
