/* =====================
   STICKY NAVBAR STYLES
   ===================== */

#header .navbar.navbar-default {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.3s ease !important;
}

#header {
  position: relative;
  z-index: 9999 !important;
}

/* =====================
   LEAFLET MAP Z-INDEX FIX
   ===================== */
#map_panel,
.property-location,
.panel-box {
  position: relative;
  z-index: 1 !important;
  isolation: isolate;
}

#map {
  position: relative;
  z-index: 1 !important;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-tile-pane,
.leaflet-map-pane,
.leaflet-popup-pane,
.leaflet-tooltip-pane {
  z-index: 1 !important;
}

.leaflet-top,
.leaflet-bottom,
.leaflet-left,
.leaflet-right {
  z-index: 800 !important;
}

.leaflet-control,
.leaflet-control-zoom,
.leaflet-control-attribution {
  z-index: 800 !important;
}

.leaflet-container {
  z-index: 1 !important;
}

body.header-1 {
  padding-top: 70px !important;
}

body.header-1 #page-builder {
  margin-top: -70px !important;
  padding-top: 0 !important;
}

body.header-1 .page-section > .container > .row > .col-md-4:first-child + .col-md-8,
body.header-1 .page-section > .container > .row > .col-md-4:first-child {
  margin-top: 0 !important;
}

body.header-1 .page-section:not(#page-builder):not(#featured-property):not(#howto-rent):not(#best-offer) {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}

@media (max-width: 990px) {
  body.header-1 {
    padding-top: 70px !important;
  }
  
  body.header-1 #page-builder {
    margin-top: -70px !important;
  }
}

/* ===================
   NAVBAR HOVER STYLES
   =================== */

.navbar-default .navbar-nav > li > a {
  transition: all 0.3s ease !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #447fc1 !important;
  background-color: transparent !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #447fc1 !important;
  background-color: transparent !important;
}

/* ===========================
   OPEN IN GOOGLE MAPS BUTTON
   =========================== */

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-open-maps {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #3b82f6;
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.btn-open-maps:hover {
  background: #2563eb;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
  color: white !important;
  text-decoration: none !important;
}

a.btn-open-maps,
a.btn-open-maps:link,
a.btn-open-maps:visited,
a.btn-open-maps:hover,
a.btn-open-maps:active,
a.btn-open-maps:focus,
.panel-footer-maps a.btn-open-maps:hover,
.panel-footer-maps a.btn-open-maps:link,
.panel-footer-maps a.btn-open-maps:visited {
  color: white !important;
  text-decoration: none !important;
}

.btn-open-maps:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.btn-open-maps svg {
  flex-shrink: 0;
  stroke: white;
}

.btn-open-maps:hover,
.btn-open-maps:hover svg,
.btn-open-maps:focus,
.btn-open-maps:active {
  color: white !important;
  stroke: white !important;
}

.btn-open-maps span,
.btn-open-maps:hover span,
.btn-open-maps:focus span,
.btn-open-maps:active span,
.btn-open-maps:visited span {
  color: #fff !important;
}

.panel-footer-maps {
  padding: 15px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.panel-footer-maps .btn-open-maps {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.btn-openstreetmap {
  background: #293848 !important;
  box-shadow: 0 2px 4px rgba(44, 62, 80, 0.3) !important;
}

.btn-openstreetmap:hover {
  background: #405166 !important;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.4) !important;
}

.btn-openstreetmap:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(38, 53, 68, 0.3) !important;
}

a.btn-openstreetmap,
a.btn-openstreetmap:link,
a.btn-openstreetmap:visited,
a.btn-openstreetmap:hover,
a.btn-openstreetmap:active,
a.btn-openstreetmap:focus {
  color: white !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-open-maps {
    width: 100%;
    justify-content: center;
  }

  .panel-footer-maps {
    flex-direction: column;
  }

  .panel-footer-maps .btn-open-maps {
    min-width: 100%;
    max-width: 100%;
  }
}

.navbar-default .navbar-nav > li > a {
  transition: all 0.3s ease !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #447FC1 !important;
  background-color: transparent !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #447FC1 !important;
  background-color: transparent !important;
}

#header #navbar .navbar-nav > li a:hover,
#header #navbar .navbar-nav > li.active > a {
  background-color: transparent;
  color: #447FC1 !important;
}

#header #navbar .navbar-nav > li > a:hover {
  background-color: transparent;
  color: #447FC1 !important;
}

