.image-gradient-fill {
  box-shadow: inset 0px 500px 0px rgba(4, 39, 42, 0.15);
}

/* ====> Project Cards START <==== */
.project-card {
  border: 1px solid #adb5bd !important;
  border-radius: 15px !important;
}

.bg-featured {
  background: linear-gradient(320deg, #194850 8%, #3cc3d7 100%);
}

.horse-icon {
  top: 58%;
  transform: translateY(-50%);
  right: 10px;
  z-index: -1;
}

.max-w-293 {
  max-width: 293px;
  padding: 0px;
  min-height: 428px;
}
.gap-27 {
  gap: 27px;
  justify-content: start;
  padding: 0px 12px;
}

@media (max-width: 575px) {
  .gap-27 {
    gap: 20px;
  }
}

.project-content {
  padding: 7px 14px 12px 17px !important;
  z-index: 10;
  flex: 1;
}

@media (max-width: 575px) {
  .gap-27 {
    gap: 20px;
  }
  .project-content {
    padding: 7px 14px 0px 17px !important;
  }
}

.project-card.bg-primary {
  background: linear-gradient(135deg, #04272a 0%, #3592a0 100%);
}

.project-card.bg-white {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.project-availability-badge {
  font-size: 15px !important;
  font-family: "Futura-Demi";
  background: rgba(255, 255, 255, 0.5) !important;
  padding: 2px 12px !important;
  border-radius: 20px;
  z-index: 10;
  font-weight: 500;
  top: 12px;
  left: 12px;
  transition: all 0.3s ease;
}

.project-card:hover .project-availability-badge {
  background: #ffffff !important;
}

.project-image {
  overflow: hidden;
  height: 180px;
}

.project-image img {
  transition: transform 0.3s ease;
  height: 180px !important;
}

/* Project Carousel Styles */
.owl-carousel-project-images {
  height: 180px;
}

.owl-carousel-project-images .item {
  height: 180px;
}

.owl-carousel-project-images .owl-nav {
  display: none;
}

.owl-carousel-project-images .owl-dots {
  position: absolute !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 15 !important;
  text-align: center !important;
}

.owl-carousel-project-images .owl-dots .owl-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.5) !important;
  margin: 0 3px !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  padding: 0 !important;
}

.owl-carousel-project-images .owl-dots .owl-dot span {
  display: none !important;
}

.owl-carousel-project-images .owl-dots .owl-dot:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.2) !important;
}

.owl-carousel-project-images .owl-dots .owl-dot.active {
  background: #194850 !important;
}

/* Custom Carousel Navigation */
.carousel-nav {
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.project-card:hover .carousel-nav {
  opacity: 1;
}

.carousel-nav .btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-nav .btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Mobile Carousel Navigation */
.mobile-carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  z-index: 20;
  pointer-events: none;
}

@media (max-width: 575px) {
  .mobile-carousel-nav {
    display: flex !important;
  }
}

.mobile-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.mobile-nav-btn:active {
  transform: scale(0.95);
}

.mobile-nav-btn svg {
  width: 9px;
  height: 16px;
  fill: none;
  stroke: black;
  stroke-width: 2;
}

/* Hide mobile navigation on desktop */
/* @media (min-width: 768px) {
  .mobile-carousel-nav {
    display: none !important;
  }
} */

.mobile-carousel-nav {
  display: none;
  transition: all 0.3s ease;
}

.project-card:hover .mobile-carousel-nav {
  display: flex;
}

.project-title {
  font-size: 20px !important;
  margin-bottom: 15px;
  font-family: "Futura-Demi";
}

.project-price {
  font-size: 15px !important;
  font-family: "Futura-Demi";
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  line-height: 22px;
}

.project-distance-info {
  background: #ececec !important;
  padding: 3px 10px;
  border-radius: 5px;
  width: fit-content !important;
}

.distance-line {
  width: 1px;
  height: 10px;
  background: #000000;
  margin: 0 5px;
}

