/* Existing styles provided by the user */
.top-bar {
  background-color:  #9879a9 ;
  padding: 8px 0;
  font-size: 14px;
  color: #fff;
  padding-left: 100px;
  height: 37px;
  display: flex;
  align-items: flex-start; /* Align items at the top */
}

.top-bar-text {
  font-size: 18px; /* Adjust the text size */
  color: #fff;
  padding-top: 8px; /* Add space from the top */
  align-items: center;
}



.contact-info {
  display: flex;
  align-items: center; /* Vertically center the contact info */
  margin-left: 820px; /* Pushes this span to the far right */
  padding-top: 8px;
    margin-top: -13px;

}

.contact-info i {
  margin-right: 2px; /* Adds spacing between the icon and phone number */
}

.btn {
  padding: 6px 8px !important;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-left: 20px; /* Space between button and contact info */
}

.btn-orange {
  /*background-color: #ff7f32; */
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.navbar-brand img {
  max-width: 100%;  /* Ensure logo is responsive */
  height: auto;  /* Maintain the aspect ratio */
  width: 178px;  /* Set a specific width (adjust as needed) */
  transition: transform 0.3s ease;  /* Optional: smooth transition for hover effect */
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 10px 15px;
  color: #333;
  font-size: 17px;
}

.navbar-nav .nav-link:hover {
  color: #6a4ea2;
}

.btn-login {
  background-color:#f3f1f9;
  color: #6b4c9a;
  font-weight: 600;
  padding: 8px 25px !important;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-left: 70px;
  margin-top: 5px;
}

.btn-login:hover {
  background-color: #0056b3;  /* Darker blue on hover */
  color: white;
}



/* NEW STYLES FOR PROPERTY DETAIL SECTION */
.back-link {
  color: #6a4ea2; /* A shade of purple, common for links */
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.property-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.property-location {
  font-size: 16px;
  color: #6c757d; /* Gray color */
  margin-bottom: 0.5rem;
}

.property-meta {
  font-size: 15px;
  color: #555;
}

.star-color {
  color: #ffc107; /* Yellow for star rating */
}

.reviews {
  color: #999;
  font-size: 14px;
}

.rating,
.availability {
  /*border-right: 1px solid #ccc;*/
  padding-right: 15px;
  margin-right: 15px;
}

.availability {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
  color: #333;
  font-weight: 500;
}

/* Price and Actions */
.price-tag {
  color: #333;
  font-size: 18px;
  white-space: nowrap; 
}




.btn-schedule {
  /* Custom styles for Schedule button */
  background-color: #7b4397;
  color: white;
  padding: 14px 20px !important;
  font-size: 16px;
  border-radius: 15px;
}

.btn-call-now {
  background-color: #28a745; 
  border-color: #28a745;
  padding: 12px 20px !important;
  font-size: 16px;
  border-radius: 12px;
}

.btn-email {
  background-color: #4269d0;
  border-color: #4269d0;
  padding: 12px 20px !important;
  font-size: 16px;
  border-radius: 8px;
}


.btn-primary-alt {
  background-color: #d1fae5; 
  color: #166534;
  font-weight: 400;
  padding: 2px 8px;
  font-size: 13px;
  border-radius: 30px;
  border: none;
  margin-top: 50px;
}

.btn-link {
  color: #1e40af; 
  font-weight: 400;
  padding: 3px 10px;
  font-size: 13px;
  border-radius: 30px;
  border: none;
  background-color: #cce4ff; 
  margin-top: 50px;
}



/* Main Image and Gallery */

/* 
.main-image-container {
  overflow: hidden;
}

.main-property-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.view-all-photos-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 500;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.carousel-control-prev-alt, .carousel-control-next-alt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.carousel-control-prev-alt {
    left: 10px;
}

.carousel-control-next-alt {
    right: 10px;
}

.carousel-control-prev-alt:hover, .carousel-control-next-alt:hover {
    opacity: 1;
}

.thumbnail-gallery img, .thumbnail-gallery .thumbnail {
  width: 90px;
  height: 60px;
  object-fit: cover;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumbnail-gallery .thumbnail.active {
  border-color: #6a4ea2;
}

.view-all-thumbnail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-all-thumbnail img {
    opacity: 0.7;
    border: none;
}

.view-all-text {
  position: absolute;
  color: white;
  font-weight: 600;
  font-size: 14px;
  pointer-events: none; 
} */




/* Main Image Container */
.main-image-container {
  overflow: hidden;
  position: relative;
}

.main-property-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Image Counter */
.image-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thumbnail-container {
  position: relative;
  width: 48%;  
}

.thumbnail-container img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumbnail-container:hover img {
  border-color: #6a4ea2;
}

/* View More Button */
.view-all-thumbnail {
  position: relative;
}

.view-all-thumbnail img {
  opacity: 0.7;
}

.view-all-text {
  position: absolute;
  color: white;
  font-weight: 600;
  font-size: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  border-radius: 8px;
}




/* --- NEW STYLES FOR ABOUT & PRICING SECTION --- */

.content-heading {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.about-text {
    color: #555;
    line-height: 1.6;
}

.content-subheading {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 45px;
}

/* Living Options Styles */
.living-option {
    background-color: #f5f0ff; /* Light purple background */
    color: #5d3a90; /* Darker purple text */
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    width: 32%;
    text-align: center;
}

.living-options-container .living-option {
    flex: 0 0 calc(33.333% - 1rem); /* 3 per row */
    box-sizing: border-box;
}


/* Room Types Styles */
.room-type {
    background-color: #f8f8f8; /* Light gray background */
    color: #333;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    width: 48%;
}

.room-type i {
    color: #5d3a90; /* Icon color */
    margin-right: 8px;
}

/* Pricing Details Card and Table */
.pricing-details-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); /* Subtle shadow for the card */
    border: 1px solid #eee;
}

.pricing-heading {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #555;
    font-size: 15px;
}

.price-value {
    font-weight: 600;
    color: #333;
}

.pricing-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 0;
    margin-top: 10px;
    border-top: 2px solid #f0f0ff; /* Very light purple separator */
}

