/*
|--------------------------------------------------------------------------
| 1. CSS Variables (Custom Properties)
|--------------------------------------------------------------------------
| Define the site's design tokens for easy management and consistency.
*/
:root {
  /* Colors */
  --color-primary: #0a5e60;           /* Main Green */
  --color-secondary: #ff9800;         /* Primary Orange (Used for buttons) */
  --color-tertiary: #e63946;          /* Hero Button Red (Used for contrast) */
  --color-accent: #00bcd4;            /* Footer Highlight/Accent Blue */
  --color-text-dark: #333;
  --color-text-light: #fff;
  --color-background: #f9f9f9;
  --color-dark-mode-bg: #121212;
  --color-dark-mode-card: #1e1e1e;

  /* Typography */
  --font-family-primary: 'Arial', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;

  /* Border Radius */
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-pill: 30px;

  /* Box Shadow */
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
}

/* Dark Mode Variables */
/* Default (light mode) */
body {
  background-color: #fff;
  color: #222;
}

/* Dark mode */
body.dark {
  background-color: #111;
  color: #eee;
}

body.dark .navbar {
  background-color: #222;
}

body.dark a {
  color: #80dfff;
}

/*
|--------------------------------------------------------------------------
| 2. Global Styles and Reset
|--------------------------------------------------------------------------
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background: var(--color-background);
  transition: background 0.3s ease, color 0.3s ease; /* For smooth dark mode toggle */
}

/* Main Content Wrapper (Used for applying max-width/centering if needed) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Headings */
h1, h2, h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary); /* Use primary color for section headings */
}

h2 {
  font-size: 2rem;
}

body.dark h2,
body.dark .about h2 {
  color: var(--color-primary); /* Maintain primary color or choose a bright one */
}

/*
|--------------------------------------------------------------------------
| 3. Navbar and Header
|--------------------------------------------------------------------------
*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-primary);
  color: var(--color-text-light);
  /* Added sticky header for modern look */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.5rem; /* Larger logo */
  text-decoration: none;
  color: var(--color-text-light);
}

.navbar nav {
  display: flex;
  gap: var(--spacing-sm);
}

.navbar nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: background 0.2s;
}

.navbar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none; /* Removed redundant underline */
}

/* Hover Effect with Underline Animation */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0c3c78;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #0c3c78;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 900;
  font-size: 4rem;
  color: var(--color-text-light);
  text-decoration: none;
}

.logo::before {
  content: "";
  width: 69px; /* same as height */
  height: 69px;
  background: url("images/logo.jpeg") no-repeat center;
  background-size: cover;
  border-radius: 50%;          /* makes it round */
  border: 2px solid #fff;      /* optional border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* optional shadow */
  flex-shrink: 0;
}



#dark-mode-toggle,
.menu-toggle {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  transition: transform 0.2s;
}

#dark-mode-toggle:hover,
.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle {
  display: none; /* Hide on desktop */
}

/*
|--------------------------------------------------------------------------
| 4. Buttons
|--------------------------------------------------------------------------
| Consolidating button styles for consistency using the new class names.
*/
.btn {
  display: inline-block;
  margin: var(--spacing-xs);
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent; /* Base for outline style */
  cursor: pointer;
  text-align: center;
}

/* Primary Button (e.g., View Listings) */
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-text-light);
}
.btn-primary:hover {
  background: #e58d00;
  box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

/* Outline Button (e.g., Book a Site Visit) */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
}

/* Tertiary/Hero Button (e.g., Hero CTA) */
.btn-tertiary {
  background: var(--color-tertiary);
  color: var(--color-text-light);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-pill);
}

.btn-tertiary:hover {
  background: #c92a3e;
}

/* Re-applying Hero specific button styles */
.hero .btn {
  background: var(--color-tertiary);
  color: var(--color-text-light);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-pill);
}

/*
|--------------------------------------------------------------------------
| 5. Hero Section
|--------------------------------------------------------------------------
| Using a clean, self-contained style.
*/
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  overflow: hidden;
  background-attachment: fixed;
}

/* Background Layers */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Reduced transition time for a slightly faster, cleaner fade */
  transition: opacity 2s ease-in-out, transform 7s ease-in-out;
  will-change: opacity, transform;
  z-index: 0;
}

/* Image 1 */
.hero::before {
  background-image: url("images/hero1.jpg");
  opacity: 1;
  transform: scale(1);
  background-blend-mode: darken; /* Moved blend mode here */
  filter: brightness(0.8); /* Using filter for darkness */
}

/* Image 2 */
.hero::after {
  background-image: url("images/hero2.jpg");
  opacity: 0;
  transform: scale(1.1);
  background-blend-mode: darken;
  filter: brightness(0.7);
}


/* Active fade state */
.hero.fade-second::before {
  opacity: 0;
  transform: scale(1.1);
  filter: brightness(0.7);
}

.hero.fade-second::after {
  opacity: 1;
  transform: scale(1);
  filter: brightness(0.8);
}


