/* ── Base ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* ── Scrollbar hide for review carousel ── */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ── Line clamp ── */
.line-clamp-5 {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Filter buttons ── */
.filter-btn {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid transparent;
}
.filter-btn:hover {
  background: #e5e7eb;
}
.filter-btn.active {
  background: #1B4332;
  color: #fff;
  border-color: #1B4332;
}

/* ── Property card animation ── */
.property-card {
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.property-card.fade-in {
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll-triggered animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero gradient text (optional) ── */
.gradient-text {
  background: linear-gradient(135deg, #86efac, #D8F3DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Review card hover ── */
.review-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* ── Form focus styles ── */
.form-input:focus {
  outline: none;
  border-color: #2D6A4F;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* ── Benefit card ── */
.benefit-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* ── CTA section gradient ── */
.cta-gradient {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #40916C 100%);
}

/* ── Nav transition ── */
#navbar {
  transition: all 0.3s ease;
}

/* ── Responsive fixes ── */
@media (max-width: 640px) {
  .review-card {
    width: 300px !important;
  }
}

/* ── Custom selection ── */
::selection {
  background: rgba(45, 106, 79, 0.15);
  color: #1B4332;
}

/* ── Smooth image loading ── */
img {
  transition: opacity 0.3s ease;
}
