:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #5b6474;
  --accent: #ff7a00;
  --accent-dark: #d96000;
  --border: #e9ebf2;
  --shadow-soft: 0 24px 70px rgba(20, 33, 61, 0.08);
  --shadow-strong: 0 32px 90px rgba(20, 33, 61, 0.14);
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 0, 0.14), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(20, 33, 61, 0.08), transparent 24%),
    linear-gradient(135deg, #fffaf4 0%, var(--bg) 45%, #f3f5fb 100%);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent 70%);
  filter: blur(18px);
}

body::after {
  width: 320px;
  height: 320px;
  bottom: 0;
  left: -100px;
  background: radial-gradient(circle, rgba(20, 33, 61, 0.08), transparent 72%);
  filter: blur(24px);
}

/* Prevent horizontal scroll on small devices */
html, body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  position: sticky;
  top: 12px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.06);
}

/* Mobile-first: hide the desktop nav and show toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 12px;
}

.nav-links {
  display: none;
  gap: 12px;
  flex-wrap: nowrap;
}

.topbar.open .nav-links {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.98));
  padding: 18px 20px 22px;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 12px 40px rgba(20,33,61,0.08);
  z-index: 60;
}

.topbar .nav-cta {
  display: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 8px;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 10px 18px;
  min-width: max-content;
  background: #25D366;
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.24);
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
  background: #1ebe5a;
  color: white;
}

.whatsapp-cta svg,
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: white;
}

.whatsapp-float {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 18px 40px rgba(18, 140, 126, 0.3);
}

@media (max-width: 1023px) {
  .whatsapp-float {
    left: auto;
    right: 18px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

@media (min-width: 1024px) {
  .whatsapp-float {
    display: none;
  }
}

.whatsapp-float:hover {
  transform: translateY(calc(-50% - 2px));
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 25px rgba(20, 33, 61, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.2);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}
.btn-whatsapp svg { display: inline-block; vertical-align: middle; }

/* WhatsApp pulse animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 6px 18px rgba(37,211,102,0.12);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 10px 30px rgba(37,211,102,0.18);
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    box-shadow: 0 6px 18px rgba(37,211,102,0.12);
    transform: translateY(0) scale(1);
  }
}

.btn-whatsapp:hover { transform: translateY(-3px); }

.btn-secondary {
  background: rgba(255,255,255,0.16);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 80px;
  display: grid;
  align-items: center;
  min-height: 80vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.secondary-hero {
  min-height: 60vh;
  padding-top: 50px;
}

/* Larger tap targets on mobile */
.btn { min-height: 44px; padding-left: 16px; padding-right: 16px; }

.md-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.md-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(221, 221, 235, 0.9);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.08);
  align-items: center;
}

.md-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 28px;
}

.md-content {
  padding: 12px 0;
}

.md-content h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 18px;
}

.md-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.md-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.md-details div {
  background: #fdf2e7;
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 140px;
}

.md-details strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

.md-details span {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(20, 33, 61, 0.95) 0%, rgba(20, 33, 61, 0.28) 55%, rgba(255, 122, 0, 0.18) 100%), url('public/images/WhatsApp Image 2026-07-27 at 7.28.31 PM (1).jpeg') center/cover;
  border-radius: 36px;
  z-index: -1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  max-width: 620px;
  padding-right: 8px;
}

/* Mobile: reduce hero height and spacing */
@media (max-width: 479px) {
  .hero { padding: 24px 16px 40px; min-height: auto; }
  .hero h1 { font-size: 1.6rem; }
  .hero-text { font-size: 0.98rem; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .hero { padding: 28px 18px 56px; }
  .hero h1 { font-size: 1.9rem; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-stats div {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 12px 16px;
  border-radius: 16px;
  min-width: 140px;
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
}

.hero-stats span {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.categories,
.search-panel,
.featured,
.about,
.info-section,
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 70px;
}

.section-heading {
  margin-bottom: 28px;
  position: relative;
}

.section-heading h2,
.about h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.category-grid,
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,247,251,0.95));
  border: 1px solid rgba(20, 33, 61, 0.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(255, 122, 0, 0.24);
}

.card img {
  height: 180px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.05);
}

.card-body {
  padding: 18px 18px 22px;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.category-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-weight: 600;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(20, 33, 61, 0.06);
  box-shadow: var(--shadow-soft);
}

.search-box input,
.search-box select {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
}

