/* =========================================================
   1. GLOBAL / BASE
========================================================= */
:root {
  --navy: #101d43;
  --navy-2: #14264f;
  --blue: #397eaf;
  --body-bg: #e7eef7;
  --muted: #71819b;
  --card-border: #dce4ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--body-bg);
  color: var(--navy);
  font-size: 14px;
}

a {
  text-decoration: none;
}

.spinner-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   2. HERO / NAVIGATION
========================================================= */
.hero-section {
  min-height: 480px;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #101d43 url('https://vibe.filesafe.space/1784865099005474909/assets/b82c82cd-1fa3-4470-af05-981e614b86c2.png') center 48% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 55, .91), rgba(10, 22, 55, .82)), rgba(10, 22, 55, .38);
}

.hero-nav,
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-nav {
  height: 74px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #d9ad57;
  font-size: 21px;
}

.brand-name {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .5px;
}

.hero-content {
  text-align: center;
  padding-top: 18px;
  padding-bottom: 50px;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  background: #367eae;
  font-size: 14px;
  font-weight: 600;
}

.hero-content h1 {
  margin: 13px 0 7px;
  font-size: clamp(28px, 4vw, 43px);
  font-weight: 700;
  letter-spacing: -.9px;
}

.hero-content h1 span {
  color: #4a91c2;
}

.hero-subtitle {
  color: #d3dced;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* =========================================================
   3. SEARCH PANEL
========================================================= */
.search-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 13px 14px 12px;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #edf1f6;
  padding: 0 2px 9px;
}

.search-input-wrap i {
  color: #8493a9;
}

.search-input-wrap .form-control {
  border: 0;
  box-shadow: none;
  font-size: 12px;
  padding: 3px 0;
}

.search-tabs {
  display: flex;
  gap: 20px;
  padding: 9px 0 12px;
  border-bottom: 1px solid #edf1f6;
}

.search-tab {
  background: none;
  border: 0;
  padding: 0;
  color: #687991;
  font-size: 14px;
}

.search-tab.active {
  color: #2e77ad;
  font-weight: 600;
}

.search-tab i {
  margin-right: 4px;
}

.filter-label {
  color: #8b98aa;
  font-size: 12px;
  font-weight: 700;
  margin: 1rem 0 7px;
}

.filter-row .form-select {
  height: 35px;
  border-color: #dce3ed;
  font-size: 14px;
  color: var(--navy);
  box-shadow: none;
  cursor: pointer;
}

.search-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
}

.search-bottom small {
  font-size: 12px;
  color: #667894;
}

.badge-filter {
  font-size: 11px;
  background-color: #3b6fa01a;
  color: #3b6fa0;
}

.btn-primary-custom {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
}

.btn-primary-custom:hover {
  background: #263d70;
  border-color: #263d70;
  color: #fff;
}

/* =========================================================
   4. PROPERTY LISTING / CARDS
========================================================= */
.listing-section {
  max-width: 1120px;
  padding-top: 42px;
  padding-bottom: 48px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 3px;
}

.section-heading p {
  color: #6482a9;
  font-size: 14px;
  margin: 0;
}

.verified-link {
  color: var(--navy);
  font-size: 14px;
}

.property-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 9px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(22, 43, 77, .12);
}

.property-image {
  height: 220px;
  position: relative;
  background: #cbd5e1;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.tag-list {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.property-tag {
  background: #3c82b2;
  color: #fff;
  border-radius: 10px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 600;
}

.property-tag.dark {
  background: #16223e;
  margin-left: auto;
}

.property-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 10px 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}

.property-info {
  padding: 1.5rem;
}

.property-location {
  color: #6685a9;
  font-size: 12px;
  margin-bottom: 12px;
}

.property-location i {
  margin-right: 4px;
}

.property-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.property-description {
  color: #7b8ca5;
  font-size: 12px;
  line-height: 1.65;
  min-height: 44px;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #526580;
  font-size: 12px;
  margin-bottom: 16px;
}

.property-meta i {
  margin-right: 3px;
}

.details-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px;
  font-size: 12px;
}

.empty-state {
  text-align: center;
  padding: 55px 15px;
  color: #6d7d94;
}

.empty-state i {
  font-size: 35px;
}

.empty-state h3 {
  font-size: 18px;
  color: var(--navy);
  margin-top: 10px;
}

/* =========================================================
   5. FOOTER & WHATSAPP
========================================================= */
.site-footer {
  background: var(--navy);
  color: #c5d0e4;
  padding: 32px 15px 27px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  font-size: 12px;
  line-height: 1.7;
  color: #aab9d2;
  margin-bottom: 13px;
}

.site-footer small {
  font-size: 12px;
  color: #aab9d2;
}

.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: 18px;
  bottom: 0%;
  background: #18c96b;
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
}

.whatsapp-float:hover {
  background: #10ae59;
  color: #fff;
}

.whatsapp-float i {
  font-size: 14px;
  margin-right: 5px;
}

.detail-modal {
  border: 0;
  border-radius: 10px;
}

.detail-modal .modal-title {
  font-size: 16px;
  font-weight: 700;
}

.detail-modal .modal-body {
  font-size: 12px;
  color: #64748b;
}

/* =========================================================
   6. RESPONSIVE
========================================================= */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-top: 15px;
    padding-bottom: 35px;
  }

  .hero-subtitle br {
    display: none;
  }

  .search-tabs {
    gap: 13px;
    overflow-x: auto;
  }

  .search-tab {
    white-space: nowrap;
  }

  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .verified-link {
    white-space: nowrap;
  }

  .property-image {
    height: 190px;
  }

  .property-description {
    min-height: 0;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 12px;
  }
}

@media (min-width: 768px) {
  #propertyGrid>.property-col {
    flex: 0 0 auto;
    width: 33.333333%;
  }
}