/* ============================================================
   DIMENSION REALTY SOLUTION - Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --primary: #1B3A6B;
  --primary-light: #2a5298;
  --primary-dark: #102344;
  --accent: #C9A84C;
  --accent-dark: #a8872e;
  --cta: #E07B39;
  --cta-dark: #c4622a;
  --white: #ffffff;
  --bg-light: #f7f9fc;
  --bg-gray: #eef1f6;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', 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-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }

.section-header { margin-bottom: 50px; }
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 580px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 16px;
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-cta {
  background: var(--cta);
  color: var(--white);
  font-size: 1rem;
  padding: 15px 36px;
}
.btn-cta:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }


/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.top-bar a:hover { color: var(--accent); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-bar i { margin-right: 5px; color: var(--accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* Logo image */
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li.has-dropdown:hover > a {
  color: var(--primary);
  background: var(--bg-light);
}
.nav-links > li > a .fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.25s;
  color: var(--text-light);
}
.nav-links > li.has-dropdown:hover > a .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
}
.nav-links .btn { margin-left: 6px; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  list-style: none;
  padding: 6px 0;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown li a i {
  width: 16px;
  text-align: center;
  color: var(--primary);
  font-size: 0.75rem;
}
.dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 20px;
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 5px 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #0b1628;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1800&q=90') center center / cover no-repeat;
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Uniform dark veil — house fully visible, text stays readable */
  background: rgba(8, 18, 42, 0.52);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   QUICK SEARCH BAR
   ============================================================ */
.search-bar-section {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0;
  position: relative;
  z-index: 10;
}
.search-bar {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 160px;
  padding: 18px 20px;
  border: none;
  border-right: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
}
.search-field:last-of-type { border-right: none; }
.search-field::placeholder { color: var(--text-light); }
.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 18px 32px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-btn:hover { background: var(--primary-light); }

/* ============================================================
   FEATURED PROPERTIES
   ============================================================ */
.featured-properties { background: var(--bg-light); }
.property-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-gray);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-gray);
}
.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-card-image img { transform: scale(1.06); }

.property-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.badge-active { background: #22c55e; color: var(--white); }
.badge-sold { background: #ef4444; color: var(--white); }
.badge-pending { background: #f59e0b; color: var(--white); }
.badge-featured { background: var(--accent); color: var(--white); }

.property-card-body { padding: 20px; }
.property-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.property-address {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.property-location {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.property-features {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.property-feature {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.83rem;
  color: var(--text-gray);
  font-weight: 500;
}
.property-feature i { color: var(--primary); font-size: 0.8rem; }

.property-type-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.property-desc {
  font-size: 0.84rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 10px 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* No properties message */
.no-properties {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
}
.no-properties i { font-size: 3rem; margin-bottom: 16px; display: block; color: var(--border); }

/* Outline button on light backgrounds */
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

/* Section more bar */
.section-more-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 0;
  background: none;
  border: none;
}
.more-count {
  font-size: 0.82rem;
  color: var(--text-light);
}
.more-count strong { color: var(--text-gray); }
/* Testimonials section has dark bg — keep text readable */
.testimonials .more-count { color: rgba(255,255,255,0.55); }
.testimonials .more-count strong { color: rgba(255,255,255,0.85); }

/* Load more */
.load-more-wrap { text-align: center; margin-top: 40px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 480px;
}
.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.about-experience-badge .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.85; }

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-content > p {
  color: var(--text-gray);
  margin-bottom: 28px;
  line-height: 1.75;
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.about-feature p { font-size: 0.82rem; color: var(--text-gray); }

/* ============================================================
   CITIES SECTION
   ============================================================ */
.cities { background: var(--bg-light); }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.city-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  cursor: pointer;
}
.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.city-card:hover img { transform: scale(1.08); }
.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,58,107,0.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  transition: var(--transition);
}
.city-card:hover .city-overlay { background: linear-gradient(to top, rgba(27,58,107,0.95) 0%, rgba(27,58,107,0.3) 100%); }
.city-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.city-count {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 3px;
}

/* ============================================================
   SOLD PROPERTIES
   ============================================================ */
.sold-properties { background: var(--white); }
.sold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.sold-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.sold-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sold-card-img {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.sold-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sold-banner {
  position: absolute;
  top: 12px;
  left: 0;
  background: #ef4444;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sold-card-body { padding: 14px; background: var(--white); }
.sold-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.sold-address { font-size: 0.82rem; color: var(--text-gray); margin-top: 4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--primary); overflow: hidden; }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.75); }
.testimonials .section-divider { background: var(--accent); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}
.testimonial-location { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-info > p { color: var(--text-gray); line-height: 1.7; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}
.contact-item a:hover { color: var(--primary); }

.contact-social { margin-top: 28px; }
.contact-social h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--white);
}
.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.youtube { background: #ff0000; }
.social-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); opacity: 0.9; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  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(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  background: #f0fdf4;
  border: 1.5px solid #22c55e;
  color: #16a34a;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.footer-brand .brand-name { color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
.footer-brand .brand-sub { color: var(--accent); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-brand > p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.65); }
.footer-brand .social-links { margin-top: 0; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-col ul li a i { font-size: 0.7rem; }

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--accent); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-light); }