.property-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.property-highlights {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.property-highlights li {
  margin-bottom: 6px;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.about-content ul {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--muted);
}

.about-card {
  background: linear-gradient(135deg, #14213d 0%, #203a5c 45%, #2e4d7b 100%);
  color: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.about-card p {
  margin: 12px 0 20px;
  color: rgba(255,255,255,0.8);
}

.info-grid,
.customer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.info-card,
.customer-card {
  padding: 20px;
}

.customer-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-track {
  width: 100%;
}

.customer-slide {
  display: none;
  grid-template-columns: 1fr;
  gap: 22px;
}

.customer-slide.active {
  display: grid;
}

.customer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.customer-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #f8f8fb;
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 8px;
}

.carousel-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 33, 61, 0.06);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
}

.social-follow {
  margin-top: 22px;
  text-align: center;
}

.social-follow p {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 600;
}

.social-icons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(20, 33, 61, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(20, 33, 61, 0.12);
}

.social-icon:hover {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

/* Manager / Director card - premium styling */
.manager-card {
  margin: 20px auto 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  max-width: 880px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.92));
  box-shadow: 0 30px 80px rgba(20,33,61,0.12), inset 0 -2px 8px rgba(255,255,255,0.6);
  border: 1px solid rgba(212,175,55,0.08);
}
.manager-photo {
  width: 180px;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  object-position: 50% 16%; /* focus higher to show face clearly */
  border: 4px solid #fff;
  box-shadow: 0 18px 40px rgba(20,33,61,0.14), 0 4px 18px rgba(212,175,55,0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.manager-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 28px 70px rgba(20,33,61,0.18), 0 6px 26px rgba(212,175,55,0.14);
}
.manager-info h4 {
  margin: 0 0 6px 0;
  color: #14333d;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.manager-info .title {
  margin: 0 0 10px 0;
  color: var(--muted);
  font-weight: 600;
}
.manager-actions { display: flex; gap: 10px; }
.manager-actions .btn { padding: 8px 12px; border-radius: 12px; }


.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  margin-top: 24px;
}

/* Larger breakpoints: progressively add columns */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .topbar .nav-cta { display: inline-flex; }
  .whatsapp-cta { display: inline-flex; }

  .category-grid, .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid, .customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1.1fr 0.7fr; }
  .contact-box { grid-template-columns: 0.9fr 1.1fr; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .category-grid, .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-grid, .customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-box { grid-template-columns: 1.2fr 1fr 1fr auto; }
  .card img { height: 220px; }
  .customer-slide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .nav-links a {
    position: relative;
    padding: 8px 10px;
    border-radius: 999px;
    transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }

  .nav-links a::before {
    display: inline-block;
    margin-right: 6px;
    opacity: 0;
    transform: translateY(6px) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    color: var(--accent);
  }

  .nav-links a:nth-child(1)::before { content: '⌂'; }
  .nav-links a:nth-child(2)::before { content: '↗'; }
  .nav-links a:nth-child(3)::before { content: '◌'; }
  .nav-links a:nth-child(4)::before { content: '✉'; }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: var(--accent-dark);
    background: rgba(255, 122, 0, 0.08);
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.12);
    transform: translateY(-3px);
  }

  .nav-links a:hover::before,
  .nav-links a:focus-visible::before {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: nav-float 0.6s ease-in-out infinite alternate;
  }
}