#header .navbar-nav > li > a:hover,
#header .navbar-nav > li > a:focus {
  color: #447FC1 !important;
}

/* ========================
   EMAIL LINKS HOVER STYLES
   ======================== */

a[href^="mailto:aset@pelni.co.id"]:hover,
a[href^="mailto:komersialpenumpang@pelni.co.id"]:hover {
  color: #447fc1 !important;
  text-decoration: none !important;
}

a[href^="mailto:"]:hover {
  color: #447fc1 !important;
}

/* ===========================
   DETAIL PAGE HOVER OVERRIDES
   =========================== */

.post.property-item a:hover,
.property-item a:hover,
.post a:hover,
#content a:hover,
.post .property-title:hover,
.property-title:hover {
  color: #447fc1 !important;
  text-decoration: none !important;
}

.post.property-item .property-title:hover,
.post.property-item a:hover,
.property-item .property-title:hover {
  color: #447fc1 !important;
}

.search-tabmenu .nav-tabs > li:hover > a {
  background-color: #447fc1 !important;
  border-color: #447fc1 !important;
}

/* ===================
   GENERAL STYLES
   =================== */
.panel-title {
  color: #34438a !important;
}

.panel {
  margin-bottom: 23px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

#header .topbar {
  background-color: #447fc1 !important;
}

.property-item {
  position: relative;
}

.page-section .section-header:before,
#landing-page #homepage-featured .section-header:before,
#landing-page #demo-pages .section-header:before,
#landing-page #footer .purchase-now .section-header:before {
  background-color: #34438a !important;
}

/* ==========
   PAGINATION
   ========== */

.pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 15px 0 !important;
  margin: 30px 0 !important;
  background-color: #fff !important;
  font-family: "Poppins", sans-serif !important;
}

.pagination span a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #333 !important;
  text-decoration: none !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
  user-select: none !important;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination span a:hover {
  background-color: #f8f9fa !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  border-color: #ddd !important;
}

.pagination .current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  background-color: #34438a !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  border: 1px solid #34438a !important;
  box-shadow: 0 2px 6px rgba(52, 67, 138, 0.4) !important;
  cursor: default !important;
}

.pagination .first a,
.pagination .last a,
.pagination .prev a,
.pagination .next a {
  min-width: 100px !important;
}

