/* main.css - Core styles and variables */

:root {
  /* Color Palette */
  --primary-blue: #1a365d;
  --primary-blue-light: #2d5a87;
  --primary-blue-dark: #0f2a44;
  --accent-green: #90c93f;
  --accent-green-dark: #7ab332;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(45, 90, 135, 0.6) 100%);
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: all 0.15s ease-in-out;
  --transition-normal: all 0.3s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-blue-light);
}



/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
}

/* Form Elements */
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--primary-blue); }
.text-accent { color: var(--accent-green); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-600); }

.bg-primary { background-color: var(--primary-blue); }
.bg-accent { background-color: var(--accent-green); }
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-100); }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }
  
  :root {
    --section-padding: 40px 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-lg); }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

/* components.css - Navigation and reusable components */

/* Navigation */
.navbar {
  background: var(--primary-blue);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-decoration: none;
}

.nav-brand i {
  font-size: 24px;
  color: var(--accent-green);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: var(--white);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-green);
}

.nav-social {
  display: flex;
  gap: 15px;
}

.nav-social i {
  color: var(--white);
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-social i:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-green);
  transform: translateY(-2px);
}

Hero Sections
.hero-section {
  position: relative;
  height: 60vh;
  min-height: 500px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 70px; 
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
  opacity: 0.3;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  color: var(--white);
  animation: slideUp 1s ease-out;
  margin-right: 50px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

/* Search Bar Component */
.search-bar {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
}

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

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
}

.form-group select,
.form-group input {
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
  background: var(--white);
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Price Range Inputs */
.price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-inputs input {
  flex: 1;
}

.price-separator {
  color: var(--gray-400);
  font-weight: 500;
}

/* Number Selectors */
.number-selector {
  display: flex;
  gap: 5px;
}

.number-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--gray-600);
}

.number-btn:hover,
.number-btn.active {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

.number-btn.plus {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--white);
}

/* Search Button */
.search-btn {
  background: var(--accent-green);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
}

.search-btn:hover {
  background: var(--accent-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.search-btn i {
  font-size: 16px;
}

/* Property Cards */
.property-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

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

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

.property-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.property-favorite:hover {
  background: var(--white);
  color: #e53e3e;
}

.property-info {
  padding: 24px;
}

.property-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.property-location {
  color: var(--gray-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-features {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.property-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.property-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-blue);
}

/* Grid Layouts */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

/* Stats Section */
.stats-section {
  background: var(--gray-50);
  padding: var(--section-padding);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  background: var(--white);
  padding: 40px 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.stat-label {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 60px;
  color: var(--accent-green);
}
.footer-logo img {
  width: 150px; /* adjust as needed */
  height: auto; /* maintains aspect ratio */
}

.footer-brand p {
  color: var(--gray-300);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social i {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-social i:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: var(--font-size-lg);
}

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

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

.footer-links ul li a {
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--accent-green);
}

.footer-contact p {
  color: var(--gray-300);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--accent-green);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  margin: 0;
}

/* Responsive Design for Components */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .nav-social {
    display: none;
  }
  
  .search-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    gap: 15px;
    font-size: var(--font-size-sm);
  }
  
  .hero-section {
    height: 50vh;
    min-height: 400px;
  }
  
  .search-bar {
    padding: 20px;
    margin-top: 30px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 30px 15px;
  }
}


/* Modern button styles */
button, .btn {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover, .btn:hover {
    background-color: #004494;
}

/* Navbar styling */
nav {
    background-color: #003366;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
}
nav a:hover {
    color: #ffcc00;
}

/* Typography and layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* === Responsive Filters Form === */
.filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.filters-grid > * {
  flex: 1 1 180px;
  min-width: 140px;
}

#apply-filters {
  flex: 0 0 auto;
  min-width: 120px;
}

/* Stack filters vertically on small screens */
@media (max-width: 600px) {
  .filters-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .filters-grid > * {
    flex: none;
    width: 100%;
    margin-bottom: 12px;
  }
}

/* === Property Cards Grid === */
.property-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

/* Make images inside property cards responsive */
.property-card img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  display: block;
}

/* Mobile nav toggle button hidden by default */
.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  margin-left: auto;
}