/* ============================================================
   HERO ADDITIONS
   ============================================================ */
.hero-sub-bengali {
  font-size: 0.95rem;
  color: var(--accent);
  font-style: italic;
  margin: -10px 0 14px;
  opacity: 0.9;
  letter-spacing: 0.2px;
}
.btn-valuation {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 13px 22px;
  font-size: 0.88rem;
}
.btn-valuation:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }

/* Search bar overlaps hero bottom */
.search-bar-section {
  position: relative;
  z-index: 10;
  margin-top: -28px;
  padding: 0 20px;
}
.search-bar {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0,0,0,0.22);
  border: 1px solid var(--border);
}

/* ============================================================
   SOLD CARD CONTEXT BADGE
   ============================================================ */
.sold-context {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.sold-context-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.sold-context-tag.above { background: #dcfce7; color: #16a34a; }
.sold-context-tag.days  { background: #dbeafe; color: #1d4ed8; }

/* ============================================================
   INFO HUB TEASER
   ============================================================ */
.ih-teaser { background: var(--bg-light); }
.ih-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ih-teaser-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.ih-teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ih-teaser-thumb {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}
.ih-teaser-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ih-teaser-card:hover .ih-teaser-thumb img { transform: scale(1.05); }
.ih-teaser-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
}
.ih-teaser-play-btn {
  width: 46px; height: 46px;
  background: #ff0000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}
.ih-teaser-type {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ih-teaser-body { padding: 16px 18px; flex: 1; }
.ih-teaser-date { font-size: 0.74rem; color: var(--text-light); margin-bottom: 6px; }
.ih-teaser-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: var(--primary-dark);
  border-top: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  text-decoration: none;
}
.mobile-cta-btn i { font-size: 1.15rem; }
.mobile-cta-btn.mobile-call { border-right: 1px solid rgba(255,255,255,0.1); }
.mobile-cta-btn.mobile-whatsapp { background: rgba(37,211,102,0.15); border-right: 1px solid rgba(255,255,255,0.1); }
.mobile-cta-btn.mobile-whatsapp i { color: #25d366; }
.mobile-cta-btn.mobile-inquiry { background: rgba(201,168,76,0.15); }
.mobile-cta-btn.mobile-inquiry i { color: var(--accent); }
.mobile-cta-btn:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   SHARED MODAL (tour + contact)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  animation: modalIn 0.22s ease;
}
.modal-box h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.modal-box h3 i { color: var(--primary); font-size: 1rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--bg-light); border: none; border-radius: 50%;
  color: var(--text-gray); font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-property-label {
  font-size: 0.82rem; color: var(--primary); font-weight: 600;
  background: var(--bg-light); padding: 3px 10px;
  border-radius: 4px; display: inline-block;
  margin-bottom: 20px;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)     scale(1);    }
}

/* ============================================================
   TOUR MODAL
   ============================================================ */
.tour-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.tour-modal-box {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  animation: modalIn 0.22s ease;
}
.tour-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--bg-light); border: none; border-radius: 50%;
  color: var(--text-gray); font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.tour-modal-close:hover { background: var(--border); }