.pagination .disabled {
  opacity: 0.5 !important;
  background-color: #f8f9fa !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.pagination span a:active {
  transform: translateY(0px) scale(0.95) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.pagination span a:focus {
  outline: 2px solid #ff1818 !important;
  outline-offset: 2px !important;
}

.pagination span a:focus:not(:focus-visible) {
  outline: none !important;
}

pagination > a:focus:not(:focus-visible) {
  outline: none !important;
}

@media (max-width: 767px) {
  .pagination {
    gap: 5px !important;
  }

  .pagination span a,
  .pagination .current {
    min-width: 36px !important;
    height: 36px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }

  .pagination .first a,
  .pagination .last a,
  .pagination .prev a,
  .pagination .next a {
    min-width: auto !important;
  }
}

/* ============
   PAGE SIDEBAR
   ============ */

#sidebar .btn,
#sidebar .btn-hubungi-kami,
#sidebar .btn-whatsapp,
#sidebar .btn-search,
.widget .btn-hubungi-kami,
.widget .btn-whatsapp,
.widget .btn-search {
  flex: 1;
  padding: 10px 16px !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  width: 100% !important;
  margin-bottom: 10px !important;
  text-transform: none !important;
}

#sidebar .btn-hubungi-kami,
.widget .btn-hubungi-kami,
#sidebar .btn-search,
.widget .btn-search {
  background: #34438a !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(52, 67, 138, 0.2) !important;
}

#sidebar .btn-hubungi-kami:hover,
#sidebar .btn-hubungi-kami:focus,
.widget .btn-hubungi-kami:hover,
.widget .btn-hubungi-kami:focus,
#sidebar .btn-search:hover,
#sidebar .btn-search:focus,
.widget .btn-search:hover,
.widget .btn-search:focus {
  background: #485bb8 !important;
  box-shadow: 0 6px 16px rgba(52, 67, 138, 0.3) !important;
}

#sidebar .btn-whatsapp,
.widget .btn-whatsapp {
  background: #25d366 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2) !important;
}

#sidebar .btn-whatsapp:hover,
#sidebar .btn-whatsapp:focus,
.widget .btn-whatsapp:hover,
.widget .btn-whatsapp:focus {
  background: #1fbb5a !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3) !important;
}

#sidebar .btn i,
#sidebar .btn-hubungi-kami i,
#sidebar .btn-whatsapp i,
.widget .btn-hubungi-kami i,
.widget .btn-whatsapp i {
  margin: 0 !important;
  color: inherit !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .btn-hubungi-kami,
  .btn-whatsapp {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
}

/* ===========
   PAGE DETAIL
   =========== */
.detail-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.detail-btn-primary {
  background: #34438a;
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.detail-btn-primary:hover {
  background: #485bb8;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.btn-submit-hubungi-kami {
  background: #34438a !important;
  color: white !important;
  display: inline-flex !important;
  box-shadow: 0 4px 12px rgba(52, 67, 138, 0.2) !important;
}

.property-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-available {
  background: #10b981;
  color: white;
}

.status-rented {
  background: #ef4444;
  color: white;
}

.property-type {
  display: inline-flex;
  align-items: center;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  height: 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.property-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 5px;
}

.property-badges::-webkit-scrollbar {
  height: 4px;
}

.property-badges::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 4px;
}

.post-property-header {
  margin-bottom: 20px;
}

.post-title {
  margin-bottom: 10px;
}

.property-address {
  color: #6b7280;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .property-badges {
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .property-status-badge,
  .property-type {
    flex-shrink: 0;
    font-size: 10px;
    padding: 4px 12px;
    height: 28px;
  }
}

/* ===========
   PAGE SEARCH
   =========== */

.alert-info {
  border-color: #447fc1 !important;
  background-color: #447fc1 !important;
}

.view-toggle {
  display: flex;
  gap: 8px;
  background: white;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.view-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #34438a;
  transition: all 0.3s ease;
}

.view-btn svg {
  width: 18px;
  height: 18px;
}

.view-btn:hover {
  background: #f3f4f6;
  color: #485bb8;
}

.view-btn.active {
  background: #34438a;
  color: white;
}

.search-property-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.search-image-container {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.search-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.search-badge-container {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.search-status-badge {
  background: #10b981;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-status-badge.status-rented {
  background: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}



.search-card-content {
  padding: 20px;
}

.search-property-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 50px;
}

.search-property-title:hover {
  color: #447fc1 !important;
}

.search-property-type {
  display: inline-block;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 15px;
}

.search-location-icon {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.search-location-icon svg {
  width: 16px;
  height: 16px;
}

.search-location-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.search-button-group {
  display: flex;
  gap: 10px;
}

.search-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.search-button-group .search-btn-primary:hover {
  color: #ffffff !important;
}

.search-btn-primary {
  background: #34438a;
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.search-btn-primary:hover {
  background: #485bb8;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.search-btn-secondary {
  background: white;
  color: #34438a;
  border: 1.5px solid #e5e7eb;
}

.search-btn-secondary:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #34438a;
}

.search-btn-primary,
.search-btn-secondary,
.detail-btn-primary,
#best-offer .content-btn-primary,
#best-offer .content-btn-secondary {
  text-decoration: none !important;
}

.search-btn-primary a:hover,
.search-btn-secondary a:hover,
a.search-btn-primary:hover,
a.search-btn-secondary:hover,
.detail-btn-primary:hover,
#best-offer .content-btn-primary:hover,
#best-offer .content-btn-secondary:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

.search-button-group .search-btn-primary:hover,
.search-button-group .search-btn-secondary:hover,
.content-button-group .content-btn-primary:hover,
.content-button-group .content-btn-secondary:hover,
.detail-btn-primary:hover {
  color: #ffffff !important;
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

/* ===================
   MAPS BUTTON STYLES
   =================== */

.search-btn-maps,
.maps-btn {
  background: white;
  color: #34438a;
  border: 1.5px solid #e5e7eb;
  transition: all 0.3s ease;
}

a.search-btn-maps:hover,
a.maps-btn:hover {
  color: #34438a !important;
  text-decoration: none !important;
}

.list-view .search-property-card {
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  height: auto;
}

.list-view .search-image-container {
  width: 280px;
  min-height: 210px;
  max-height: 210px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.list-view .search-property-image {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.list-view .search-property-card:hover .search-property-image {
  transform: scale(1.1);
}

.list-view .search-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.list-view .search-property-title {
  font-size: 20px;
  height: auto;
  margin-bottom: 12px;
  -webkit-line-clamp: 1;
}

.list-view .search-property-type {
  max-width: fit-content;
}

.list-view .search-location-text {
  height: auto;
  -webkit-line-clamp: 1;
}

.list-view .search-button-group {
  margin-top: auto;
  max-width: 100%;
}

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

  .list-view .search-image-container {
    width: 100%;
    height: 210px;
  }

  .search-property-title {
    font-size: 16px;
    height: 44px;
  }

  .search-location-text {
    font-size: 12px;
  }

  .search-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .view-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* ============
   PAGE CONTENT 
   ============ */

#featured-property .content-btn {
  flex: 1;
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

#featured-property .content-btn-primary {
  background: #34438a !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2) !important;
}

#featured-property .content-btn-primary:hover {
  background: #485bb8 !important;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3) !important;
  color: white !important;
}

#best-offer .content-property-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

#best-offer .content-property-card:hover {
  /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); */
}

#best-offer .content-image-container {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

#best-offer .content-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#best-offer .content-property-card:hover .content-property-image {
  transform: scale(1.05);
}

#best-offer .content-badge-container {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#best-offer .content-status-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#best-offer .content-status-badge.status-rented {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#best-offer .content-card-content {
  padding: 20px;
}

