/* =============================
   General Body Styles
============================= */
body {
  background-color: #f8f9fa;
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}
/* =============================
   Swiper Navigation Arrows
============================= */
.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s, color 0.2s;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

/* Hide arrows if disabled */
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  display: none !important;
}

/* Arrow icons size */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

/* Hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #f1f1f1;
  color: #000;
}

/* Inside slide positioning */
.swiper-slide {
  position: relative;
}

.swiper-slide .swiper-button-prev {
  position: absolute;
  left: 10px;
  z-index: 10;
}

.swiper-slide .swiper-button-next {
  position: absolute;
  right: 10px;
  z-index: 10;
}

/* Mobile Arrow Adjustments */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
  }
}


.breadcrumb-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb {
  white-space: nowrap;
  flex-wrap: nowrap;
  display: flex;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

/* Limit long breadcrumb text */
.breadcrumb-item a {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  display: inline-block;
}

/* Optional: on very small screens, hide middle crumbs */
@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.85rem;
  }

  .breadcrumb-item:not(:first-child):not(:last-child) {
    display: none;
  }

  .breadcrumb-item:first-child::after {
    content: '…';
    margin: 0 0.5rem;
    color: #6c757d;
  }
}

@media (max-width: 576px) {
  .breadcrumb-item a {
    display: inline-block;
    max-width: 80px; /* adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
}


/* =============================
   Hero Section
============================= */
.hero-section {
  background: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994') no-repeat center center;
  background-size: cover;
  padding: 100px 0;
  color: white;
  text-align: center;
  /* Optional fallback if media query fails */
  min-height: 250px;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* ✅ Desktop only min-height */
@media screen and (min-width: 992px) {
  .home-hero-section {
    min-height: 550px;
  }

  .home-hero-section h1 {
    padding-top: 150px;
  }
}

@media screen and (max-width: 575.98px) {
  .home-hero-section {
    min-height: 350px;
  }

  .home-hero-section h1 {
    padding-top: 50px;
  }
}


/* Wrapper to keep all items in a row and scroll if needed on small screens */
@media (max-width: 576px) {
  .benefit-card {
    padding: 0.75rem !important;
  }

  .benefit-card img {
    width: 28px !important;
    margin-bottom: 6px;
  }

  .benefit-card h6 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .benefit-card p {
    font-size: 0.7rem;
  }

  .row.benefits-row {
    display: flex;
    flex-wrap: nowrap;
  }

  .benefits-row > .col-6 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}



/* =============================
   Search Bar
============================= */
.search-bar {
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  margin-top: -40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1060;
}

/* =============================
   Filter Panel
============================= */
#filterPanel {
  z-index: 1050;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#filterPanel.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =============================
   Tab Buttons
============================= */
.tab-button {
  border: none;
  background: none;
  font-weight: 600;
  font-size: 15px;
  color: #444;
  padding: 6px 12px;
  position: relative;
  transition: color 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  color: #0d6efd;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #0d6efd;
}

/* =============================
   Input Group
============================= */
.input-group .form-control {
  border-radius: 999px 0 0 999px;
}


/* =============================
   Swiper Slider General Styles
============================= */
.swiper {
  width: 100%;
}

.swiper-slide {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.swiper-slide:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.swiper-slide .card img {
  aspect-ratio: 1.4;
  object-fit: cover;
}

/* =============================
   Category Swiper
============================= */
.categorySwiper .swiper-slide {
  height: 240px;
}

.categorySwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categorySwiper .swiper-slide h6,
.categorySwiper .swiper-slide small {
  color: white;
}

/* =============================
   Hero Swiper
============================= */
.heroSwiper .swiper-slide {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
}

/* =============================
   Property Card
============================= */
.property-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 15px;
}

.bhk-icons {
  font-size: 0.9rem;
  color: #666;
}

/* =============================
   Filter Tabs
============================= */
.filter-tabs > div {
  cursor: pointer;
}

/* =============================
   Modal Overrides
============================= */
.modal {
  z-index: 2000;
}

/* =============================
   Utility Classes
============================= */
.bg-light-purple {
  background: #ede7f6;
  border-left: 4px solid #8e24aa;
  border-radius: 0 0 1rem 1rem;
}

#cityModal .btn-outline-primary.active {
  background-color: #f8f9fa;
  border-color: #0d6efd;
}

/* =============================
   Responsive Fixes
============================= */
@media (max-width: 991.98px) {
  .sticky-top {
    position: static !important;
  }
}



 .floor-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    background-color: #fff;
 }
 .floor-badge {
     background-color: #f8f9fa;
     font-size: 0.75rem;
     padding: 2px 8px;
     border-radius: 4px;
     font-weight: 500;
     color: #333;
 }
 .floor-price {
     color: #333;
     font-weight: 600;
     font-size: 0.9rem;
 }
 .floor-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0.75rem 1rem 0 1rem;
 }
 .floor-img {
     width: 100%;
     height: auto;
     display: block;
     padding: 1rem;
     object-fit: contain;
 }

.accordion-button:not(.collapsed) {
  background-color: rgba(0, 123, 255, 0.05) !important; /* Light transparent blue */
  box-shadow: none !important;
  border: none !important;
}

.accordion-button {
  transition: background-color 0.3s ease;
}


.accordion-item {
  border: none;
  border-bottom: 1px solid #dee2e6; /* Light separator */
}

.accordion-button:not(.collapsed),
.accordion-collapse.show .accordion-body {
  background-color: rgba(0, 123, 255, 0.05) !important; /* Light transparent blue */
}

.accordion-button {
  border: none !important;
  transition: background-color 0.3s ease;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
}