.project-distance-info span {
  font-size: 11px !important;
  font-family: "Futura-Medium" !important;
}

.project-property-details {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #9d9d9d !important;
  font-family: "Futura-Book" !important;
}

.property-details-line {
  height: 1px;
  width: 100%;
  background: #d9d9d9;
  margin: 5px 0;
}

.project-view-options a {
  font-size: 16px;
  font-family: "Futura-Book";
  text-decoration: none !important;
  color: #3399a9 !important;
}

.project-delivery-date {
  font-size: 15px;
  color: #9d9d9d;
  font-family: "Futura-Demi";
  font-weight: 500 !important;
}

.project-card .btn {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.view-project-btn {
  padding: 4px 9px !important;
  font-size: 12px !important;
  background-color: #45b1c1 !important;
  color: white !important;
  font-family: "Futura PT Web";
  white-space: nowrap;
  border-radius: 5px;
  line-height: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 575px) {
  .view-project-btn {
    padding: 8px 9px !important;
    font-size: 15px !important;
  }
}

.breadcrumb-navigation {
  margin: 26px auto 26px;
  padding: 0 12px;
}

@media (max-width: 575px) {
  .breadcrumb-navigation {
    margin: 10px auto 10px !important;
  }
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.breadcrumb-text {
  font-size: 20px;
  line-height: 35px;
  font-weight: 500;
  font-family: "Futura-Demi";
  color: #9d9d9d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.breadcrumb-item a.breadcrumb-text:hover {
  color: #3693a1 !important;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  margin: 0 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-card {
    margin-bottom: 20px;
  }

  .project-title {
    font-size: 16px;
  }

  .project-price {
    font-size: 15px;
  }

  .project-property-details {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  /* .project-distance-info {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  } */

  /* .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  } */
}

.project-card-favorite-btn {
  width: 26px !important;
  height: 26px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 10 !important;
  background: transparent !important;
  color: white !important;
}

@media (min-width: 768px) {
  .project-card-favorite-btn {
    display: none !important;
  }
}

.housing-options-btn {
  background: none;
  border: none;
  color: #3399a9;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  text-decoration: underline;
}

.housing-options-btn:hover {
  color: #44b1c1;
  text-decoration: none;
}
/* ====> Project Cards END <==== */

/* ====> Housing Options Modal START <==== */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  align-items: center;
  justify-content: center;
}

.custom-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.custom-modal-dialog {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  z-index: 1000000;
}

.custom-modal-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.custom-modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 1.5rem 1rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal-title {
  font-family: "Futura-Demi";
  font-size: 1.25rem;
  color: #000;
  margin: 0;
}

.custom-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #dc3545;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.custom-modal-close:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #c82333;
}

.custom-modal-body {
  padding: 0;
  max-height: 430px;
  overflow-y: auto;
}

.housing-options-list {
  padding: 10px 20px;
}

.housing-option-item {
  border-bottom: 1px solid #e9ecef;
  padding: 0;
}

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

.housing-option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.housing-option-main {
  flex: 1;
}

.housing-option-price {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-family: "Futura-Demi";
}

.housing-option-details {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.4;
  font-family: "Futura-Demi";
}

.housing-option-quantity {
  font-size: 0.9rem;
  color: #000;
  font-weight: 500;
  margin-left: 1rem;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .custom-modal-dialog {
    width: 95%;
    margin: 1rem;
  }

  .custom-modal-body {
    max-height: 300px;
  }

  .housing-option-content {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .housing-option-quantity {
    margin-left: 0;
  }
}

/* Custom scrollbar for modal */
.custom-modal-body::-webkit-scrollbar {
  width: 6px;
}

.custom-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.custom-modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.custom-modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Animation for modal */
.custom-modal {
  animation: fadeIn 0.3s ease-out;
}

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

.custom-modal-content {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ====> Housing Options Modal END <==== */

.project-card-main {
  padding: 30px 0px;
}

@media (max-width: 575px) {
  .project-card-main {
    padding: 16px 0px;
  }
}
