/* Import DM Serif Display from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

/* Real Estate Site - Custom Styles */

/* Paragraph text color */
p {
  color: #63696e;
}

/* Button font size */
.btn {
  font-size: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  outline: none;
  box-shadow: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
}

.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: none;
}

:root {
  --brand-primary: #163e63;
  --brand-dark: #0f2a47;
  /* --brand-accent: #c2a787; */
  --brand-accent: #b08743;
  --brand-light: #d3dbe2;
  --text-muted: #6c757d;
  --border-light: rgba(0,0,0,0.075);
}


body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #404951;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scrollbar */
}

/* Ensure all containers don't cause horizontal overflow */
.container{
  overflow-x: hidden;
}

.container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Fix any elements that might cause horizontal overflow */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Headings use DM Serif Display */
h1 {
  /* font-family: 'DM Serif Display', serif; */
  /* font-weight: normal; */
  font-weight: 400;
  font-size: 40px;
}

/* Headings use DM Serif Display */
h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: normal;
  font-size: 40px;
}

h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  font-weight: normal;
  font-size: 24px;
}

/* Full-width Banner */
.banner {
  padding: 0;
  position: relative;
  margin-top: -80px;
  padding-top: 80px;
  height: 100vh;
  min-height: 400px;
  max-height: 760px;
}

.banner .banner-media {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 0px;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;

  background-position: center;
}

@media (min-width: 992px) {
  .banner .banner-media {
    min-height: 500px;
    max-height: 760px;
  }
}

.banner .banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(22, 62, 99, 0.7) 0%, rgba(22, 62, 99, 0.5) 50%, rgba(22, 62, 99, 0.6) 100%);
  color: #fff;
}

.banner .overlay-inner {
  width: 100%;
}

.banner .banner-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.banner .banner-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  opacity: 0.95;
  max-width: 65ch;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.banner p {
  color: white;
}

.banner .btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.875rem 2.5rem;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.banner .btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.banner .btn-primary:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.banner .btn-outline-light {
  border-color: rgba(255,255,255,0.8);
  color: white;
}

.banner .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

@media (max-width: 768px) {
  .banner .banner-media {
    height: 100vh;
    min-height: 350px;
    max-height: 660px;
  }
  
  .banner .banner-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .banner .banner-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .banner .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .banner .d-flex {
    flex-direction: column;
    gap: 0.75rem;
  }

}