/* Content Layer */
.hero-overlay {
  position: relative;
  z-index: 2;
  padding: var(--spacing-md);
  max-width: 900px;
  /* Added backdrop filter for a modern, semi-transparent background */
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-md);
}

/* Text styling */
.hero h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-sm);
  animation: fadeIn 2s ease-out;
  color: var(--color-text-light); /* Ensure H1 is white */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  animation: fadeIn 3s ease-out;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/*
|--------------------------------------------------------------------------
| 6. Main Sections (About, Services, Listings)
|--------------------------------------------------------------------------
*/
section {
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
}

/* Services Grid (Updated from .services-row to .services-grid) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  list-style: none; /* Remove list bullets from the <ul> */
  padding: 0;
}

.service { /* Updated from .service-card */
  background: rgba(48, 53, 146, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

body.dark .service {
  background: var(--color-dark-mode-card);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}

.service:hover {
  transform: translateY(-5px);
}
.service img {
  width: 100%;
  height: 180px;               /* or any height you prefer */
  object-fit: cover;           /* keeps image proportion */
  border-radius: var(--border-radius-md);  /* small rounded corners */
  margin-bottom: var(--spacing-sm);
  display: block;
}


/* Listings Grid */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-md) 0;
}
.property-card {
  background: var(--color-text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  text-align: left;
}
body.dark .property-card {
  background: var(--color-dark-mode-card);
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.property-card h3 {
  margin-top: 0;
}

/*
|--------------------------------------------------------------------------
| 7. Call to Action (CTA) Section
|--------------------------------------------------------------------------
*/
.cta {
  /* FIX: Ensure 'contact.png' is correct path/image, using a placeholder for now */
  background-image: url('images/contact.png'); 
  background-attachment: fixed; /* Parallax effect */
  color: var(--color-text-light);
  text-align: center;
  padding: 5rem var(--spacing-sm);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Modern semi-transparent dark overlay */
  background: rgba(0, 0, 0, 0.6); 
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-light);
}

.cta p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

/*
|--------------------------------------------------------------------------
| 8. Footer Section
|--------------------------------------------------------------------------
*/
.footer {
  background-color: #111;
  color: #fff;
  padding: 4rem var(--spacing-md) 1rem;
  text-align: left;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem; /* Used rem units */
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent);
}

.footer p {
  line-height: 1.6;
  font-size: 0.95rem; /* Used rem units */
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--color-accent);
}

address.footer-col {
  font-style: normal; /* Removes default italics from address tag */
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: var(--spacing-sm);
}

.social-links a {
  /* Using more modern Flexbox approach */
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: var(--spacing-sm);
  font-size: 0.875rem;
  color: #ccc;
}


@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem var(--spacing-sm);
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    z-index: 1001; /* ensure it's above the menu */
  }

  .nav-menu {
    display: none !important;
    flex-direction: column;
    background: var(--color-primary);
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    display: flex !important;
    animation: slideDown 0.3s ease forwards;
  }

  /* ✅ Style the links inside the menu */
  .nav-menu a {
    padding: 1rem var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: left;
  }

  /* ✅ (Optional) Add a simple slide-down animation */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Adjust footer layout */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    min-width: 100%;
  }
}



/* Tablet Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
/*
|--------------------------------------------------------------------------
| SERVICES PAGE SPECIFIC STYLES
|--------------------------------------------------------------------------
| Styles for the hero section slideshow and the service grid layout.
*/

/* --- HERO SECTION SLIDESHOW --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light); /* Use variable */
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: opacity 3s ease-in-out;
  z-index: 0;
  /* Added blend mode for dark overlay */
  background-blend-mode: darken; 
  filter: brightness(0.8);
}

.hero::before {
  background-image: url("images/hero1.jpg");
  opacity: 1;
}

.hero::after {
  background-image: url("images/hero2.jpg");
  opacity: 0;
}

.hero.fade-second::before {
  opacity: 0;
}

.hero.fade-second::after {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  /* Using backdrop filter for a subtle modern look */
  background: rgba(0, 0, 0, 0.45); 
  backdrop-filter: blur(4px); 
  padding: 2.5rem; /* Use rem */
  border-radius: var(--border-radius-md); /* Use variable */
  animation: fadeIn 2s ease;
}

.hero h1 {
  font-size: 3rem; /* Use rem */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm); /* Use variable */
  color: var(--color-text-light);
}

.hero p {
  font-size: 1.1rem; /* Use rem */
  color: #f1f1f1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(2rem); } /* Use rem */
  to { opacity: 1; transform: translateY(0); }
}
/* --- SERVICE PAGE CONTENT STYLES --- */
.services-page .services {
  position: relative;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  background: url("images/lan.png") center/cover no-repeat fixed;
  color: var(--color-text-light);
  overflow: hidden;
}

/* Overlay for readability */
.services-page .services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Keeps headings and grid above the overlay */
.services-page .services h2,
.services-page .service-grid {
  position: relative;
  z-index: 1;
}