#best-offer .content-property-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 50px;
  text-decoration: none;
}

#best-offer .content-property-title:hover {
  color: #447fc1 !important;
}

#best-offer .content-property-type {
  display: inline-block;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#best-offer .content-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 15px;
}

#best-offer .content-location-icon {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

#best-offer .content-location-icon svg {
  width: 16px;
  height: 16px;
}

#best-offer .content-location-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

#best-offer .content-button-group {
  display: flex;
  gap: 10px;
}

#best-offer .content-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

#best-offer .content-btn-primary {
  background: #34438a !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2) !important;
}

#best-offer .content-btn-primary:hover {
  background: #485bb8 !important;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3) !important;
  color: white !important;
}

#best-offer .content-btn-secondary {
  background: white;
  color: #34438a;
  border: 1.5px solid #e5e7eb;
}

#best-offer .content-btn-secondary:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #34438a;
  text-decoration: none;
}

#best-offer .content-btn svg {
  width: 16px;
  height: 16px;
}

#best-offer .property-item .property-heading,
#best-offer .property-item .img-box,
#best-offer .property-item .property-content {
  display: none;
}



@media (max-width: 768px) {
  #best-offer .content-property-title {
    font-size: 16px;
    height: 44px;
  }

  #best-offer .content-location-text {
    font-size: 12px;
  }

  #best-offer .content-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}



/* ===================
   FOOTER HOVER STYLES
   =================== */