/* Medium screens */
@media (min-width: 769px) and (max-width: 991px) {
  .banner .banner-title {
    font-size: 3.5rem;
  }
  
  .banner .banner-subtitle {
    font-size: 1.125rem;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .banner .banner-title {
    font-size: 3rem;
  }
  
  .banner .banner-subtitle {
    font-size: 1.125rem;
    line-height: 2rem;
  }
}

/* Sticky Quote Button */
.sticky-quote-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.sticky-quote-btn .btn {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  border: none;
  color: #000;
  font-weight: 700;
  padding: 1.5rem 0.75rem;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  transition: all 0.3s ease;
  border-radius: 0;
  min-width: 46px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sticky-quote-btn .btn i {
  font-size: 1.2rem;
  transform: rotate(90deg);
}

.sticky-quote-btn .btn:hover {
  background: linear-gradient(135deg, #ff8f00, #ff6f00);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.6);
  color: #000;
  right: 5px;
}

.sticky-quote-btn .btn:focus {
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Banner Carousel */
.banner .carousel {
  height: 100%;
  width: 100%;
}

.banner .carousel-inner {
  height: 100%;
}

.banner .carousel-item {
  height: 100%;
}

.banner .carousel-item img,
.banner .carousel-item video,
.banner .carousel-item .banner-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner .carousel-item .banner-media {
  background-size: cover;
  background-repeat: no-repeat;

  background-position: center;
}

.banner .carousel-item video {
  background: #000;
  display: block;
}

/* Inner Banner Styles */
.inner-banner {
  min-height: inherit;
  max-height: 560px;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.inner-banner .banner-media {
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.inner-banner .banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(22, 62, 99, 0.7) 0%, rgba(22, 62, 99, 0.5) 50%, rgba(22, 62, 99, 0.6) 100%);
  z-index: 1;
}

@media (min-width: 992px) {
  .inner-banner .banner-media {
    max-height: 560px;
  }
}

/* Ensure proper spacing after banner */
.inner-banner + main,
.inner-banner + section {
  margin-top: 0;
  padding-top: 3rem;
  position: relative;
  z-index: 1;
}


/* Page-specific banner styles */
.about-banner {
  /* Additional styles for about page banner if needed */
}

.about-banner  {
 /* Additional styles for about page banner if needed */
}

.residential-banner {
  /* Additional styles for residential page banner if needed */
}

.commercial-banner {
  /* Additional styles for commercial page banner if needed */
}

.delivered-banner {
  /* Additional styles for delivered page banner if needed */
}

/* Banner Pagination */
.banner-pagination {
  position: absolute;
  bottom: 2rem;
  right: 14rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  border-radius: 4px;
}

.banner-pagination .carousel-indicators {
  margin: 0;
  gap: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.banner-pagination .carousel-indicators button {
  width: 1.5rem !important;
  height: 0.188rem !important;
  background-color: white !important;
  border: none !important;
  border-radius: 0 !important;
  opacity: 0.7;
  transition: all 0.3s ease;
  margin: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
  text-indent: 0 !important;
  text-align: center;
  line-height: 1;
}

.banner-pagination .carousel-indicators button.active {
  background-color: var(--brand-primary) !important;
  opacity: 1;
}

.banner-pagination .carousel-indicators button:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.9);
}

.banner-pagination .carousel-indicators button.active:hover {
  background-color: var(--brand-primary);
}

/* Responsive Banner Pagination */
@media (max-width: 768px) {
  .banner-pagination {
    bottom: 1rem;
    right: 1rem;
  }
  
  .banner-pagination .carousel-indicators button {
    width: 1.25rem;
    height: 0.1rem;
  }
}

/* Delivered Projects Tabs and Carousels */
.nav-tabs {
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 2rem;
}

.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  color: var(--brand-primary);
  background-color: rgba(22, 62, 99, 0.05);
}

.nav-tabs .nav-link.active {
  color: var(--brand-primary);
  background-color: transparent;
  border-color: transparent transparent var(--brand-primary) transparent;
}

.project-section {
  /* background: #f8f9fa; */
  /* border-radius: 15px; */
  padding: 1.25rem 0;
  /* margin-bottom: 2rem; */
}

.project-name {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-controls .btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-controls .btn:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  transform: scale(1.1);
}

.carousel-controls .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-controls .btn.disabled:hover {
  background-color: transparent;
  border-color: #6c757d;
  color: #6c757d;
  transform: none;
}

.carousel {
  position: relative;
}

.carousel-inner {
  /* border-radius: 10px; */
  overflow: hidden;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Tab Content Animation */
.tab-pane {
  animation: fadeIn 0.5s ease-in-out;
}

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

.contact-list{
  margin-bottom: 1.25rem;
}

.contact-list .fw-semibold{
  margin-bottom: 0.125rem;
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
  .nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .project-name {
    font-size: 1.5rem;
  }
  
  .project-section {
    padding: 1.5rem;
  }
  
  .carousel-controls .btn {
    width: 35px;
    height: 35px;
  }
}

/* Quote Modal Styling */
#quoteModal .modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.2);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

/* Right-side modal for home page */
#quoteModal .modal-dialog {
  position: fixed;
  top: 50%;
  right: 0;
  width: 450px;
  height: 80vh;
  margin: 0;
  transform: translate(100%, -50%);
  transition: transform 0.3s ease-in-out;
}

#quoteModal.show .modal-dialog {
  transform: translate(0, -50%);
}

#quoteModal .modal-content {
  height: 100%;
  border-radius: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  flex-direction: column;
}

#quoteModal .modal-body {
  flex: 1;
  overflow-y: auto;
}

/* Modal backdrop for right-side modal */
#quoteModal .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease-in-out;
}

/* Mobile responsiveness for right-side modal */
@media (max-width: 768px) {
  #quoteModal .modal-dialog {
    width: 100vw;
    border-radius: 0;
  }
  
  #quoteModal .modal-content {
    border-radius: 0;
  }
}