@keyframes nav-float {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

/* Targeted mobile & tablet rules (only <=1023px) - minimal, focused changes */
@media (max-width: 1023px) {
  /* NAVBAR - keep desktop untouched (>=1024px). Show toggle and stack nav on small screens */
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .topbar {
    position: sticky;
    top: 0;
    padding: 18px 18px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 60px rgba(20,33,61,0.08);
    border-radius: 0 0 28px 28px;
  }
  .topbar.open .nav-links {
    display: flex;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    background: rgba(255,255,255,0.98);
    padding: 16px 18px;
    flex-direction: column;
    gap: 10px;
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(20,33,61,0.14);
  }
  .topbar .nav-cta { display: none; }
  .whatsapp-cta { display: none; }
  .nav-links a {
    padding: 14px 0;
    width: 100%;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid rgba(20,33,61,0.07);
  }
  .nav-links a:last-child { border-bottom: none; }

  /* HERO - reduce padding and scale headline for tablets and phones */
  .hero {
    padding: 24px 18px 48px;
    min-height: auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(20,33,61,0.14);
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(20,33,61,0.92) 0%, rgba(20,33,61,0.38) 100%), url('public/images/WhatsApp Image 2026-07-27 at 7.28.31 PM (1).jpeg') center/cover;
    filter: brightness(0.9);
  }
  .hero-content {
    max-width: 100%;
    padding: 24px;
    background: rgba(255,255,255,0.08);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(20,33,61,0.18);
  }
  .hero h1 { font-size: clamp(2rem, 5vw, 2.6rem); letter-spacing: -0.03em; }
  .hero-text { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-stats div {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
  }

  .btn-primary {
    background: linear-gradient(135deg, #ff7a00 0%, #d96000 100%);
    box-shadow: 0 18px 40px rgba(255,122,0,0.24);
  }
  .btn-secondary {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.24);
  }
  .btn-outline {
    background: rgba(255,255,255,0.92);
  }

  /* PROPERTY CARDS - stack into single column, images auto height */
  .category-grid, .property-grid { grid-template-columns: 1fr; gap: 18px; }
  .card {
    border: none;
    border-radius: 28px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 20px 60px rgba(20,33,61,0.06);
  }
  .card img { height: auto; }
  .card-body { padding: 22px; }
  .card-body h3 { letter-spacing: 0.01em; }
  .category-card a { margin-top: 16px; display: inline-flex; }

  .search-panel { padding-top: 20px; }
  .search-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    background: rgba(255,255,255,0.94);
    padding: 22px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 22px 70px rgba(20,33,61,0.08);
  }
  .search-box input,
  .search-box select,
  .contact-form input,
  .contact-form textarea {
    background: #ffffff;
    border: 1px solid rgba(20,33,61,0.08);
    box-shadow: inset 0 2px 12px rgba(20,33,61,0.04);
  }

  /* TESTIMONIALS / CUSTOMERS - single column slides and compact carousel buttons */
  .customer-carousel { align-items: stretch; gap: 14px; }
  .customer-track {
    display: flex;
    gap: 14px;
    overflow: hidden; /* hide native scroll, we'll control via JS */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .customer-slide {
    display: flex;
    gap: 14px;
    flex: 0 0 auto;
  }
  .customer-card {
    min-width: 260px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(20,33,61,0.08);
  }

  /* Mobile slider wrapper when JS creates .mobile-track */
  .mobile-track {
    display: flex;
    transition: transform 320ms ease;
    will-change: transform;
  }
  .mobile-track .customer-card {
    min-width: 100%;
    flex: 0 0 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .mobile-track .customer-card img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 18px;
  }
  .carousel-btn {
    display: inline-flex;
    position: relative;
    width: 44px;
    height: 44px;
  }

  /* FOOTER - stack and reduce padding for mobile/tablet */
  .footer { grid-template-columns: 1fr; padding: 16px 16px 28px; gap: 14px; }
  .footer h3 { margin-bottom: 8px; }

  /* FORMS & TOUCH TARGETS - ensure elements fit the viewport */
  .search-box, .contact-box, .contact-form { width: 100%; }
  .search-box input, .search-box select, .contact-form input, .contact-form textarea, .btn { width: 100%; }

  .contact-box {
    padding: 26px;
    border-radius: 32px;
    box-shadow: 0 22px 70px rgba(20,33,61,0.08);
  }

  .section-heading h2,
  .about h2 {
    line-height: 1.18;
  }
  .eyebrow {
    letter-spacing: 0.22em;
  }

  /* Keep luxury appearance: don't change desktop colors, shadows, or radii here */
  html, body { overflow-x: hidden; }
}

/* Tweak touch targets and typography between breakpoints */
@media (max-width: 479px) {
  .card-body h3 { font-size: 1rem; }
  .card-body p { font-size: 0.95rem; }
  .nav-links a { padding: 10px 0; width: 100%; }
}

@media (min-width:480px) and (max-width:767px) {
  .card-body h3 { font-size: 1.05rem; }
}

@media (max-width: 900px) {
  .hero,
  .about,
  .category-grid,
  .property-grid,
  .info-grid,
  .customer-grid,
  .contact-box,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .search-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar,
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 10px;
    margin: 10px 0;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .customer-carousel {
    flex-direction: column;
  }

  .customer-slide {
    grid-template-columns: 1fr;
  }
  .manager-actions {
    flex-direction: column;
    gap: 10px;
  }
  .manager-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
  .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  

/* Enable subtle pulse on small screens to draw attention */
@media (max-width: 640px) {
  .btn-whatsapp {
    animation: whatsapp-pulse 2.6s ease-in-out infinite;
  }
}
}