.services-page .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: auto;
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

/* Service cards */
.service-card {
  background: rgba(163, 164, 218, 0.944);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease;
  opacity: 90;
  transform: translateY(2rem);
  text-align: center;
  backdrop-filter: blur(4px);
}

body.dark .service-card {
  background: rgba(179, 173, 173, 0.85);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.05);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-0.75rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 180px;               /* or any height you prefer */
  object-fit: cover;           /* keeps image proportion */
  border-radius: var(--border-radius-md);  /* small rounded corners */
  margin-bottom: var(--spacing-sm);
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  color:rgb(3, 97, 97);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: var(--font-size-base);
  color: var(--color-text-dark);
  line-height: var(--line-height-base);
}

body.dark .service-card h3 {
  color: var(--color-secondary);
}

.why-choose {
  background: var(--color-background);
  padding: var(--spacing-lg) 0;
}

.why-choose h2 {
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.check-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
  line-height: 1.6;
}

.check-list .fas {
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.check-list strong {
  color: var(--color-text-dark);
}
/* Contact Section */
.contact {
  padding: var(--spacing-lg) var(--spacing-md);
  background: url("images/contact.png") center/cover no-repeat fixed;
  position: relative;
  color: var(--color-text-light);
  overflow: hidden;
}

/* Overlay for better readability */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.6);
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Form Card */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--color-text-light);
}

/* Heading */
.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

/* Inputs & Textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text-dark);
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* Placeholder and Focus Styles */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 2px solid var(--color-primary);
  background: #fff;
  box-shadow: 0 0 8px rgba(3, 113, 147, 0.3);
}

/* Button */
.contact-form .btn-primary {
  background: var(--color-secondary);
  color: var(--color-text-light);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--border-radius-pill);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background: #e58d00;
  box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }
}
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
  }
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-overlay.active {
  display: block;
}


/* === Our Expertise Section (dedicated white area) === */
.expertise-section {
  background-color: #b6bac8;     /* solid white background */
  color: #222;                /* dark text for contrast */
  text-align: center;
  padding: 5rem 2rem;         /* top/bottom spacing */
  position: relative;
  z-index: 1;                 /* ensures it sits above overlapping sections */
}

#services-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary, #303592);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}
/* === Contact Section (Dedicated White Background) === */
.contact-section {
  background-color: #fff;      /* white background only for this section */
  color: #222;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Address Block */
.contact-info {
  max-width: 700px;
  margin: 0 auto;
  font-style: normal; /* prevent italic default from <address> */
  background: rgba(48, 53, 146, 0.05); /* light tinted box */
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Heading */
.contact-info h2 {
  font-size: 2rem;
  color: var(--color-primary, #303592);
  margin-bottom: 1.5rem;
}

/* Detail Lines */
.detail-line {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.detail-line strong {
  color: #222;
}

/* Contact Links */
.detail-line a {
  color: var(--color-primary, #303592);
  text-decoration: none;
}

.detail-line a:hover {
  text-decoration: underline;
}

/* Icons */
.detail-line .fas {
  color: var(--color-primary, #303592);
  margin-right: 8px;
}

/* Office Hours Box */
.contact-hours {
  margin-top: 2rem;
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-hours h4 {
  font-size: 1.5rem;
  color: var(--color-primary, #303592);
  margin-bottom: 0.5rem;
}

.contact-hours p {
  font-size: 1.1rem;
  color: #555;
  margin: 0.3rem 0;
}
/* === Property Filter Bar === */
.filter-bar {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 3rem auto;
  max-width: 1000px;
}

.filter-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Search Input */
.search-input {
  flex: 1;
  min-width: 250px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  border-color: var(--color-primary, #303592);
  box-shadow: 0 0 0 3px rgba(48, 53, 146, 0.2);
}

/* Select Dropdown */
.filter-select {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.filter-select:focus {
  border-color: var(--color-primary, #303592);
}

/* Filter Button */
.filter-btn {
  background-color: var(--color-primary, #303592);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn:hover {
  background-color: #202464;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .filter-content {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
  }
}
/* Chatbot Floating Button */
.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary, #007bff);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  transition: background 0.3s;
}

.chatbot-toggle:hover {
  background: #0056b3;
}

/* Chatbot Container */
.chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-height: 450px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

.chatbot-container.active {
  display: flex;
}

/* Header */
.chatbot-header {
  background: var(--color-primary, #007bff);
  color: #fff;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Body */
.chatbot-body {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  font-size: 0.95rem;
}

.bot-message, .user-message {
  background: #f1f1f1;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  max-width: 80%;
}

.user-message {
  background: #007bff;
  color: white;
  align-self: flex-end;
}

/* Input */
.chatbot-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chatbot-input input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.chatbot-input button {
  background: var(--color-primary, #007bff);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}
/* Optional: small entrance animation for the chat bubble */
#chatway-launcher {
  animation: pop-in 0.6s ease;
}

@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