.total-price {
    color: #5d3a90; /* Purple total price color */
    font-size: 18px;
}

.one-time-heading {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Specific styling for the one-time fees section */
.one-time-fees .pricing-item {
    padding: 5px 0;
}




/* --- NEW STYLES FOR AMENITIES SECTION (Add this to your CSS file) --- */



.amenity-item {

    display: flex;

    align-items: center;

    background-color: #ffffff; /* White background */

    border: 1px solid #e0e0e0; /* Subtle border */

    border-radius: 8px; /* Rounded corners */

    padding: 15px;

    font-size: 15px;

    font-weight: 500;

    color: #333;

    transition: box-shadow 0.2s;

    height: 100%; /* Ensure all items are the same height in the grid */

}



.amenity-item:hover {

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Slight lift on hover */

}



.amenity-item i {

    /* Purple color for the icons */

    color: #6a4ea2; 

    font-size: 20px;

    margin-right: 15px;

    /* This box and background gives the circular/square icon look */

    width: 30px; 

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #f5f0ff; /* Light purple background for the icon area */

    border-radius: 6px;

}

/* --- NEW STYLES FOR KEY FEATURES & SPECIAL SECTION --- */

.section-heading-features {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.feature-list-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
}

.feature-list-item i.bi-check-circle {
    color: #10b981; /* Green color for checkmark */
    font-size: 18px;
    margin-right: 10px;
}
.feature-list-item-second {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
}
.feature-list-item-second i.fa-award {
    color: #6b4c9a; 
    font-size: 18px;
    margin-right: 10px;
}

.special-list-item {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.special-list-item i.fa-solid {
    color: #6a4ea2; /* Purple color for the special icon */
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px; /* Slight vertical alignment adjustment */
}

/* --- NEW STYLES FOR FOUNDER & NEARBY ATTRACTIONS --- */

.founder-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: #F9FAFB; 
    border-radius: 8px;
    margin-top: 40px;
}

.founder-img {
    width: 120px;              
    height: 80px;              
    border-radius: 8px;        
    overflow: hidden;          
    flex-shrink: 0;
    margin-right: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;         
}

.founder-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;      
}