#quoteModal .modal-header {
  background: white;
  color: var(--brand-primary);
  border-radius: 0;
  border-top-left-radius: 20px;
  border-bottom: 1px solid #e9ecef;
  padding: 0.625rem 1.25rem;
  position: relative;
  overflow: hidden;
}


#quoteModal .modal-title {
  font-weight: 700;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--brand-primary);
}

#quoteModal .btn-close {
  filter: none;
  opacity: 0.7;
  position: relative;
  z-index: 1;
  color: var(--brand-primary);
  background: none;
  border: none;
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#quoteModal .btn-close:hover {
  opacity: 1;
  color: var(--brand-dark);
  background-color: rgba(22, 62, 99, 0.1);
}

#quoteModal .btn-close i {
  font-size: 0.9rem;
}

#quoteModal .modal-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  background: white;
}

#quoteModal .modal-body p {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

#quoteModal .form-control,
#quoteModal .form-select {
  border: 2px solid #e9ecef;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: #fafbfc;
}

#quoteModal .form-control:focus,
#quoteModal .form-select:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.15);
  background: white;
  transform: translateY(-1px);
}

#quoteModal .form-label {
  font-weight: 600;
  color: #163e63;
  margin-bottom: 0.125rem;
  font-size: 0.875rem;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

#quoteModal .form-control::placeholder {
  color: #adb5bd;
  font-style: italic;
}

#quoteModal .modal-footer {
  background: white;
  border-top: 1px solid #e9ecef;
  padding: 0.625rem 1.25rem;
  border-radius: 0;
  border-bottom-left-radius: 20px;
  display: flex;
  justify-content: center;
}

#quoteModal .btn-warning {
  background: var(--brand-accent);
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(22, 62, 99, 0.3);
}

#quoteModal .btn-warning:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 62, 99, 0.4);
  color: white;
}

#quoteModal .btn-secondary {
  background: #6c757d;
  border: none;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

#quoteModal .btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
  color: white;
}

/* Form validation states */
#quoteModal .form-control.is-invalid,
.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15) !important;
}

#quoteModal .form-control.is-valid,
.form-control.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.15);
}

/* Required field asterisk styling */
.text-danger {
  color: #dc3545 !important;
  font-weight: bold;
}

/* Error state for form controls */
.form-control.error,
.form-select.error {
  border-color: #dc3545 !important;
}

/* Error message styling */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
  font-weight: 500;
}

/* Field error state */
.field-error .form-control,
.field-error .form-select {
  border-color: #dc3545 !important;
}

.field-error .form-floating > label {
  color: #dc3545;
}

/* Validation error styling */
.validation-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
  font-weight: 500;
}

.validation-error.show {
  display: block;
}

/* Disable browser validation styling */
input:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none !important;
  border-color: #ced4da !important;
}

input:invalid:focus,
select:invalid:focus,
textarea:invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
  border-color: #86b7fe !important;
}