/* Adjust nav layout on small screens */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: var(--primary-blue);
    position: absolute;
    top: 60px;
    right: 15px;
    padding: 15px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    width: 200px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .main-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.social-buttons a {
  padding: 12px;
  font-size: 24px;
  color: white;
  margin-right: 8px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: opacity 0.3s;
}
.whatsapp { background: #25D366; }
.facebook  { background: #3b5998; }
.instagram { background: #E1306C; }
.social-buttons a:hover { opacity: 0.8; }

.logo-img {
  height: 60px;       /* fixed height */
  width: auto;        /* maintain aspect ratio */
  display: block;
}

@media (max-width: 700px) {
  .logo-img {
    height: 50px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 40px;
  }
}




.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: #d4af37; /* gold */
  margin-left: 0px;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .logo-text {
    font-size: 20px;
  }
}

@media (max-width: 800px) {
  .logo-text {
    font-size: 20px;
  }
}
.logo-group {
  display: flex;           /* horizontal layout */
  align-items: center;     /* vertical centering */
  gap: 10px;               /* space between logo and text */
  text-decoration: none;   /* remove underline if it's a link */
}
.logo-group:hover .logo-text {
  color: #bfa430;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .logo-group {
    margin-left: auto; 
  }
}
.logo-text {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 4rem; 
  text-align: center;
}

.why-item {
  margin-top: 4rem; 
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.why-item i {
  font-size: 36px;
  color: #d4af37;
  margin-bottom: 10px;
}

.site-footer {
  background: var(--primary-blue);   /* light gray */
  padding: 2rem 1rem;
}

.site-footer .footer-bottom {
  background: none;
  text-align: center;
  color: #333;
  font-size: 0.9rem;
  margin-top: 1rem;
}


.site-footer a {
  color: #d4af37;
  text-decoration: none;
}

.site-footer .footer-logo {
  height: 50px;
  margin-bottom: 10px;
}

.social-buttons a {
  font-size: 20px;
  margin-right: 10px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-buttons a:hover {
  transform: scale(1.2);
  color: #d4af37;
}


.map-responsive {
  max-width: 900px;
  height: 450px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.search-navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  gap: 10px;
  border-radius: 6px;
}

.search-navbar select,
.search-navbar input {
  height: 32px;
  padding: 0 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-navbar button {
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.search-navbar button:hover {
  background: #0056b3;
}




/* Compact single-line search form */
.property-search {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255,255,255,0.06); /* slight background so controls read on image */
  padding: 6px;
  border-radius: 8px;
  box-shadow: none;
  flex-wrap: nowrap;          /* keep everything in one line */
  overflow-x: auto;          /* allow horizontal scroll on very narrow screens */
  -webkit-overflow-scrolling: touch;
}

/* visually-hidden for labels (keeps accessibility) */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Compact control appearance */
.property-search select,
.property-search input[type="number"],
.property-search input[type="text"] {
  height: 34px;
  min-height: 34px;
  font-size: 13px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.95);
  outline: none;
  appearance: none; /* hides native arrow on some browsers */
}

/* width rules - tune to taste */
.property-search .w-small  { width: 96px;  min-width: 84px; } /* e.g. min/max price fields */
.property-search .w-medium { width: 140px; min-width: 120px; } /* e.g. location/select */
.property-search .w-select { width: 120px; min-width: 100px; }

/* Search button compact */
.property-search button[type="submit"] {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

/* Remove any stray <br> spacing near the form */
.property-search br { display:none; }

/* On very small viewports: allow scroll and keep sizes */
@media (max-width: 680px) {
  .property-search { gap: 6px; padding: 6px 6px; }
  .property-search select, .property-search input { font-size: 13px; height: 32px; }
}

/* Optional: nicer focus state */
.property-search select:focus,
.property-search input:focus,
.property-search button:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.6);
}


.carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}


.modal-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 15px;
}
.modal-images img {
  max-height: 200px;
  border-radius: 10px;
  flex-shrink: 0;
}
.modal-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.modal-images img {
  max-height: 180px;
  border-radius: 10px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.modal-images img:hover {
  transform: scale(1.05);
}

/* Lightbox overlay */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

/* Enlarged image */
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: red;
}

table {
    margin: 30px auto;   /* centers horizontally */
    width: 80%;          /* optional: control width */
    background: #fff;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* nice shadow */
}
th, td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  padding: 8px 12px; 
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
     margin-left: auto;
  }


  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: var(--primary-blue);
    position: absolute;
    top: 60px; /* below header */
    right: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .nav-menu.show {
    display: flex;
  }
  
}


.featured-properties h2 {
  margin-left: 100px;
}
.container.hero-content {
  margin-right: 50px;
}
.about-story p {
  color: var(--white);
  font-weight: 500;
  font-size: 20px;
  text-shadow: 
1px 1px 2px #555, 
   -1px -1px 2px #555,
    1px -1px 2px #555, 
   -1px 1px 2px #555; /* creates a soft black contour */
}

.about-story h2 {
  color: var(--white);
  font-weight: 500;
  text-shadow: 
1px 1px 2px #555, 
   -1px -1px 2px #555,
    1px -1px 2px #555, 
   -1px 1px 2px #555;
}

.about-team,
.about-team h2,
.about-team h3,
.about-team p,
.about-process,
.about-process h2,
.about-process li {
  color: #fff; /* white */
  text-shadow: 
  1px 1px 2px #555, 
   -1px -1px 2px #555,
    1px -1px 2px #555, 
   -1px 1px 2px #555;
}
@media (max-width: 768px) {
  .featured-properties {
    padding: 30px 15px;
  }
}