/* ==========================================================================
   1. BASE & RESET
   ========================================================================== */
a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-pad {
  padding: 64px 0;
}

.bg-soft {
  background: #FAF7F2;
}

.bg-pink {
  background: #FBEDEC;
}

/* ---------- Section Heading (reusable) ---------- */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-heading p {
  color: #6B6260;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Buttons (reused) ---------- */
.btn-kv-primary {
  background: #042545;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform 0.35s ease, background 0.35s ease;
}

.btn-kv-primary:hover {
  background: #042545;
  color: #fff;
  transform: scale(1.03);
}

.btn-kv-accent {
  background: #F4C542;
  color: #042545;
  border: none;
  border-radius: 12px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform 0.35s ease, background 0.35s ease;
}

.btn-kv-accent:hover {
  background: #E0B32E;
  color: #042545;
  transform: scale(1.03);
}

.btn-kv-outline {
  background: #fff;
  color: #042545;
  border: 1px solid #EDE6E0;
  border-radius: 12px;
  padding: 11px 24px;
  font-weight: 600;
  font-size: .9rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.btn-kv-outline:hover {
  border-color: #042545;
  color: #042545;
  transform: scale(1.03);
}

/* ---------- Breadcrumb ---------- */
.kv-breadcrumb {
  padding: 14px 0;
  font-size: .9rem;
}

.kv-breadcrumb a {
  color: #042545;
  font-weight: 600;
}

.kv-breadcrumb .sep {
  margin: 0 8px;
  color: #6B6260;
}

.kv-breadcrumb .current {
  color: #6B6260;
}

/* ==========================================================================
   2. HERO SEARCH
   ========================================================================== */
.kv-hero {
  padding: 70px 0 40px;
  text-align: center;
}

.kv-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.kv-hero p.lead-text {
  color: #6B6260;
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

.kv-search-bar {
  background: #fff;
  border: 1px solid #EDE6E0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  padding: 8px 8px 8px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.kv-search-bar i.fa-magnifying-glass {
  color: #6B6260;
}

.kv-search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  padding: 10px 0;
  background: transparent;
}

.kv-search-bar select {
  border: none;
  outline: none;
  background: transparent;
  color: #6B6260;
  font-weight: 500;
  border-left: 1px solid #EDE6E0;
  padding-left: 14px;
}

.kv-search-bar .btn-kv-primary {
  border-radius: 999px;
  white-space: nowrap;
}

/* ==========================================================================
   3. FILTER CHIP BAR 
   ========================================================================== */
.kv-filter-bar {
  background: #FAF7F2;
  border-top: 1px solid #EDE6E0;
  border-bottom: 1px solid #EDE6E0;
  padding: 18px 0;
}

.kv-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #241414;
  border: 1px solid #EDE6E0;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .87rem;
  font-weight: 500;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.filter-chip i {
  font-size: .8rem;
  color: #6B6260;
}

.filter-chip:hover {
  border-color: #042545;
  color: #042545;
}

.filter-chip:hover i {
  color: #042545;
}

.filter-chip.active {
  background: #042545;
  border-color: #042545;
  color: #fff;
}

.filter-chip.active i {
  color: #fff;
}

.kv-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 14px;
}

.kv-results-bar .results-count {
  font-weight: 700;
  font-size: 1.05rem;
}

.kv-results-bar .results-sub {
  color: #6B6260;
  font-size: .85rem;
  font-weight: 400;
}

.kv-sort-select {
  border: 1px solid #EDE6E0;
  border-radius: 12px;
  padding: 9px 16px;
  font-weight: 500;
  color: #241414;
}

/* ==========================================================================
   4. PROPERTY CATEGORY CARDS
   ========================================================================== */
.category-card {
  text-align: center;
  height: 100%;
  transition: transform 0.35s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(139, 30, 30, .14);
}

.category-card .icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.category-card .icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.category-card .count {
  color: #042545;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  display: block;
}

.category-card p {
  color: #867e7c;
  font-size: 12px;
  margin-bottom: 18px;
  font-weight: 700;
}

.category-card .explore-link {
  color: #042545;
  font-weight: 600;
  font-size: .9rem;
}

.category-card .explore-link i {
  margin-left: 6px;
  transition: transform 0.35s ease;
}

.category-card:hover .explore-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   5. FEATURED COLLECTIONS (Swiper)
   ========================================================================== */
.collection-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.collection-card:hover img {
  transform: scale(1.08);
}

.collection-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 20, 20, 0) 30%, rgba(36, 20, 20, .85) 100%);
}

.collection-card .card-body-abs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: #fff;
}