.founder-details h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.founder-details .experience {
    font-size: 14px;
    color: #6a4ea2; /* Purple color */
    font-weight: 600;
    margin-bottom: 10px;
}

.founder-details p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
}

.nearby-heading {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.attraction-item {
    padding: 15px;
    background-color: #F9FAFB;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attraction-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.attraction-category {
    font-size: 13px;
    color: #6c757d;
}

.attraction-distance {
    font-size: 15px;
    font-weight: 600;
    color: #6a4ea2; /* Purple distance marker */
    white-space: nowrap;
}

/* --- NEW STYLES FOR RESIDENT REVIEWS --- */

.reviews-heading {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.review-card {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0ff; /* Light purple-gray background for the avatar */
    color: #6a4ea2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.review-date {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

.star-rating i {
    color: #ffc107; /* Yellow star color */
    font-size: 14px;
    margin-right: 5px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
}


/* Custom Footer Styles */

.bloom-footer {
    background-color: #1a1e27; /* Dark background color */
    color: #f8f9fa; /* Light text color */
    font-family: Arial, sans-serif;
    padding-top: 2rem;
}

/* Typography and Headings */
.footer-heading {
    color: #f8f9fa;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #adb5bd; /* Lighter grey for main text */
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 2rem; /* Adds space after the text */
}

.footer-text-small {
    color: #adb5bd;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-heading {
    margin-left: 130px;
}

.footer-heading-two {
    margin-left: 3px;
    margin-bottom: 18px;
}


.quick-links {
    list-style: none;
    padding-left: 0;
    margin-left: 130px; 
   
}

.footer-link {
    color: #adb5bd;
    font-size: 1rem;
    text-decoration: none;
}

.quick-links li {
    margin-bottom: 10px; 
}

.contact-heading {
    margin-bottom: 17px; 
}


.contact-links {
    list-style: none;
    padding-left: 0;
    margin-left: 10px;
    color: #adb5bd; 
    margin-bottom: 15px; 
}

.contact-links .contact-link {
    color: #adb5bd; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 10px; 
    font-size: 1rem; 
    transition: color 0.3s ease; 
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #343a40; /* Dark circle background */
    color: #f8f9fa;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #7b4397; /* Hover effect */
}

/* Separator Line */
.footer-hr {
    border-top: 1px solid #343a40; /* Darker line color */
    opacity: 1; /* Ensure line is visible */
    margin-top: 14px;
    margin-bottom: 0;
}

/* Newsletter Form */

/* Custom Widths for Separated Newsletter Form */

.newsletter-form-custom {
    display: flex; 
    
    max-width: 1400px; 
    
    gap: 8px; 
}

.newsletter-input-container {
    width: 85%;
}

.newsletter-button-container {
    width: 25%;
}

.newsletter-input-container .form-control::placeholder {
    color: #ffffff; 
}

.newsletter-input-container .form-control {
    width: 118%;
    height: 50px;
    background-color: #2d3748;
    border: #374151

}

/* Existing button styles (keep these) */
.newsletter-btn {
    background-color: #7b4397;
    border-color: #7b4397;
    color: white;
    font-weight: 500;
    padding-left: 1.7rem;
    padding-right: 1.5rem;
    margin-left: 180px;
    transition: background-color 0.3s;
    height: 50px;
}

.newsletter-btn:hover {
    background-color: #64377a;
    border-color: #64377a;
    color: white;
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid #343a40;
}

.copyright-text {
    font-size: 0.85rem;
    color: #adb5bd;
}

.bottom-links {
    text-align: right;
    font-size: 0.85rem;
}

.bottom-links a {
    color: #adb5bd;
    text-decoration: none;
    margin-left: 0.5rem;
}

.bottom-links a:hover {
    color: #f8f9fa;
}

.bottom-links .separator {
    color: #adb5bd;
    margin: 0 0.5rem;
}



/* --- Custom CSS for Homeall page --- */

 .stats-section {
        padding: 60px 0;
        background-color: #f7f9fc; /* Light background for the section */
      }

      .stats-section .section-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
        font-weight: 700;
        color: #1e293b; /* Dark text color */
        margin-bottom: 10px;
}


.stats-section .section-subtitle .first-line {
    display: block;  
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #4b5563;
    margin-top: 25px;
}

.stats-section .section-subtitle .second-line {
    display: block;  
    margin-left: 20px;  
    margin-right: 20px; 
     font-size: 1.125rem;
    line-height: 1.75rem;
    color: #4b5563;
}


      

     
      .stat-card {
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 10px 10px;
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
        height: 90%; 
        margin-top: 15px;
        max-width: 190px;
      }

      .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
      }

      .stat-card .icon-box {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #5b21b6; /* Purple color for icons */
      }
      
      /* Matching the specific icons' purple color and size from the image */
      .stat-card .icon-box i {
          font-size: 1.5rem;
          color: #5b21b6; 
      }

      .stat-card .stat-number {
        font-size: 1.5rem;
        font-weight: 700;
        color: #5b21b6; /* Purple color for the numbers */
        margin-bottom: 5px;
      }

      .stat-card .stat-label {
        font-size: 0.95rem;
        color: #64748b;
      }

      /* --- Custom CSS for the Senior Care Homes Section (Stats and Search) --- */

.stats-section {
    /* Adjusted padding to accommodate the search bar at the bottom */
    padding: 60px 0 80px 0;
    background-color: #f7f9fc; /* Light background for the section */
}

.stats-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
/* ... (other stats-section and stat-card styles remain unchanged) ... */





/* --- NEW/MODIFIED STYLES (Search and Filter Bar - Separated Look with Gap) --- */

.search-filter-container {
    background-color: #ffffff;
    border: 1px solid #e2eeef;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: -18px;
}

.search-bar-row {
    margin-bottom: 20px;
}

/* Search Input Wrapper (Standalone Box) */
.search-input-group-separated {
    /* Apply border and rounding to the whole search input box */
    border: 1px solid #d1d5db; 
    border-radius: 8px;
    overflow: hidden; 
    /* The search input itself is borderless internally */
}

/* Search Icon (inside the input group) */
.search-icon {
    background-color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    color: #9ca3af;
    font-size: 1.1rem;
}

/* The Search Input Field */
.search-input-separated {
    border: none !important;
    box-shadow: none !important;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    color: #4b5563;
}

.search-input-separated::placeholder {
    color: #9ca3af;
}

/* Filters Button (Standalone Box) */
.filters-button-separated {
    background-color: #ffffff;
    color: #5b21b6; /* Purple text color */
    border: 1px solid #d1d5db; /* Border on all sides */
    padding: 0.75rem 0 !important; 
    font-weight: 600;
    transition: background-color 0.2s;
    font-size: 1rem;
    border-radius: 8px; 
    height: 47px;
    margin-left: 4px;
}

.filters-button-separated:hover {
    background-color: #f3f4f6;
    color: #5b21b6;
}

/* Dropdowns Styling (Remains the same) */
.custom-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #4b5563;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    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='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65em 0.65em;
    padding-right: 2.5rem;
}

