/* =============================================
   RAJDEEP BUILDTECH — GLOBAL STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ── DESIGN TOKENS ───────────────────────────── */
:root {
  --navy: #0D1B2E;
  --navy-mid: #132236;
  --navy-light: #1a2e47;
  --crimson: #8B1A1A;
  --crimson-dk: #6e1414;
  --crimson-lt: #a52020;
  --gold: #C9A646;
  --gold-lt: #dbb95a;
  --white: #FFFFFF;
  --off-white: #F7F7F7;
  --grey-light: #F0F2F5;
  --grey: #e0e3e8;
  --grey-mid: #9BA3AE;
  --grey-dark: #6B7280;
  --text-dark: #0D1B2E;
  --text-body: #374151;
  --text-muted: #6B7280;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.24);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
}

/* ── RESET & BASE ────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
}

input,
select,
textarea {
  font-family: var(--font);
}

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--grey-light);
}

::-webkit-scrollbar-thumb {
  background: var(--crimson);
  border-radius: 3px;
}

/* ── TYPOGRAPHY ──────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-body);
  line-height: 1.7;
}

.text-crimson {
  color: var(--crimson);
}

.text-gold {
  color: var(--gold);
}

.text-navy {
  color: var(--navy);
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

/* ── LAYOUT ──────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--crimson);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(139, 26, 26, 0.35);
}

.btn-primary:hover {
  background: var(--crimson-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 26, 26, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(201, 166, 70, 0.35);
}

.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ── BADGE ───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-crimson {
  background: var(--crimson);
  color: var(--white);
}

.badge-gold {
  background: var(--gold);
  color: var(--navy);
}

.badge-navy {
  background: var(--navy);
  color: var(--white);
}

.badge-green {
  background: #16a34a;
  color: var(--white);
}

.badge-verified {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.badge-new {
  background: #059669;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.badge-resale {
  background: #7c3aed;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

/* ── CATEGORY SECTIONS (Home Page) ──────────── */
.cat-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.cat-section-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.cat-section-icon.new-icon {
  background: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.cat-section-icon.resale-icon {
  background: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.cat-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cat-section-pill.new-pill {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.cat-section-pill.resale-pill {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

/* ── NAV DROPDOWN ────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 200px;
  z-index: 2000;
  border: 1px solid var(--grey);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: var(--transition);
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: var(--grey-light);
  color: var(--crimson) !important;
}

.nav-dropdown-menu .dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── NAVBAR ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--off-white);
  border-bottom: 1px solid var(--grey);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(247, 247, 247, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.02em;
}

.nav-logo-text .tagline {
  font-size: 0.7rem;
  color: var(--grey-dark);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--crimson);
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--crimson-dk);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon-btn {
  background: transparent;
  color: var(--crimson);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-icon-btn:hover {
  color: var(--crimson-dk);
  background: rgba(139, 26, 26, 0.08);
}

.nav-inquire {
  background: var(--crimson);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-inquire:hover {
  background: var(--crimson-dk);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--off-white);
  padding: 24px;
  z-index: 999;
  border-bottom: 1px solid var(--grey);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--crimson);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-menu a:hover {
  color: var(--crimson-dk);
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&q=80') center/cover no-repeat;
  opacity: 0.80;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 46, 0.75) 40%, rgba(13, 27, 46, 0.45));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .city {
  color: var(--crimson);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-num span {
  color: var(--crimson);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Search Bar */
.search-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 4px;
}

.search-tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-tab.active {
  background: var(--crimson);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-field select,
.search-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.15);
}

/* Native OS dropdown options must always be black on white */
.search-field select option {
  color: #000000;
  background: #ffffff;
}

.search-btn {
  width: 100%;
  padding: 14px;
  background: var(--crimson);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-btn:hover {
  background: var(--crimson-dk);
  transform: translateY(-2px);
}

/* ── PROPERTY CARDS ──────────────────────────── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
  transition: var(--transition);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.property-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card-img img {
  transform: scale(1.06);
}

.property-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.property-card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  color: var(--grey-mid);
}

.property-card-fav:hover,
.property-card-fav.active {
  color: var(--crimson);
  background: var(--white);
}

.property-card-body {
  padding: 20px;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--crimson);
  margin-bottom: 4px;
}

.property-price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.property-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-specs {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-light);
}

.property-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.property-spec i {
  font-size: 0.75rem;
  color: var(--crimson);
}

.property-card-footer {
  padding: 14px 20px;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── FORMS ───────────────────────────────────── */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.08);
}

.form-input::placeholder {
  color: var(--grey-mid);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* ── WHY TRUST CARDS ─────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--crimson);
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 26, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--crimson);
}

