* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #1a5276;
  --blue-light: #2e86c1;
  --blue-pale: #d6eaf8;
  --white: #ffffff;
  --grey: #f4f6f7;
  --text: #1c2833;
  --text-muted: #5d6d7e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--white);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.fade-up-delay-1 { animation-delay: 0.15s; }
.fade-up-delay-2 { animation-delay: 0.3s; }
.fade-up-delay-3 { animation-delay: 0.45s; }

/* ── NAVBAR ── */
nav {
  background: var(--blue);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-logo {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: #aed6f1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #aed6f1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: subtleZoom 12s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,82,118,0.88) 0%, rgba(46,134,193,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: normal;
  color: #aed6f1;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Search bar inside hero */
.hero-search {
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-end;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search .hs-group {
  flex: 1;
  min-width: 140px;
  text-align: left;
}

.hero-search label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.3rem;
}

.hero-search input,
.hero-search select {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  border: none;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  outline: none;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(255,255,255,0.5);
  stroke-width: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover {
  background: var(--blue-pale);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue-light);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

/* ── SECTIONS ── */
section {
  padding: 64px 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── FEATURES ── */
.features {
  background: var(--grey);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--blue-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.feature-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── PROPERTY CARDS ── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.property-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.property-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.property-card:hover .property-img {
  transform: scale(1.04);
}

.property-img-wrap {
  overflow: hidden;
  position: relative;
  height: 220px;
}

.property-img-wrap .property-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.property-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.property-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.property-location {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.property-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}

.property-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--grey);
  padding-top: 0.75rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img-placeholder {
  border-radius: 12px;
  height: 420px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(26,82,118,0.2);
}

.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,82,118,0.35) 100%);
  pointer-events: none;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--blue);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.stat h3 {
  font-size: 1.8rem;
  color: var(--blue);
  font-weight: 700;
}

.stat p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  color: var(--blue);
}

.team-card h3 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--blue-light);
  font-size: 0.875rem;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--blue);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item .ci-icon {
  font-size: 1.25rem;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 0.875rem;
  color: var(--blue);
  margin-bottom: 0.1rem;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.contact-form h3 {
  color: var(--blue);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ccd9e8;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--blue);
  color: #aed6f1;
  padding: 48px 2rem 24px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #aed6f1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(174, 214, 241, 0.7);
}

/* ── PAGE HEADER ── */
.page-header {
  position: relative;
  color: var(--white);
  padding: 100px 2rem 80px;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,82,118,0.7) 0%, rgba(46,134,193,0.5) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header p {
  opacity: 0.9;
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── STAT BANNER ── */
.stat-banner {
  background: var(--blue);
  padding: 3rem 2rem;
}

.stat-banner .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.stat-banner .stat-item h3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #aed6f1;
}

.stat-banner .stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--grey);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--blue-pale);
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-pale);
}

.testimonial-author h4 {
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars {
  color: #f1c40f;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* ── NEIGHBOURHOOD STRIP ── */
.neighbourhood {
  padding: 56px 2rem;
}

.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.neighbourhood-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
  cursor: pointer;
}

.neighbourhood-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.neighbourhood-item:hover img {
  transform: scale(1.08);
}

.neighbourhood-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26,82,118,0.85));
  color: white;
  padding: 1rem 0.75rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── FEATURE IMAGE SPLIT ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.split-img {
  overflow: hidden;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.split-img:hover img {
  transform: scale(1.04);
}

.split-content {
  background: var(--blue);
  color: white;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.split-content p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 0.97rem;
}

.split-content .btn-white {
  align-self: flex-start;
  margin-top: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .nav-links.open { display: flex; }

  .about-grid,
  .contact-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section {
    display: block;
  }

  .split-img {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-wrap: wrap;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
