/* Babi Real Estate - Compiled CSS from modular SCSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bs-primary: #1e40af;
  --bs-secondary: #f97316;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: 'Inter', sans-serif;
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-gray-300:#dee2e6;
}

body {
  font-family: 'Inter', sans-serif;
  color: #495057;
  background-color: #f8f9fa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #f97316;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #a8793e;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: 'Roboto', sans-serif;
  color: #1e40af;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e40af;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #f97316;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-section {
    padding-bottom: 50px;
  }

  .display-3 {
    font-size: 2.5rem;
  }
}

/* Utilities */
.bg-primary {
  background-color: #1e40af !important;
}

.bg-secondary {
  background-color: #f97316 !important;
}

.text-primary {
  color: #1e40af !important;
}

.text-secondary {
  color: #f97316 !important;
}

.transition {
  transition: all 0.3s ease-in-out;
}

.object-fit-cover {
  object-fit: cover;
}

.text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Buttons */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease-in-out;
}

.btn-primary {
  background-color: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #173258;
  border-color: #173258;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background-color: #f97316;
  border-color: #f97316;
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #b88645;
  border-color: #b88645;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-outline-primary {
  color: #1e40af;
  border-color: #1e40af;
}

.btn-outline-primary:hover {
  background-color: #1e40af;
  color: #ffffff;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}

/* Top Ribbon */
.top-ribbon {
  background-color: #1e40af;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  z-index: 1040;
}

.placeholder-secondary::placeholder {
  color: #6c757d;
  opacity: 0.6;
}

/* Gallery Display Helpers */
.gallery-video-placeholder {
  height: 300px;
}

.gallery-img {
  height: 250px;
}

.opacity-75 {
  opacity: 0.75 !important;
}

/* Responsive Overrides */
.top-ribbon a {
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.3s;
  text-decoration: none;
}

.top-ribbon a:hover {
  opacity: 1;
  color: #ffffff;
}

.top-ribbon i {
  color: #f97316;
}

/* Helper Classes */
.negative-margin-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.page-header-spacing {
  margin-top: 0;
}

.navbar .navbar-brand {
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  color: #1e40af;
}
.navbar-brand {
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: -8rem;
    font-size: var(--bs-navbar-brand-font-size);
    color: var(--bs-navbar-brand-color);
    text-decoration: none;
    white-space: nowrap;
}
.navbar .navbar-brand i {
  color: #f97316;
}

.navbar .nav-link {
  font-weight: 600;
  color: #495057;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #f97316;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: #f97316;
}

/* Page Layout */

.page-header {
  background-color: #1e40af;
  color: #ffffff;
  padding: 60px 0 40px;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item a:hover {
  color: #ffffff;
}

/* Blocks */
.hero-section {
  position: relative;
  padding-top: 100px;
}

.stat-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  border-bottom: 4px solid transparent;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: #f97316;
}

.stat-box h2 {
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: #6c757d;
  font-weight: 500;
  margin: 0;
}

/* Property Cards */
.property-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.property-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.property-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.property-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.property-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.property-card .badge-status {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.property-card .badge-category {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  background-color: rgba(249, 115, 22, 0.9);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.property-card .property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 0.5rem;
}

.property-card .property-meta {
  font-size: 0.9rem;
  color: #6c757d;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: 10px 0;
  margin: 15px 0;
}

.property-card .property-meta span {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
}

.property-card .property-meta span i {
  color: #1e40af;
  margin-right: 5px;
}

/* Grid/List View Layout */
.property-card.list-view {
  flex-direction: row !important;
}

.property-card.list-view .card-img-wrapper {
  width: 40%;
  height: auto;
}

.property-card.list-view .p-4 {
  width: 60%;
}

@media (max-width: 767.98px) {
  .property-card.list-view {
    flex-direction: column !important;
  }

  .property-card.list-view .card-img-wrapper,
  .property-card.list-view .p-4 {
    width: 100%;
  }

  .property-card.list-view .card-img-wrapper {
    height: 250px;
  }
}

/* Forms */
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-color: #dee2e6;
  border-radius: 0.5rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.25);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: scale(1.1);
}

@media (max-width: 767.98px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}
.footer-text-muted {
    --bs-text-opacity: 1;
    color: var(--bs-gray-300) !important;
}
/* Footer */
.footer {
  background-color: #212529;
  color: #dee2e6;
  padding: 80px 0 30px;
}

.footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer .footer-links li a {
  color: #dee2e6;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.footer .footer-links li a:hover {
  color: #f97316;
  padding-left: 5px;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease-in-out;
}

.footer .social-links a:hover {
  background-color: #f97316;
  transform: translateY(-3px);
}