/* Google Fonts: Outfit (headings) & Inter (body text) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary: #5a20a2;
  --primary-dark: #3b1170;
  --primary-light: #8a4fd6;
  --primary-soft: #f4effc;
  --secondary: #9d4edd;
  --accent: #e0aaff;

  /* Neutral Palette */
  --text-dark: #1a191d;
  --text-muted: #625f6e;
  --bg-light: #ffffff;
  --bg-slate: #f7f6fa;
  --border-color: #e8e5ef;

  /* Layout */
  --shadow-sm: 0 2px 8px rgba(59, 17, 112, 0.06);
  --shadow-md: 0 8px 24px rgba(59, 17, 112, 0.1);
  --shadow-lg: 0 16px 48px rgba(59, 17, 112, 0.14);
  --shadow-card: 0 4px 16px rgba(59, 17, 112, 0.08);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title { font-size: 2.6rem; margin-bottom: 14px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(90, 32, 162, 0.3); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary-dark); font-weight: 700; }
.btn-white:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ── Header & Navigation ── */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border-color);
  transition: var(--transition);
}
header.scrolled {
  box-shadow: 0 4px 20px rgba(59, 17, 112, 0.08);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.logo span { color: var(--primary-light); margin-left: 2px; }
.logo-icon {
  width: 34px; height: 34px;
  background: var(--primary);
  border-radius: 10px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav-menu { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--primary);
}
.nav-cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* ── Hero — Full-width with overlay ── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 17, 112, 0.82) 0%, rgba(90, 32, 162, 0.65) 50%, rgba(59, 17, 112, 0.78) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero-content .section-label { color: var(--accent); }
.hero-content h1 {
  font-size: 3.6rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Hero Search Bar ── */
.hero-search {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  gap: 12px;
  align-items: end;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  margin-top: 40px;
  max-width: 640px;
  flex-wrap: wrap;
}
.hero-search .search-field {
  flex: 1;
  min-width: 140px;
}
.hero-search .search-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hero-search .search-field select,
.hero-search .search-field input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-slate);
  transition: var(--transition);
  appearance: none;
}
.hero-search .search-field select:focus,
.hero-search .search-field input:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
}
.hero-search .btn-primary {
  padding: 12px 28px;
  white-space: nowrap;
}

/* ── Stats Banner ── */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 48px 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

/* ── Section Alternating Backgrounds ── */
.bg-slate { background-color: var(--bg-slate); }
.bg-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2d0a5e 100%);
  color: #fff;
}
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ── Property Listings Grid ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.listing-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}
.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.listing-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.listing-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.listing-card:hover .listing-img { transform: scale(1.08); }
.listing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 17, 112, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.listing-card:hover .listing-overlay { opacity: 1; }
.listing-overlay .btn { font-size: 0.85rem; padding: 10px 22px; }
.listing-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.listing-badge.rent { background: #0ea5e9; }
.listing-price {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(26, 25, 29, 0.88);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.listing-details { padding: 22px; }
.listing-title { font-size: 1.2rem; margin-bottom: 6px; color: var(--primary-dark); }
.listing-address {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.listing-specs {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.listing-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.listing-specs .spec-icon {
  width: 16px; height: 16px;
  fill: var(--primary-light);
}
.listing-action { width: 100%; margin-top: 14px; }

/* ── Property Management Highlight ── */
.pm-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pm-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  margin-top: 24px;
}
.pm-services-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
  color: var(--text-dark);
}
.pm-services-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  background: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.why-card {
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--primary);
  transition: height 0.35s ease;
}
.why-card:hover::before { height: 100%; }
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.why-icon {
  width: 56px; height: 56px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

/* ── Testimonials ── */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; color: #fff; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -200px; right: -100px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  bottom: -150px; left: -80px;
}
.cta-banner h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Forms ── */
.form-container {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--primary-dark);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-slate);
}
.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px var(--primary-soft);
  background: #fff;
}

/* ── ROI Calculator ── */
.roi-calculator {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
.calc-results {
  background: var(--primary-soft);
  border-radius: var(--border-radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}
.calc-result-val {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin: 14px 0;
}

/* ── Agents Grid ── */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.agent-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.agent-img-wrapper {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.agent-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.agent-card:hover .agent-img { transform: scale(1.05); }
.agent-social-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(59,17,112,0.85), transparent);
  padding: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.agent-card:hover .agent-social-overlay { opacity: 1; }
.agent-social-overlay a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}
.agent-social-overlay a:hover { background: var(--accent); color: var(--primary-dark); }
.agent-info { padding: 24px; }
.agent-name { font-size: 1.3rem; margin-bottom: 4px; }
.agent-title {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.agent-bio { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.6; }
.agent-contact {
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.agent-contact a { color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.agent-contact a:hover { color: var(--primary); }

/* ── Footer ── */
footer {
  background: #1a0e30;
  color: #fff;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-logo span { color: var(--accent); }
.footer-about p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; }
.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}
.footer-contact-item .fc-icon {
  width: 18px; height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Newsletter */
.footer-newsletter p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 16px; }
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--accent); outline: none; }
.newsletter-form button {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}
.newsletter-form button:hover { background: var(--accent); color: var(--primary-dark); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.8rem; }
  .hero { padding: 100px 0 80px; min-height: auto; }
  .pm-highlight-grid, .calculator-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .navbar { flex-direction: column; height: auto; padding: 14px 0; gap: 12px; }
  .nav-menu { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-search { flex-direction: column; }
  .hero-search .search-field { min-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 2rem; }
  .testimonials-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .listings-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2rem; }
}
