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

:root {
  /* Brand Colors */
  --primary: #1B2A4A;          /* Navy Blue */
  --primary-light: #2A3E68;
  --primary-dark: #0F1A30;
  --secondary: #C5A880;        /* Gold / Champagne */
  --secondary-light: #D9C3A3;
  --secondary-dark: #A38355;   /* Deep Bronze Gold */
  
  /* Neutral Colors */
  --bg-dark: #0D1527;          /* Premium pitch dark navy */
  --bg-light: #F8FAFC;         /* Crisp off-white */
  --bg-card: #FFFFFF;
  --text-primary: #1E293B;     /* Slate 800 */
  --text-secondary: #475569;   /* Slate 600 */
  --text-muted: #94A3B8;       /* Slate 400 */
  --border-color: #E2E8F0;     /* Slate 200 */
  
  /* Structural Helpers */
  --container-width: 1200px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(27, 42, 74, 0.04);
  --shadow-md: 0 10px 25px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 20px 40px rgba(27, 42, 74, 0.12);
  
  /* Animation Dynamics */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--secondary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Top bar contact banner */
.topbar {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contacts {
  display: flex;
  gap: 24px;
  align-items: center;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-item a:hover {
  color: var(--secondary);
}

.topbar-item i {
  color: var(--secondary);
}

.topbar-socials {
  display: flex;
  gap: 16px;
}

.topbar-socials a {
  color: rgba(255, 255, 255, 0.7);
}

.topbar-socials a:hover {
  color: var(--secondary);
}

/* Header & Sticky Nav */
.header-nav {
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.header-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition);
}

.header-nav.scrolled .container {
  height: 75px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-link img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  position: relative;
  padding: 10px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--secondary-dark);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(163, 131, 85, 0.3);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(163, 131, 85, 0.45);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section slider & Quick search */
.hero {
  position: relative;
  height: 720px;
  background-color: var(--primary-dark);
  overflow: visible; /* Allow badge overflow */
}

.hero-slider {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden; /* Clip slides only */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(13, 21, 39, 0.82) 0%, rgba(13, 21, 39, 0.65) 55%, rgba(13, 21, 39, 0.25) 100%);
}

.hero-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  width: 100%;
  max-width: 900px;
  padding: 0 24px;
  z-index: 10;
}

.hero-tagline {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 5px;
}

.hero-title {
  color: #FFFFFF;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

/* Quick Search Widget overlay */
.search-widget-wrap {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  padding: 0 24px;
  z-index: 20;
}

.search-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--secondary);
}

.search-widget-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}

.search-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--text-primary);
  font-size: 14px;
  height: 48px;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.search-btn {
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  height: 48px;
  padding: 0 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.search-btn:hover {
  background-color: var(--secondary-dark);
  color: #FFFFFF;
}

/* Adjust layout spacing under search widget overlay */
.hero-spacer {
  height: 60px;
}

/* Welcome Intro / About Section */
.welcome-card-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 50px;
}

.welcome-content h3 {
  font-size: 20px;
  color: var(--secondary-dark);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.welcome-content h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
}

.welcome-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
}

.welcome-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.metric-item {
  text-align: left;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-dark);
  line-height: 1;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.welcome-image-stack {
  position: relative;
  height: 480px;
}

.welcome-image-large {
  width: 85%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.welcome-image-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
}

/* Property card component */
.property-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.4);
}