.collection-card .count-badge {
  background: #F4C542;
  color: #042545;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}

.collection-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.collection-card .explore-btn {
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   6. POPULAR LOCATIONS (Swiper)
   ========================================================================== */
.location-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(139, 30, 30, .14);
}

.location-card .loc-img {
  height: 170px;
  overflow: hidden;
}

.location-card .loc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.location-card:hover .loc-img img {
  transform: scale(1.08);
}

.location-card .loc-body {
  padding: 18px;
}

.location-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.location-card .loc-meta {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: #6B6260;
}

.location-card .loc-meta strong {
  color: #042545;
  display: block;
  font-size: .95rem;
}

/* ---------- Pagination (reused) ---------- */
.kv-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.kv-pagination a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #EDE6E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #241414;
  font-weight: 600;
  font-size: .9rem;
  transition: all 0.35s ease;
}

.kv-pagination a.active {
  background: #042545;
  color: #fff;
  border-color: #042545;
}

.kv-pagination a:hover:not(.active) {
  border-color: #042545;
  color: #042545;
}

/* ==========================================================================
   8. EXPLORE ON MAP
   ========================================================================== */
.map-placeholder {
  height: 100%;
  min-height: 380px;
  border-radius: 16px;
  background: #FAF7F2;
  border: 1px dashed #EDE6E0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #6B6260;
  gap: 10px;
}

.map-placeholder i {
  font-size: 2.4rem;
  color: #042545;
}

.map-highlights {
  background: #fff;
  border: 1px solid #EDE6E0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  padding: 30px;
  height: 100%;
}

.map-highlights .highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #EDE6E0;
}

.map-highlights .highlight-row:last-of-type {
  border-bottom: none;
}

.map-highlights .highlight-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.map-highlights .highlight-label i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FBEDEC;
  color: #042545;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-highlights .highlight-value {
  font-weight: 700;
  color: #042545;
}

/* ==========================================================================
   10. HOME LOAN CTA BANNER
   ========================================================================== */
.loan-banner {
  background: #042545;
  border-radius: 16px;
  padding: 50px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.loan-banner h2 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.loan-banner p {
  color: rgba(255, 255, 255, .8);
  margin: 0;
  max-width: 460px;
}

.loan-banner .loan-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.kv-accordion .accordion-item {
  border: 1px solid #EDE6E0;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 14px;
}

.kv-accordion .accordion-button {
  font-weight: 600;
  font-size: .98rem;
  padding: 20px 24px;
  color: #241414;
}

.kv-accordion .accordion-button:not(.collapsed) {
  background: #FBEDEC;
  color: #042545;
  box-shadow: none;
}

.kv-accordion .accordion-button:focus {
  box-shadow: none;
}

.kv-accordion .accordion-body {
  padding: 0 24px 22px;
  color: #6B6260;
  font-size: .92rem;
}

/* ==========================================================================
   13. PREMIUM CTA BANNER
   ========================================================================== */
.premium-cta {
  background: linear-gradient(135deg, #042545, #042545);
  border-radius: 16px;
  text-align: center;
  padding: 64px 30px;
  color: #fff;
}

.premium-cta h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.premium-cta p {
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin: 0 auto 28px;
}

.premium-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   14. FOOTER (reused)
   ========================================================================== */
.kv-footer {
  background: #eef5fc;
  padding-top: 60px;
}

.kv-footer h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.kv-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kv-footer ul li {
  margin-bottom: 12px;
}

.kv-footer ul li a {
  color: #6B6260;
  font-size: .9rem;
}

.kv-footer ul li a:hover {
  color: #042545;
}

.kv-footer .footer-brand p {
  color: #6B6260;
  font-size: .9rem;
  margin-top: 16px;
}

.kv-footer .newsletter-input {
  border-radius: 12px 0 0 12px;
  border: 1px solid #EDE6E0;
  padding: 12px 16px;
  width: 100%;
}

.kv-footer .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.kv-footer .social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #042545;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.kv-footer .social-icons a:hover {
  transform: scale(1.03);
  background: #042545;
}

.kv-footer-bottom {
  border-top: 1px solid rgba(139, 30, 30, .12);
  margin-top: 44px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
  color: #6B6260;
}

/* ==========================================================================
   Swiper navigation restyle
   ========================================================================== */
.swiper-button-next,
.swiper-button-prev {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  color: #042545 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700;
}

.swiper-pagination-bullet-active {
  background: #042545 !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .kv-nav-links {
    display: none;
  }

  .property-media {
    min-height: 220px;
  }

  .property-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .loan-banner {
    text-align: center;
    justify-content: center;
  }

  .loan-banner p {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .kv-hero h1 {
    font-size: 1.9rem;
  }

  .kv-search-bar {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 16px;
  }

  .kv-search-bar select {
    border-left: none;
    padding-left: 0;
  }

  .kv-search-bar .btn-kv-primary {
    width: 100%;
    border-radius: 12px;
  }

  .property-top {
    flex-direction: column;
  }

  .property-price {
    text-align: left;
  }

  .property-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .property-actions .secondary-actions {
    justify-content: space-between;
  }

  .kv-topbar {
    display: none;
  }
}