#footer a:hover,
#footer a:hover .icon-foo,
#footer a:hover i,
.foot-iconrow a:hover,
.foot-iconrow a:hover .icon-foo,
.foot-iconrow a:hover i {
  color: #447fc1 !important;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

#footer a .icon-foo,
#footer a i {
  transition: all 0.3s ease;
}

/* ===========================
   FOOTER NEW MODERN DESIGN
   =========================== */

#footer {
  background: #293848;
  color: white;
  padding: 50px 0 0;
  margin-top: 50px;
}

.footer-body {
  margin: 0;
  padding-bottom: 50px;
  column-gap: 40px;
}

.footer-brand-col {
  margin-bottom: 30px;
  padding-right: 40px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
}

.footer-brand {
  padding-right: 0;
}

.footer-logo-box {
  margin-bottom: 15px;
}

.footer-logo-box .footer-logo-img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0px;
  padding-left: 0px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.footer-social-section {
  margin-top: 20px;
}

.footer-social-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 18px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-family: 'Poppins', 'Work Sans', sans-serif;
}

.footer-social-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #447fc1, #5bc0de);
  border-radius: 2px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-icons .social-icon i {
  font-size: 16px;
  color: #ffffff;
}

.footer-social-icons .social-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.footer-info-col {
  margin-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: 0;
  margin-right: 0;
}

.footer-info-col:last-child {
  padding-left: 40px;
  padding-right: 0;
}

.footer-col-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding-bottom: 12px;
  display: inline-block;
  position: relative;
  font-family: 'Poppins', 'Work Sans', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #447fc1, #5bc0de);
  border-radius: 3px;
}

.footer-address-content {
  color: rgba(255, 255, 255, 0.88);
}

.footer-address-item {
  margin-bottom: 15px;
}

.address-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.address-icon {
  font-size: 18px;
  color: #447fc1;
  margin-top: 3px;
  flex-shrink: 0;
}

.address-content {
  flex: 1;
}