.trust-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.trust-card p {
  font-size: 0.865rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── TESTIMONIAL ─────────────────────────────── */
.testimonial-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 180px;
  color: rgba(255, 255, 255, 0.04);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 26, 26, 0.1);
  color: var(--crimson);
  font-size: 1.25rem;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-top: 14px;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.865rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--crimson);
  transform: translateX(4px);
}

.footer-social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-links a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social-links a:hover {
  color: var(--crimson);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-icons {
  display: flex;
  gap: 16px;
}

.footer-bottom-icons a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-bottom-icons a:hover {
  color: var(--white);
}

/* ── WHATSAPP FLOAT ──────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 500;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
  }
}

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--crimson);
}

/* ── PAGE HERO ───────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  z-index: 3;
}

/* ── FILTER SIDEBAR ──────────────────────────── */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Thin scrollbar inside sidebar */
.filter-sidebar::-webkit-scrollbar {
  width: 4px;
}

.filter-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: var(--grey);
  border-radius: 4px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--crimson);
}

.filter-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--grey-light);
}

.filter-section {
  margin-bottom: 24px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-body);
  transition: var(--transition);
}

.filter-checkbox:hover {
  color: var(--crimson);
}

.filter-checkbox input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--crimson);
  cursor: pointer;
}

.range-slider {
  width: 100%;
  accent-color: var(--crimson);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.filter-apply {
  width: 100%;
  padding: 12px;
  background: var(--crimson);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
  margin-top: 8px;
}

.filter-apply:hover {
  background: var(--crimson-dk);
}

/* ── LISTINGS LAYOUT ─────────────────────────── */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── GALLERY SLIDER ──────────────────────────── */
.gallery-main {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--navy);
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-sm);
}

.gallery-nav:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.gallery-thumb {
  flex: 1;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumb.active {
  border-color: var(--crimson);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── AMENITY CHIPS ───────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--grey-light);
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid var(--grey);
}

.amenity-chip i {
  color: var(--crimson);
  font-size: 1rem;
}

/* ── DETAIL SIDEBAR ──────────────────────────── */
.detail-sidebar {
  position: sticky;
  top: 88px;
}

.inquiry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey);
}

.inquiry-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.inquiry-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.agent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-light);
  margin-top: 16px;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--grey-mid);
  overflow: hidden;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.agent-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── EMI CALCULATOR ──────────────────────────── */
.emi-card {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
  border: 1px solid var(--grey);
}

.emi-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 18px;
}

.emi-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

/* ── MAP EMBED ───────────────────────────────── */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* ── TEAM CARDS ──────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--crimson);
}

.team-card.featured {
  background: var(--crimson);
  color: var(--white);
}

.team-card.featured h3,
.team-card.featured p,
.team-card.featured a {
  color: var(--white);
}

.team-card.featured .team-role {
  color: rgba(255, 255, 255, 0.7);
}

.team-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-muted);
}

.team-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
}

.team-email {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.team-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--white);
}

.team-card:not(.featured) .team-icon {
  background: rgba(139, 26, 26, 0.08);
  color: var(--crimson);
}

/* ── OFFICE CARDS ────────────────────────────── */
.office-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.office-card-img {
  height: 220px;
}

.office-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-card-body {
  padding: 20px;
  background: var(--white);
}

.office-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--crimson);
  margin-bottom: 6px;
}

.office-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.office-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.office-card a {
  font-size: 0.8rem;
  color: var(--crimson);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── CTA SECTION ─────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 26, 26, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── ANIMATIONS ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ── UTILITY ─────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--crimson);
  border-radius: 2px;
  margin: 16px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-sm {
  gap: 12px;
}

.gap-md {
  gap: 24px;
}

.mt-sm {
  margin-top: 16px;
}

.mt-md {
  margin-top: 32px;
}

.mt-lg {
  margin-top: 48px;
}

.mb-sm {
  margin-bottom: 16px;
}

.mb-md {
  margin-bottom: 32px;
}

.mb-lg {
  margin-bottom: 48px;
}

.bg-light {
  background: var(--grey-light);
}

.bg-navy {
  background: var(--navy);
}

.hidden {
  display: none;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .listings-layout {
    grid-template-columns: 240px 1fr;
  }

  .hero-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .search-card {
    padding: 24px 20px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .listings-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .gallery-main {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .gallery-thumbs {
    display: none;
  }
}

/* ── PROPERTY LISTING TYPE BADGE ─────────────────────── */
.property-listing-type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 40px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
  margin-bottom: 2px;
}

.listing-buy {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a; /* Green */
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.listing-rent {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed; /* Purple */
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.listing-invest {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626; /* Crimson */
  border: 1px solid rgba(220, 38, 38, 0.2);
}