/* Hide browser validation messages */
input:invalid,
select:invalid,
textarea:invalid {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Mobile responsiveness for sticky button */
@media (max-width: 768px) {
  .sticky-quote-btn {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  
  .sticky-quote-btn .btn {
    padding: 1.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0;
    min-width: 46px;
    height: auto;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .sticky-quote-btn .btn i {
    transform: rotate(90deg);
  }
}

/* Navbar Styles */
.navbar-brand {
  /* font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px; */
  padding: 0;
}

/* Home page navbar - hamburger menu matches logo color */
/* When logo is white (on banner) - hamburger menu is white */
.home-header .navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

.home-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.home-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.home-header .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* Force white hamburger menu on home page when NOT sticky - HIGHEST PRIORITY */
.home-header:not(.sticky-top) .navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.home-header:not(.sticky-top) .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.home-header:not(.sticky-top) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.home-header:not(.sticky-top) .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* Override any conflicting styles for non-sticky home header */
.home-header:not(.sticky-top) .navbar-toggler * {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* When logo is in color (sticky or other pages) - hamburger menu is brand accent */
.navbar.sticky-top .navbar-toggler,
.navbar:not(.home-header) .navbar-toggler {
  border: 2px solid var(--brand-accent) !important;
  background: rgba(194, 167, 135, 0.1) !important;
  backdrop-filter: blur(10px);
}

.navbar.sticky-top .navbar-toggler:focus,
.navbar:not(.home-header) .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(194, 167, 135, 0.25) !important;
}

.navbar.sticky-top .navbar-toggler-icon,
.navbar:not(.home-header) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c2a787' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.sticky-top .navbar-toggler:hover,
.navbar:not(.home-header) .navbar-toggler:hover {
  background: rgba(194, 167, 135, 0.2) !important;
  border-color: var(--brand-accent) !important;
}

/* Home page sticky state - WHITE hamburger menu */
.home-header.sticky-top .navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

.home-header.sticky-top .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.home-header.sticky-top .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.home-header.sticky-top .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* Home page sticky + scrolled state - BRAND ACCENT hamburger menu */
.home-header.sticky-top.scrolled .navbar-toggler {
  border: 2px solid var(--brand-accent) !important;
  background: rgba(194, 167, 135, 0.1) !important;
  backdrop-filter: blur(10px);
}

.home-header.sticky-top.scrolled .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(194, 167, 135, 0.25) !important;
}

.home-header.sticky-top.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c2a787' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.home-header.sticky-top.scrolled .navbar-toggler:hover {
  background: rgba(194, 167, 135, 0.2) !important;
  border-color: var(--brand-accent) !important;
}

/* FINAL OVERRIDE - White hamburger menu for home page non-sticky (MUST BE LAST) */
.home-header:not(.sticky-top) .navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.home-header:not(.sticky-top) .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.home-header:not(.sticky-top) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.home-header:not(.sticky-top) .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* .brand-logo{
  position: relative;
} */

.brand-logo img{
  max-width: 150px;
  position: absolute;
  top: 8px;
}

.logo-about img{
  width: 110px;
}

.navbar-brand span {
  color: var(--brand-primary);
  font-weight: 900;
}

.navbar .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--brand-primary) !important;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(22,62,99,0.08), rgba(194,167,135,0.08));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero .display-5 {
  font-size: 40px;
  color: var(--brand-dark);
  animation: fadeInUp 0.8s ease-out;
}

.hero .lead {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn {
  animation: fadeInUp 0.8s ease-out 0.4s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 62, 99, 0.3);
}

/* Section Titles */
.section-title {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--brand-dark);
  position: relative;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: 2px;
}

/* Centered heading underline alignment */
.section-title.text-center::after,
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Modern Property Cards */
.property-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(176, 135, 67, 0.4);
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 62, 99, 0.02), rgba(194, 167, 135, 0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.property-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.property-card:hover::before {
  opacity: 1;
}

.property-card img {
  object-fit: cover;
  height: 260px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.property-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
}

.property-card .card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  z-index: 3;
  background: #ffffff;
  flex: 1;
}

/* Modern card content styling */
.property-card .card-title {
  font-size: 1.375rem;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.property-card .card-text {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #63696e;
  font-weight: 500;
  line-height: 1.5;
}

/* Simple property details toggle */
.property-card .card-body > .property-details-toggle {
  margin-bottom: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
}

.property-details-toggle ul {
  margin-bottom: 0;
  padding-left: 0.625rem;
  list-style: none;
}

.property-details-toggle li {
  margin-bottom: 0.5rem;
  color: #63696e;
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.938rem;
}

.property-details-toggle li::before {
  content: '→';
  position: absolute;
  top: 3px;
  left: 0;
  color: var(--brand-accent);
  font-weight: bold;
  font-size: 12px;
}

.property-details-toggle p {
  color: #63696e;
  margin-bottom: 1rem;
  font-style: normal;
  font-size: 0.938rem;
  line-height: 1.8;
}

/* Keep toggle controls pinned to bottom */
.property-card .card-body > .d-flex.justify-content-between.align-items-center,
.property-card .card-body > .toggle-details {
  margin-top: auto;
}

/* Ensure proper grid layout for property cards */
.row.g-4 {
  display: flex;
  flex-wrap: wrap;
}

.row.g-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.property-details-toggle {
  margin: 0.25rem 0;
  padding: 1rem;
  background: var(--brand-light);
  border-radius: 8px;
  border-left: 4px solid var(--brand-primary);
}

.property-details-toggle ul {
  margin-bottom: 0;
  padding-left: 0.625rem;
}

/* Simple toggle details link with arrow */
.toggle-details {
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-accent);
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.toggle-details:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.toggle-details:focus {
  outline: none;
  text-decoration: underline;
}


/* Link text styling */
.toggle-details .button-text {
  transition: all 0.3s ease;
}

/* Expanded state styling */
.toggle-details[data-expanded="true"] {
  color: var(--brand-primary);
}

.toggle-details[data-expanded="true"]:hover {
  color: var(--brand-dark);
}

/* Modern card hover effects */
.property-card:hover .card-title {
  color: var(--brand-primary);
}

.property-card:hover .card-text {
  color: var(--brand-dark);
}

/* Card image overlay effect */
.property-card .card-img-top {
  position: relative;
}

.property-card .card-img-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.property-card:hover .card-img-top::after {
  opacity: 1;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)) !important;
  color: white;
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Features Grid */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--brand-primary);
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 2rem;
}