.custom-dropdown:focus {
    border-color: #5b21b6;
    box-shadow: 0 0 0 0.25rem rgba(91, 33, 182, 0.25);
}

.sort-dropdown-container {
    margin-right: 18px; 
    margin-top: -40px;
  }





.home-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #ffffff;
    margin-left: 20px;
    margin-right: 30px;
    width: 410px;
    gap: 9px !important;
}


.listings-grid > .col-lg-4,
.listings-grid > .col-md-6 {
    padding-left: 0px;
    padding-right: 0px;
}
.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Image Section */
.card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price Tag */
.price-tag {
    position: absolute;
    top: 17px;
     left: 15px; 
    background-color: #ffffffe6;
    color: #111827;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #6b4c9a ;
    color: white;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Wishlist Button (Heart) */
.wishlist-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #ffffff;
    border: none;
    color: #6b4c9a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.wishlist-btn:hover {
    background-color: #f3f4f6;
}

/* Card Body Content */
.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1f2937;
}

.card-location {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Care Type Badge */
.care-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: #e9e5f3;
    color: #4c3569; 
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.care-type-badge.active {
    background-color: #e9e5f3;
    color: #4c3569;
}
.care-type-badge.memory {
    background-color: #e9e5f3;
    color: #4c3569;
}

/* Meta Row (Availability and Rating) */
.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #4b5563;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 10px;
}