.tour-modal-header {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
}
.tour-modal-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.tour-modal-header h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 4px;
}
.tour-property-label {
  font-size: 0.82rem; color: var(--primary); font-weight: 600;
  background: var(--bg-light); padding: 3px 10px;
  border-radius: 4px; display: inline-block;
}
.tour-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tour-form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 0; }
.tour-form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }
.tour-form-group input,
.tour-form-group select,
.tour-form-group textarea {
  padding: 9px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.88rem; outline: none;
  transition: border-color 0.2s; width: 100%;
}
.tour-form-group input:focus,
.tour-form-group select:focus,
.tour-form-group textarea:focus { border-color: var(--primary); }
.tour-form-group textarea { resize: vertical; min-height: 72px; }

/* ============================================================
   FOOTER LEGAL BAR
   ============================================================ */
.footer-legal {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-legal-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.equal-housing {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 10px; border-radius: 4px;
  color: rgba(255,255,255,0.6); font-weight: 600;
}
.equal-housing i { color: var(--accent); }
.footer-legal-right a { color: rgba(255,255,255,0.4); }
.footer-legal-right a:hover { color: var(--accent); }

/* ============================================================
   PROPERTY DETAIL MODAL
   ============================================================ */
.prop-detail-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.prop-detail-box {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 1060px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.prop-detail-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.prop-detail-close:hover { background: #fff; }

/* Gallery column */
.prop-gallery {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}
.prop-gallery-main {
  position: relative;
  flex: 1;
  min-height: 320px;
  background: #111;
  overflow: hidden;
}
.prop-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}
.gallery-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--primary);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.gallery-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
}
.prop-gallery-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: #0a0a0a;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
  flex-shrink: 0;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 64px; height: 48px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.65;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--accent); opacity: 1; }
.gallery-thumb:hover { opacity: 0.9; }

/* Details column */
.prop-detail-info {
  grid-column: 2;
  padding: 32px 28px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prop-detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.prop-detail-price {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.prop-detail-address {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}
.prop-detail-location { font-size: 0.88rem; color: var(--text-gray); }
.prop-detail-location i { color: var(--accent); }
.prop-detail-stats {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4px;
}
.detail-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-right: 1.5px solid var(--border);
}
.detail-stat:last-child { border-right: none; }
.detail-stat-val { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.detail-stat-lbl { font-size: 0.7rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.3px; margin-top: 2px; }
.prop-detail-type {
  display: inline-block;
  background: var(--bg);
  color: var(--text-gray);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  align-self: flex-start;
}
.prop-detail-section-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.prop-detail-desc {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.75;
}
.prop-detail-desc-wrap { border-top: 1px solid var(--border); padding-top: 14px; }
.prop-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.prop-detail-actions .btn { flex: 1; min-width: 140px; justify-content: center; }

@media (max-width: 768px) {
  .prop-detail-box { grid-template-columns: 1fr; max-height: none; }
  .prop-gallery { border-radius: 16px 16px 0 0; }
  .prop-gallery-main { min-height: 240px; }
  .prop-detail-info { padding: 20px 18px 24px; }
  .prop-detail-price { font-size: 1.5rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { max-width: 500px; }
  .about-experience-badge { bottom: -10px; right: -10px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ih-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  /* Show mobile bar */
  .mobile-cta-bar { display: flex; }
  /* Push footer above mobile bar */
  .footer { padding-bottom: 68px; }
  /* Give body bottom space so content not hidden under bar */
  body { padding-bottom: 62px; }
  .scroll-top { bottom: 80px; }
  .search-bar-section { padding: 0 12px; margin-top: -16px; }
  .ih-teaser-grid { grid-template-columns: 1fr; }
  .tour-form-row { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 8px 0 16px; box-shadow: var(--shadow-md); gap: 0; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 11px 20px; border-radius: 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links > li > a .fa-chevron-down { margin-left: auto; }
  .nav-links .btn { margin: 12px 16px 0; width: calc(100% - 32px); justify-content: center; }
  /* Mobile dropdown: always visible when parent open */
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; background: var(--bg-light); display: none; padding: 0; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 9px 20px 9px 36px; border-bottom: 1px solid var(--border); font-size: 0.8rem; }
  .hamburger { display: flex; }
  .top-bar-right { display: none; }
  .search-bar { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border); }
  .search-btn { width: 100%; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .sold-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cities-grid { grid-template-columns: 1fr; }
  .sold-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}