.feature-item:hover .feature-icon {
  background: var(--brand-primary);
  color: white;
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 2rem;
}

.form-control {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  height: 52px;
  min-height: 52px;
}

.form-control[rows] {
  height: auto;
  min-height: 130px;
  resize: vertical;
}

/* Floating Labels */
.form-floating {
  position: relative;
}

.form-floating > .form-control {
  height: 52px;
  line-height: 1.25;
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-control[rows] {
  height: auto;
  min-height: 130px;
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-control:not(:placeholder-shown) {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-control:-webkit-autofill {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > .form-control:-webkit-autofill ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Interactive Map Container */
.map-container {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: #f8f9fa;
}

.interactive-map {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #e8f4fd, #d1ecf1);
  overflow: visible;
}

/* Map Background */
.map-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f4fd, #d1ecf1);
}

.map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

/* Roads */
.map-roads {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.road {
  position: absolute;
  background: #6c757d;
  opacity: 0.7;
}

.road.horizontal {
  height: 8px;
  width: 100%;
}

.road.vertical {
  width: 8px;
  height: 100%;
}

.road-1 { top: 20%; }
.road-2 { top: 50%; }
.road-3 { top: 80%; }
.road-4 { left: 20%; }
.road-5 { left: 50%; }
.road-6 { left: 80%; }

/* Buildings */
.map-buildings {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.building {
  position: absolute;
  background: #495057;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.building-1 { top: 10%; left: 10%; width: 60px; height: 40px; }
.building-2 { top: 10%; left: 30%; width: 80px; height: 60px; }
.building-3 { top: 10%; left: 60%; width: 50px; height: 35px; }
.building-4 { top: 10%; left: 80%; width: 70px; height: 45px; }
.building-5 { top: 40%; left: 15%; width: 90px; height: 55px; }
.building-6 { top: 40%; left: 45%; width: 65px; height: 40px; }
.building-7 { top: 40%; left: 75%; width: 55px; height: 50px; }
.building-8 { top: 70%; left: 25%; width: 75px; height: 45px; }

/* Parks */
.map-parks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.park {
  position: absolute;
  background: #28a745;
  border-radius: 8px;
  opacity: 0.6;
}

.park-1 { top: 25%; left: 5%; width: 100px; height: 60px; }
.park-2 { top: 65%; left: 60%; width: 80px; height: 50px; }

/* Map Markers */
.map-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.marker {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.marker-1 { top: 15%; left: 25%; }
.marker-2 { top: 45%; left: 70%; }
.marker-3 { top: 75%; left: 35%; }

.marker-pin {
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.marker-pin i {
  transform: rotate(45deg);
}

.marker-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.marker-info {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  min-width: 300px;
  max-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 20;
  border: 1px solid rgba(0,0,0,0.1);
  overflow: visible;
}

/* Enhanced Marker Info Styling */
.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

.info-header h6 {
  color: var(--brand-dark);
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-badge.office {
  background: #d4edda;
  color: #155724;
}

.status-badge.in-progress {
  background: #fff3cd;
  color: #856404;
}

.status-badge.completed {
  background: #d1ecf1;
  color: #0c5460;
}

.info-content p {
  color: #63696e;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.info-content p i {
  color: var(--brand-primary);
  width: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-hours {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  margin: 0.75rem 0;
}

.info-hours small {
  color: var(--brand-accent);
  font-weight: 500;
  font-size: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.info-hours small i {
  color: var(--brand-primary);
  margin-right: 0.5rem;
  margin-top: 0.1rem;
}

.progress-info {
  margin: 0.75rem 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #fd7e14);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-info small {
  color: #63696e;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Removed info-actions styles as buttons are no longer needed */

/* Office Marker Hover */
.marker[data-type="office"]:hover .marker-pin {
  transform: rotate(-45deg) scale(1.1);
  background: var(--brand-primary);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.marker[data-type="office"]:hover .marker-pulse {
  background: var(--brand-primary);
  animation-duration: 1.5s;
}

/* In-Progress Marker Hover */
.marker[data-type="in-progress"]:hover .marker-pin {
  transform: rotate(-45deg) scale(1.1);
  background: #ffc107;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

.marker[data-type="in-progress"]:hover .marker-pulse {
  background: #ffc107;
  animation-duration: 1.2s;
}

/* Completed Marker Hover */
.marker[data-type="completed"]:hover .marker-pin {
  transform: rotate(-45deg) scale(1.1);
  background: #28a745;
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

.marker[data-type="completed"]:hover .marker-pulse {
  background: #28a745;
  animation-duration: 1.8s;
}

/* Office Marker - Popover at Bottom-Right */
.marker[data-type="office"]:hover .marker-info,
.marker[data-type="office"].active .marker-info {
  opacity: 1;
  visibility: visible;
  top: auto;
  bottom: -80px;
  left: 51px;
  right: auto;
  transform: translateY(50%);
}

/* In-Progress Marker - Popover at Center-Left */
.marker[data-type="in-progress"]:hover .marker-info,
.marker[data-type="in-progress"].active .marker-info {
  opacity: 1;
  visibility: visible;
  top: 50%;
  bottom: auto;
  left: -12px;
  right: auto;
  transform: translateY(-50%) translateX(-100%);
}

/* Completed Marker - Popover at Top-Left-Center */
.marker[data-type="completed"]:hover .marker-info,
.marker[data-type="completed"].active .marker-info {
  opacity: 1;
  visibility: visible;
  top: -10px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
}

.marker.active .marker-pin {
  transform: rotate(-45deg) scale(1.1);
}

/* Map Legend */
.map-legend {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 20;
}

.map-legend h6 {
  color: var(--brand-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #63696e;
}

.legend-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-marker.office { background: var(--brand-primary); }
.legend-marker.in-progress { background: #ffc107; }
.legend-marker.completed { background: #28a745; }

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/* Enhanced Marker Animations */
.marker {
  transition: all 0.3s ease;
}

.marker:hover {
  transform: scale(1.05);
  z-index: 15;
}

.marker.active {
  transform: scale(1.1);
  z-index: 15;
}

/* Popover Arrows */
.popover-arrow {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 25;
}

/* Office Marker - Arrow at Left */
.office-arrow {
  top: 50px;
  left: -20px;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: white;
  filter: drop-shadow(-3px 0 6px rgba(0,0,0,0.15));
}

/* In-Progress Marker - Arrow at Right */
.inprogress-arrow {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left-color: white;
  filter: drop-shadow(3px 0 6px rgba(0,0,0,0.15));
}

/* Completed Marker - Arrow at Bottom */
.completed-arrow {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: white;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

/* Enhanced Legend */
.map-legend {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.legend-item {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.25rem;
  border-radius: 4px;
}

.legend-item:hover {
  background: rgba(0,0,0,0.05);
  transform: translateX(2px);
}

/* Map Controls */
.map-controls {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
}

.map-control-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.map-control-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .map-legend {
    top: 10px;
    right: 10px;
    padding: 0.75rem;
    max-width: 150px;
  }
  
  .marker-info {
    min-width: 200px;
    max-width: 250px;
    padding: 1rem;
  }
  
  /* Mobile positioning adjustments */
  .marker[data-type="office"]:hover .marker-info,
  .marker[data-type="office"].active .marker-info {
    bottom: -100px;
    left: 40px;
    transform: translateY(50%);
  }
  
  .marker[data-type="in-progress"]:hover .marker-info,
  .marker[data-type="in-progress"].active .marker-info {
    left: -10px;
    transform: translateY(-50%) translateX(-100%);
  }
  
  .marker[data-type="completed"]:hover .marker-info,
  .marker[data-type="completed"].active .marker-info {
    top: -5px;
    transform: translateX(-50%) translateY(-100%);
  }
  
  .marker-pin {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  /* Removed info-actions responsive styles as buttons are no longer needed */
  
  .info-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .status-badge {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .interactive-map {
    height: 400px;
  }
  
  .marker-info {
    min-width: 180px;
    max-width: 200px;
    padding: 0.75rem;
  }
  
  .info-content p {
    font-size: 0.8rem;
  }
  
  /* Extra small screen positioning adjustments */
  .marker[data-type="office"]:hover .marker-info,
  .marker[data-type="office"].active .marker-info {
    bottom: -80px;
    left: 30px;
    transform: translateY(50%);
  }
  
  .marker[data-type="in-progress"]:hover .marker-info,
  .marker[data-type="in-progress"].active .marker-info {
    left: 0px;
    transform: translateY(-50%) translateX(-100%);
  }
  
  .marker[data-type="completed"]:hover .marker-info,
  .marker[data-type="completed"].active .marker-info {
    top: 0px;
    transform: translateX(-50%) translateY(-100%);
  }
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: none;
  outline: none;
}

/* Form Select Styling */
.form-select {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  height: 52px;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: none;
  outline: none;
}

/* Footer link styles */
footer a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Alternating section backgrounds */
section:nth-child(even) {
  background-color: rgba(194, 167, 135, 0.1);
}

section:nth-child(odd) {
  background-color: transparent;
}

/* Override for specific sections that should not have alternating backgrounds */
.banner,
.hero,
.search-section {
  background: inherit;
}

/* Override bg-light class for alternating sections */
section.bg-light:nth-child(even) {
  background-color: rgba(194, 167, 135, 0.1);
}

section.bg-light:nth-child(odd) {
  background-color: transparent;
}

/* Specific section background overrides */
main {
  background-color: transparent;
}

main + section {
  background-color: rgba(194, 167, 135, 0.1);
}

main + section + section {
  background-color: transparent;
}

main + section + section + section {
  background-color: rgba(194, 167, 135, 0.1);
}

/* Override for sections with specific background classes */
section.bg-light {
  background-color: #f8f9fa;
}

section.bg-light:nth-child(even) {
  background-color: rgba(194, 167, 135, 0.1);
}

section.bg-light:nth-child(odd) {
  background-color: transparent;
}

.btn-primary {
  background: var(--brand-accent);
  border: 1px solid var(--brand-accent);
  color: white;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Ensure small buttons stay small regardless of variant */
.btn.btn-sm,
.btn-group-sm > .btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 62, 99, 0.4);
}

/* Outline Button Styles */
.btn-outline-primary {
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  color: white;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 42, 71, 0.4);
}

/* Additional button variants for consistency */
.btn-secondary {
  background: #6c757d;
  border: 1px solid #6c757d;
  color: white;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #5a6268;
  border-color: #5a6268;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-light {
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  color: #212529;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background: #e2e6ea;
  border-color: #e2e6ea;
  color: #212529;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(248, 249, 250, 0.4);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  background: #f8f9fa;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 0.375rem;
  background: var(--brand-primary);
  color: white;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(22, 62, 99, 0.3);
}

.back-to-top:hover {
  /* background: var(--brand-dark); */
  background: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 62, 99, 0.4);
}

/* Modal Styles */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-header {
  border-bottom: 1px solid var(--border-light);
  background: var(--brand-light);
  border-radius: 12px 12px 0 0;
}

.modal-title {
  color: var(--brand-dark);
  font-weight: 600;
}

.modal-body h6 {
  font-size: 24px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-body h6:first-child {
  margin-top: 0;
}

.modal-body ul {
  padding-left: 1.2rem;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero .display-5 {
    font-size: 40px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-icon i {
    font-size: 1.5rem;
  }
  
  /* Fix horizontal overflow on mobile */
  .container {
    padding-right: 20px;
    padding-left: 20px;
    /* Use default Bootstrap container padding - no extra padding */
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .col, [class*="col-"] {
    /* padding-left: 15px;
    padding-right: 15px; */
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix table overflow */
  table {
    width: 100%;
    table-layout: fixed;
  }
  
  /* Fix form elements */
  .form-control, .form-select {
    max-width: 100%;
  }
  
  /* Fix any wide elements */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure equal margins and padding */
  .row > * {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Active nav item */
.navbar .nav-link.active {
  font-weight: 600;
  color: var(--brand-primary) !important;
}

/* WhatsApp Icon Styles */
.whatsapp-link {
  color: #25D366;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 3px solid #25D366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
  color: white;
  background: #25D366;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Mobile WhatsApp icon in nav */
.navbar-nav .whatsapp-link {
  margin-left: 1rem;
  width: 45px;
  height: 45px;
  font-size: 1.5rem;
  border: 2px solid #25D366;
}

/* Desktop WhatsApp icon */
.d-none.d-lg-block .whatsapp-link {
  margin-left: 1rem;
  position: relative;
  z-index: 10;
}

/* Add pulse animation for better visibility */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-link {
  animation: whatsapp-pulse 2s infinite;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border: 1px solid var(--brand-accent);
  border-left: 4px solid var(--brand-accent);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #404951;
}

.testimonial-author {
  font-weight: 600;
  color: var(--brand-dark);
}

.testimonial-role {
  color: #404951;
  font-size: 0.9rem;
}

/* Search Bar */
.search-section {
  background: var(--brand-light);
  padding: 3rem 0;
}

.search-form {
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  border-radius: 50px;
  padding: 1rem 1.5rem;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 5px 20px rgba(22, 62, 99, 0.2);
}

/* Property Details */
.property-details {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--brand-dark);
}

.detail-value {
  color: #404951;
}

/* Sticky Header Styles */
.home-header {
  background: transparent !important;
  box-shadow: none;
  border-bottom: none;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  .contact-form{
    padding: 1.25rem;
  }
  
  .property-details{
    padding: 1.25rem;
  }

  .detail-item{
    flex-wrap: wrap;
    align-items: center;
  }

  .detail-label{
    width: 40%;
  }

  .detail-value{
    width: 60%;
  }

  footer .container{
    flex-direction: column-reverse !important;
  }

  .back-to-top{
    bottom: 90px;
  }

  footer a.me-3{
    margin-right: 0.5rem !important;
  }

}

/* Add padding to body for fixed header */
body {
  padding-top: 0;
}

.home-header.scrolled {
  background: white !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-bottom: 1px solid #e9ecef;
}

.home-header .navbar-brand img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.brand-logo img {
  transition: all 0.3s ease;
}

/* Logo switching */
.home-header .logo-white {
  display: block;
}

.home-header .logo-dark {
  display: none;
}

.home-header.scrolled .logo-white {
  display: none;
}

.home-header.scrolled .logo-dark {
  display: block;
}

/* Navbar text color for transparent background */
.home-header .navbar .nav-link {
  color: white !important;
  font-weight: 500;
}

.home-header.scrolled .navbar .nav-link {
  color: var(--brand-accent);
}

.home-header .navbar .nav-link:hover {
  color: var(--brand-accent) !important;
}

.home-header.scrolled .navbar .nav-link:hover {
  color: var(--brand-dark) !important;
}

/* Override Bootstrap bg-white class for home header */
.navbar.home-header.bg-white {
  background: transparent !important;
}

.navbar.home-header.bg-white.scrolled {
  background: white !important;
}

/* Ensure white text for transparent header */
.navbar.home-header .nav-link {
  color: white !important;
}

.navbar.home-header .nav-link:hover {
  color: var(--brand-accent) !important;
}

/* Override for scrolled state */
.navbar.home-header.scrolled .nav-link {
  color: var(--brand-accent) !important;
}

.navbar.home-header.scrolled .nav-link:hover {
  color: var(--brand-dark) !important;
}

/* Active menu border for transparent header */
.home-header .navbar .nav-link.active::after {
  background: var(--brand-accent) !important;
}