.meta-row .rating {
    font-weight: 600;
    color: #f59e0b;
}
.meta-row .rating i {
    font-size: 0.8rem;
    margin-right: 3px;
}
.meta-row .availability {
    font-weight: 500;
}

/* Amenities/Tags Row */
.amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.amenity-tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.amenity-tag.for-rent, .amenity-tag.for-lease {
    background-color: #ecfdf5;
    color: #065f46;
    font-weight: 700;
}

.amenity-tag.for-sale {
    background-color: #fffbeb;
    color: #b45309;
    font-weight: 700;
}

/* Buttons */
/* Style for the 'Book Tour' button */
.btn-book-tour {
    background-color: #f5f3f8;
    color: #6b4c9a;
    border: 1px solid #d6cde9; /* Slightly thicker border for emphasis */
    font-weight: 600;
    padding: 10px 15px; /* Keep padding smaller for balance */
    border-radius: .5rem;
    font-size: 16px; /* Keep the font size as is */
    transition: background-color 0.2s;
    text-align: center; /* Ensures text is centered inside the button */
    display: inline-block; /* Keeps it inline */
    width: 250px; /* Set a specific width for the button */
    min-width: 293px; /* Prevents shrinking if the container is too narrow */
}

.btn-book-tour:hover {
    background-color: #4c1d95;
    color: white;
}

/* Style for the 'Details' link */
.btn-details {
    background-color: transparent;
    color: #4b5563;
    border: none;
    font-weight: 600;
    padding: 0;
    font-size: 14px;
    transition: color 0.2s;
    display: inline-block; /* Keeps the link inline */
    margin-right: 20px;
  }

.btn-details:hover {
    color: #4c1d95;
}

/* Flexbox container to align both elements */
.d-flex {
    display: flex;
    align-items: center; /* Align vertically centered */
}

.d-flex .btn-book-tour {
   margin-left: 4px;
    flex-shrink: 0; /* Prevents the button from shrinking */
}



/* --- New CTA Banner Section --- */
.cta-banner-section {
    padding: 0 10px; /* Add some horizontal padding for smaller screens */
}

.cta-banner-card {
    background-color: #6b4c9a; /* Main purple background */
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 0 auto; /* Center the block */
    width: 1280px;
    margin-left: -8px;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 30px;
    opacity: 0.9;
    margin-right: 50px;
    margin-left: 50px;
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    min-width: 220px; 
    height: 50px;
}

.btn-consultation {
    background-color: white;
    color: #6b4c9a;
    border: none;
    transition: background-color 0.2s;
}

.btn-consultation:hover {
    background-color: #f3f4f6;
    color: #4c3569;
}