.property-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.property-card:hover .property-image {
  transform: scale(1.08);
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.badge-sale {
  background-color: var(--secondary-dark);
}

.badge-rent {
  background-color: var(--primary);
}

.property-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(13, 21, 39, 0.85);
  backdrop-filter: blur(5px);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.property-info {
  padding: 24px;
}

.property-type {
  font-size: 12px;
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.property-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-location {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.property-location i {
  color: var(--secondary-dark);
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-item i {
  color: var(--secondary-dark);
}

/* Service Card Components & Tab Menu */
.services-tabs-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
  list-style: none;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.services-content-pane {
  display: none;
}

.services-content-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(197, 168, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary-dark);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.service-list {
  list-style: none;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-list-item i {
  color: var(--secondary-dark);
  font-size: 12px;
}

/* Why Choose Us Sleek layouts */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: #FFFFFF;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 128, 0.3);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-dark);
}

.why-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: rgba(197, 168, 128, 0.12);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
  z-index: 5;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  z-index: 5;
}

/* Interactive Calculator Styles */
.calculator-wrap {
  max-width: 900px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.calculator-header {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 30px;
  text-align: center;
  border-bottom: 4px solid var(--secondary);
}

.calculator-header h3 {
  color: #FFFFFF;
  font-size: 24px;
  margin-bottom: 8px;
}

.calculator-header p {
  color: var(--secondary-light);
  font-size: 14px;
}

.calculator-body {
  padding: 40px;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.calc-radio-group {
  display: flex;
  gap: 12px;
}

.calc-radio-label {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.calc-radio-label input {
  display: none;
}

.calc-radio-label:hover {
  border-color: var(--secondary);
  background-color: rgba(197, 168, 128, 0.05);
}

.calc-radio-label.checked {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.calculator-results {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.results-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.total-estimate-label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.total-estimate-value {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary-dark);
  margin-top: 5px;
}

.results-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
}

.breakdown-row span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.breakdown-row span:last-child {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
}

.calc-cta-btn {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.calc-cta-btn:hover {
  background-color: var(--secondary-dark);
}

/* Contact page structures */
.contact-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
}

.contact-info-panel {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background-image: linear-gradient(135deg, rgba(13, 21, 39, 0.95) 0%, rgba(27, 42, 74, 0.95) 100%);
  border-left: 4px solid var(--secondary);
}

.contact-info-panel h3 {
  color: #FFFFFF;
  font-size: 22px;
  margin-bottom: 24px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item i {
  width: 40px;
  height: 40px;
  background-color: rgba(197, 168, 128, 0.15);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  color: var(--secondary);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.contact-info-text p, .contact-info-text a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.contact-info-text a:hover {
  color: var(--secondary);
}

.contact-form-panel {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
  margin-bottom: 24px;
  font-size: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-form .form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 30px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.form-submit-btn:hover {
  background-color: var(--secondary-dark);
}

.qrcode-box {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.qrcode-img {
  width: 90px;
  height: 90px;
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 5px;
}

.qrcode-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.qrcode-text strong {
  color: #FFFFFF;
}

/* Properties Search Page Filter Sidebar + Listings layout */
.properties-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-top: 40px;
}

.filter-sidebar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 110px;
}

.filter-sidebar-title {
  font-size: 18px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.sidebar-search-btn {
  width: 100%;
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.sidebar-search-btn:hover {
  background-color: var(--secondary-dark);
}

.reset-filter-btn {
  width: 100%;
  background-color: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.reset-filter-btn:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.properties-list-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.listings-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.results-count {
  font-size: 15px;
  color: var(--text-secondary);
}

.results-count strong {
  color: var(--primary);
}

/* Property details page specifications sheet */
.property-details-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.gallery-container {
  background-color: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 480px;
  margin-bottom: 30px;
}

.gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background-color: rgba(13, 21, 39, 0.6);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(5px);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dot.active {
  background-color: var(--secondary);
  width: 24px;
}

.property-main-content {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
}

.details-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.details-header-info h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.details-header-info p {
  color: var(--text-secondary);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.details-header-info p i {
  color: var(--secondary-dark);
}

.details-header-price {
  text-align: right;
}

.details-price-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.details-price-val {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-dark);
}

.details-section-title {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
  display: inline-block;
}

.details-description {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.specs-table-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 35px;
  background-color: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.specs-table-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  padding-bottom: 10px;
}

.specs-table-item span:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
}

.specs-table-item span:last-child {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

.features-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-check-item i {
  color: var(--secondary-dark);
}

/* Accordion for Floor Plans */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--bg-light);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: #FFFFFF;
}

.accordion-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.accordion-header i {
  transition: var(--transition);
  color: var(--secondary-dark);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #FFFFFF;
  padding: 0 20px;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.floor-plan-img {
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
}

/* Agent Sidebar form */
.agent-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 110px;
}

.agent-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.agent-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
  border: 3px solid var(--secondary);
  overflow: hidden;
}

.agent-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.agent-title {
  font-size: 13px;
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.agent-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.agent-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

.btn-sidebar-call {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-sidebar-call:hover {
  background-color: var(--primary-light);
}

.btn-sidebar-wa {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-sidebar-wa:hover {
  background-color: #20BA56;
}

.agent-sidebar-form {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.agent-sidebar-form h4 {
  font-size: 18px;
  margin-bottom: 18px;
}

.agent-sidebar-form .form-group {
  margin-bottom: 15px;
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 80px 0 0;
  border-top: 4px solid var(--secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 4px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: var(--secondary);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 15px;
}

.newsletter-form {
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 12px 60px 12px 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 14px;
}

.newsletter-input:focus {
  border-color: var(--secondary);
}

.newsletter-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 16px;
  background-color: var(--secondary-dark);
  color: #FFFFFF;
  border: none;
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  cursor: pointer;
}

.newsletter-btn:hover {
  background-color: var(--secondary);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

/* Floating CTAs (WhatsApp and Call) */
.floating-ctas {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  font-size: 24px;
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.float-wa {
  background-color: #25D366;
}

.float-call {
  background-color: var(--primary);
  border: 1px solid var(--secondary);
}

/* Modal details slider popup */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 21, 39, 0.85);
  z-index: 2000;
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.modal-container {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  border-radius: var(--radius-md);
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(13, 21, 39, 0.8);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--secondary-dark);
}

/* Dynamic Elevations page content card */
.elevation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.elevation-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.elevation-image-wrap {
  height: 240px;
  overflow: hidden;
}

.elevation-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.elevation-info {
  padding: 20px;
  text-align: center;
}

.elevation-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.elevation-info p {
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive breakdowns */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .welcome-card-grid {
    grid-template-columns: 1fr;
  }
  .welcome-image-stack {
    height: 380px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .properties-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .property-details-wrap {
    grid-template-columns: 1fr;
  }
  .agent-sidebar {
    position: static;
  }
  .calculator-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .header-nav .container {
    height: 75px;
  }
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .search-widget-fields {
    grid-template-columns: 1fr;
  }
  .search-widget-wrap {
    bottom: -150px;
  }
  .hero-spacer {
    height: 180px;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form .form-group-full {
    grid-column: span 1;
  }
  .elevation-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .gallery-container {
    height: 300px;
  }
  .details-title-row {
    flex-direction: column;
    gap: 15px;
  }
  .details-header-price {
    text-align: left;
  }
}

/* Special Let Us Call You Card Overlay */
.hero-inquiry-card {
  position: relative;
  width: 380px;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.hero-inquiry-badge {
  position: absolute;
  left: -24px;
  top: 30px;
  width: 48px;
  height: 48px;
  background-color: #ea723d; /* Orange */
  border-radius: 4px 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  box-shadow: -4px 4px 10px rgba(234, 114, 61, 0.3);
}

.hero-inquiry-badge::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 0;
  border-color: #A04A20 transparent transparent transparent;
}

.hero-inquiry-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: #1E293B !important; /* Force slate color matching image */
  margin-bottom: 4px;
  line-height: 1.2;
  text-align: left;
}

.hero-inquiry-card p.subtitle {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 24px;
  font-weight: 500;
  text-align: left;
}

.hero-inquiry-card label {
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
  display: block;
  text-align: left;
}

.hero-inquiry-card .form-group {
  margin-bottom: 16px;
  width: 100%;
}

.hero-inquiry-card .form-control {
  width: 100%;
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
  border-radius: 4px;
  height: 42px;
  font-size: 14px;
  color: #1E293B;
  padding: 8px 12px;
  transition: var(--transition);
}

.hero-inquiry-card .form-control:focus {
  border-color: #1ea69a;
  box-shadow: 0 0 0 3px rgba(30, 166, 154, 0.15);
}

.hero-inquiry-card textarea.form-control {
  height: 90px !important;
  resize: none;
}

/* Number field flag dropdown */
.flag-phone-input {
  display: flex;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  overflow: hidden;
  background-color: #FFFFFF;
  transition: var(--transition);
  width: 100%;
}

.flag-phone-input:focus-within {
  border-color: #1ea69a;
  box-shadow: 0 0 0 3px rgba(30, 166, 154, 0.15);
}

.flag-phone-input .flag-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #F1F5F9;
  padding: 0 10px;
  border-right: 1px solid #CBD5E1;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.flag-phone-input .form-control {
  border: none !important;
  flex: 1;
  height: 40px;
  border-radius: 0;
  padding: 8px 12px;
}

.flag-phone-input .form-control:focus {
  box-shadow: none !important;
}

.hero-inquiry-card .submit-btn {
  width: 100%;
  height: 46px;
  background-color: var(--primary);
  color: #FFFFFF;
  border: 1px solid var(--secondary);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.hero-inquiry-card .submit-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(27,42,74,0.3);
}