.address-label {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.footer-map {
  margin-top: 15px;
}

.footer-map iframe {
  width: 100%;
  border-radius: 8px;
  border: 0;
}

.footer-contact-content {
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 18px;
  color: #447fc1;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-content {
  flex: 1;
}

.contact-label {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.copyright {
  background: #1f2b38;
  padding: 18px 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-align: center;
  margin: 0;
}

@media (max-width: 991px) {
  .footer-brand-col {
    margin-bottom: 40px;
    text-align: center;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-logo-box {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-tagline {
    text-align: center;
  }

  .footer-social-section {
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-info-col {
    margin-bottom: 35px;
  }
}

@media (max-width: 768px) {
  #footer {
    padding: 40px 0 0;
  }

  .footer-body {
    padding-bottom: 40px;
  }

  .footer-logo-box {
    padding: 15px;
  }

  .footer-logo-box .footer-logo-img {
    max-width: 150px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .footer-social-title {
    font-size: 11px;
  }

  .footer-social-icons .social-icon {
    width: 34px;
    height: 34px;
  }

  .footer-social-icons .social-icon i {
    font-size: 15px;
  }

  .footer-col-title {
    font-size: 13px;
  }

  .address-label,
  .contact-label {
    font-size: 11px;
  }

  .address-text {
    font-size: 12px;
  }

  .contact-value {
    font-size: 13px;
  }

  .footer-map iframe {
    height: 120px;
  }

  .copyright {
    padding: 15px 0;
  }

  .copyright p {
    font-size: 12px;
  }
}

/* ===========================
   WHATSAPP CHAT WIDGET STYLES
   =========================== */

.whatsapp-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #1fbb5a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: pulse-whatsapp 2s infinite;
  z-index: 9999;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #1fbb5a 0%, #128c42 100%);
}

.whatsapp-float:active,
.whatsapp-float:focus {
  transform: scale(0.95);
  outline: none;
}

.whatsapp-float.active {
  animation: none;
  transform: scale(1) !important;
}

.whatsapp-float.active i {
  position: relative !important;
  top: 0 !important;
  transform: none !important;
}

.whatsapp-float i {
  color: white;
  line-height: 60px;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  position: static !important;
  top: auto !important;
  bottom: auto !important;
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff3b30;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid white;
  animation: bounce 1s infinite;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 10px rgba(37, 211, 102, 0.1), 0 0 0 20px rgba(37, 211, 102, 0.05);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.wa-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

.wa-chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-header {
  background: #075e54;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 4px;
}

.wa-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #25d366;
  border: 2px solid #075e54;
  border-radius: 50%;
}

.wa-info {
  flex: 1;
}

.wa-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
  line-height: 1.2;
}

.wa-status-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.2;
  margin-top: 1px;
}

.wa-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.wa-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wa-body {
  padding: 16px;
  min-height: 350px;
  max-height: 450px;
  overflow-y: auto;
  background: #e5ddd5;
  background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
  background-size: cover;
  background-position: center;
}

.wa-body::-webkit-scrollbar {
  width: 6px;
}

.wa-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.wa-date-separator {
  text-align: center;
  margin: 10px 0 20px 0;
}

.wa-date-separator span {
  background: rgba(225, 245, 254, 0.92);
  color: #54656f;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  display: inline-block;
}

.wa-bubble {
  padding: 10px 16px;
  margin-bottom: 8px;
  border-radius: 18px;
  max-width: 75%;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.wa-bubble.in {
  background: #ffffff;
  color: #000;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-right: auto;
}

.wa-bubble.out {
  background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
}

.wa-typing-indicator {
  padding: 10px 14px;
  min-width: auto;
  width: fit-content;
  max-width: 60px;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
}

.typing-dots .dot {
  width: 8px;
  height: 8px;
  background-color: #9e9e9e;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

.typing-dots .dot:nth-child(3) {
  animation-delay: 0s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

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

.wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
}

.wa-meta .time {
  font-size: 11px;
  color: #8e8e93;
}

.wa-bubble.out .wa-meta .time {
  color: rgba(255, 255, 255, 0.8);
}

.wa-check {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.wa-footer {
  padding: 10px;
  background: #f0f2f5;
  border-top: 1px solid #e9edef;
}

.wa-footer form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wa-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 24px;
  background: white;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wa-input::placeholder {
  color: #8696a0;
}

.wa-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #075e54;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.wa-send-btn:hover {
  background: #054d44;
  transform: scale(1.05);
}

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

@media (max-width: 768px) {
  .whatsapp-chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .whatsapp-float i {
    line-height: 56px;
  }

  .wa-chat-box {
    width: calc(100vw - 40px);
    bottom: 75px;
  }

  .wa-body {
    max-height: 280px;
  }
}

@media (max-width: 480px) {
  .whatsapp-chat-widget {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .whatsapp-float i {
    line-height: 50px;
  }

  .wa-chat-box {
    width: calc(100vw - 30px);
    bottom: 70px;
  }

  .wa-header {
    padding: 14px 16px;
  }

  .wa-avatar {
    width: 42px;
    height: 42px;
  }

  .wa-name {
    font-size: 15px;
  }

  .wa-status-text {
    font-size: 12px;
  }

  .wa-body {
    padding: 16px;
    max-height: 240px;
    min-height: 200px;
  }

  .wa-bubble {
    max-width: 85%;
    font-size: 13px;
  }
}

/* ===========================
   GALLERY PORTFOLIO FIX
   =========================== */

#howto-rent .col-md-4,
#howto-rent .col-sm-6 {
  margin-bottom: 30px !important;
}

#best-offer .col-md-4,
#best-offer .col-sm-6 {
  margin-bottom: 30px !important;
}

#howto-rent .form-group,
#best-offer .form-group {
  margin-bottom: 30px !important;
}

#howto-rent .property-item,
#best-offer .property-item,
#best-offer .content-property-card {
  margin-bottom: 0 !important;
}

#page-builder {
  padding: 0 !important;
  margin-top: 0 !important;
}

#landing-page,
.video-section,
.hero-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.video-container,
.hero-video {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