.btn-call-us {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-call-us:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #f3f4f6;
}

.cta-small-print {
    font-size: 1rem;
    line-height: 1.75rem;
    margin-top: 20px;
    opacity: 0.7;
}




@media (max-width: 768px) {
  .top-bar {
    flex-direction: column; /* Stack the items vertically */
    align-items: center; /* Center the items */
    padding-left: 20px; /* Reduce padding for mobile */
  }

  .top-bar-text {
    font-size: 16px; /* Adjust font size for mobile */
    padding-top: 10px; /* Add more space from the top */
    text-align: center; 
    margin-left: -22px;
  }

  .contact-info {
    display: block; /* Stack contact info vertically */
    margin-top: 10px; /* Add space between text and contact info */
    text-align: center; /* Center align the contact info */
  }

  .contact-info i {
    margin-right: 5px; /* Keeps the icon spacing consistent */
  }

  .btn {
    margin-left: 40; /* Remove left margin to center button */
    margin-top: 10px; /* Add some space between phone number and button */
  }
}


@media (max-width: 768px) {
  .stats-section .section-title {
    font-size: 1.8rem;
  }

  .stats-section .section-subtitle .first-line,
  .stats-section .section-subtitle .second-line {
    font-size: 1rem;
    margin: 0 10px;
  }

  .row.text-center {
    margin-bottom: 30px;
  }

  .stat-card {
    max-width: 100%;
    width: 80%;
    margin: 0 auto 20px auto;
  }

  .search-bar-row .input-group {
    width: 100%;
  }

  .listings-grid .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cta-banner-section {
    padding: 40px 15px;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .btn-consultation,
  .btn-call-us {
    width: 100%;
    margin: 5px 0;
  }
}


@media (max-width: 768px) {
    /* Move the filter button under the search bar */
    .search-bar-row .col-2 {
        flex: 0 0 100%;    /* full width */
        max-width: 100%;   /* full width */
        margin-top: 0.5rem; /* spacing under search bar */
        order: 2;          /* ensure button comes after input */
    }

    .search-bar-row .col-10 {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;          /* search input stays first */
    }

    /* Stack icon above text inside button */
    .filters-button-separated {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0;  /* vertical padding */
    }

    .filters-button-separated i {
        font-size: 1rem;    /* smaller icon */
        margin-bottom: 0.25rem; /* spacing between icon and text */
    }
    
     .sort-dropdown-container {
        margin-right: 0;
        margin-top: -58px;
        width: 100%;
        display: flex;
        justify-content: center; /* centers the dropdown */
    }

    .custom-dropdown {
        width: 90%; /* make it almost full width on mobile */
        font-size: 0.95rem; /* slightly smaller font */
        padding: 0.5rem 1rem;
        background-position: right 1rem center;
    }
}


@media (max-width: 768px) {

    /* Cards layout */
    .row.listings-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .home-card {
        width: 100%;
        margin: 0;
    }

    .card-image-container {
        height: 150px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-location {
        font-size: 0.85rem;
    }

    /* Buttons container */
    .d-flex.mt-3 {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-start; /* align left */
        gap: 10px;                  /* space between buttons */
    }

    /* Book Tour button - small */
    .btn-book-tour {
        flex: 0 0 225px;           /* small fixed width */
        min-width: 90px;           /* ensure small minimum size */
        text-align: center;
        padding: 6px 0;
        white-space: nowrap;
    }

    /* Details button - fill remaining space */
    .btn-details {
        flex: 1;                   /* takes remaining space */
        text-align: center;
        padding: 6px 0;
        white-space: nowrap;
        display: inline-block;
    }
}

@media (max-width: 768px) {

  .cta-banner-section {
    padding: 20px 10px; /* slightly smaller padding */
  }

  .cta-banner-card {
    width: 100%; /* full width on mobile */
    padding: 25px 15px; /* smaller padding for compact look */
    margin-left: 0;
    text-align: center; /* center content */
  }

  .cta-title {
    font-size: 1.4rem; /* smaller title */
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .cta-text {
    font-size: 0.95rem; /* smaller text */
    line-height: 1.4;
    margin: 0 10px 15px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column; /* stack buttons vertically */
    gap: 10px; /* less space between buttons */
    align-items: center;
    justify-content: center;
  }

  .cta-buttons .btn {
    min-width: 70%; /* smaller width for compact buttons */
    padding: 8px 0; /* reduce padding */
    font-size: 0.85rem; /* smaller font */
    height: 40px; /* smaller height */
    border-radius: 6px; /* slightly smaller radius */
  }

  .cta-small-print {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 10px;
  }
}


/* Adjust footer layout for mobile */
@media (max-width: 768px) {

    .bloom-footer .container {
        padding: 0 15px;
    }

    .footer-heading {
        margin-left: 0; 
        font-size: 1.1rem;
    }

    .quick-links {
        margin-left: 0;
        padding-left: 0;
    }

    .contact-links {
        margin-left: 0;
        padding-left: 0;
    }

    .social-icons {
        text-align: center;
        margin-top: 1rem;
    }

    .social-icons a {
        margin: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

     /* Adjust Footer Sections Layout */
  


 

    .bloom-footer .row {
        flex-direction: column;
        text-align: center;
    }

    /* Adjust the form input container for mobile */
   /* ---------------------------- Mobile Responsiveness ---------------------------- */

/* Adjust footer layout for mobile */
@media (max-width: 768px) {

    /* Newsletter Form in a single line on mobile */
    .newsletter-form-custom {
        flex-direction: row; /* Align items horizontally */
        justify-content: center; /* Center the items */
        gap: 10px; /* Add some space between the input and button */
    }

    .newsletter-input-container {
        width: 70%; /* Make input field take up most of the space */
        margin-bottom: 0; /* Remove bottom margin */
    }

    .newsletter-button-container {
        width: 30%; /* Make button smaller */
    }

    .newsletter-btn {
        width: 100%; 
        margin-left: 7px;
    }

    .newsletter-input-container .form-control {
        width: 100%; /* Make the input field take full width of its container */
    }

    /* Social Icons and Footer Layout */
    .social-icons {
        text-align: center;
        margin-top: 1rem;
    }

    /* Rest of the mobile responsiveness remains the same */
    .bloom-footer .row {
        flex-direction: column;
        text-align: center;
    }

    .bottom-links {
        text-align: center;
        margin-top: 1rem;
    }
}


@media (max-width: 768px) {
  .featured-heading h2 {
    font-size: 24px;
    margin-top: 80px;
  }

  .featured-heading .lead {
    font-size: 16px;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .featured-heading p.lead:last-of-type {
    margin-top: 8px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 1rem;
    width: 90%;
    margin-left: 20px;
  }

  .cta-btn-primary, .cta-btn-secondary {
    width: 100%;
    margin-bottom: 10px;
  }

  p.lead.mb-4 {
    font-size: 1rem;
    line-height: 1.6;
  }
}
}



/* Hide mobile footer content on larger screens */
@media (min-width: 769px) {
  .mobile-footer {
    display: none;
  }
}

/* Display mobile footer content (Quick Links and Contact Us) on smaller screens */
@media (max-width: 768px) {
  .mobile-footer {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: #333; /* Dark background for the footer */
    color: white;
  }

  .mobile-footer .quick-links,
  .mobile-footer .contact-links {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #444; /* Light dark color for each section */
    border-radius: 8px;
  }

  .mobile-footer h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .mobile-footer ul {
    list-style-type: none;
    padding-left: 0;
  }

  .mobile-footer ul li {
    margin-bottom: 8px;
  }

  .mobile-footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
  }

  .mobile-footer ul li a:hover {
    color: #6a4ea2; /* Add a hover effect for links */
  }
}

