/* General */
body {
  font-family: "Arial", sans-serif;
}




.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 17px !important;*/
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-left: 20px; /* Space between button and contact info */
}

.btn-orange {
  /*background-color: #79558c; */
  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: 200px;  /* 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;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-left: 70px;
  margin-top: 5px;
text-transform: none !important;
    
}

.btn-login:hover {
  background-color: #0056b3;  /* Darker blue on hover */
  color: white;
}



/* Hero Section */
.hero-section {
  padding: 60px 0;
}
.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
}
.hero-section h1 span {
  color: #6a3dbf;
}

.search-bar {
  width: 450px; /* Adjust to the desired width */
  border: 1px solid #747881;
  border-radius: 0.375rem;
  margin-top: 37px;
}

.search-bar input {
  border-right: none; /* Remove right border so it's not overlapping with the button */
  border-radius: 0.375rem 0 0 0.375rem; /* Round the left corners only */
}



.custom-search-btn {
  /*background-color: #6b4c9a; */
    background-color: #4D4352; 
  border-color: #6b4c9a;     /* Border color to match background */
  color: white;              /* Text color */
  padding: 12px 20px;        /* Custom padding for button size */
  font-size: 1rem;           /* Font size for text */
  font-weight: 600;          /* Bold font for text */
  border-radius: .75rem;       /* Rounded corners for a unique look */
  margin-bottom: 3px;
  margin-top: 3px;
  margin-right: 4px;
}


.popular-searches span {
  background-color: rgba(244, 240, 240, 0.6); 
  color: #4b5563; 
  padding: 8px 16px; /* Adds padding to make it look like a capsule */
  border-radius: 50px; /* Makes the shape round (capsule-like) */
  margin-right: 10px; /* Space between items */
  font-size: 14px; /* Optional: adjust the font size */
  display: inline-block; /* Makes the span elements line up horizontally */
}


/* Right Image */
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  /*box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);*/
}





/* Overlay Cards Container */
.overlay-cards {
  position: absolute;
  top: 10%;
  left: 60%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.card-group {
  display: none;
  gap: 20px;
}

.card-group.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-card {
  display: flex;
  align-items: center; 
  gap: 15px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.71) !important;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Image */
.info-card .card-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* Text Wrapper */
.info-card .card-text {
  display: flex;
  flex-direction: column; /* stack text vertically */
}





/* Home Name */
.info-card .card-text h6 {
  margin: 0 0 5px 0;
  font-size: 1rem;
}

/* Care Option */
.info-card .card-text .care-option {
  margin: 0 0 3px 0;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Location */
.info-card .card-text .location {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}



/* Card Group - Initial state hidden */
.card-group {
  display: none;
  gap: 20px;
}

/* Active Group */
.card-group.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Cards with rotation applied */
.card-1 {
  /*transform: rotate(-1deg);*/
  opacity: 1; /* Ensure it is visible immediately */
}

.card-2 {
  /*transform: rotate(2deg); */
  opacity: 1; /* Ensure it is visible immediately */
}

.card-3 {
  /*transform: rotate(-2deg); */
  opacity: 1; /* Ensure it is visible immediately */
}

/* Info Card */
.info-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.info-card h6 {
  margin: 0;
  font-weight: 600;
  color: #6a3dbf;
}

.info-card p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #555;
}

.popular-divider {
  border: none;
  height: 1px;
  background-color: #917b7b;
  width: 452px; /* You can adjust this width */
  margin-top: 27px;
  margin-left: 0; /* Aligns to the left */
}

.stats {
  max-width: 400px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #6a3dbf;
  margin-bottom: 4px;
  margin-top: 8px;
}

.stat-label {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.explore-senior-living {
  margin-top: 150px; /* Space above the section */
  padding: 0 15px; /* Horizontal padding for smaller screens */
  text-align: center; /* Center align all content inside */
}

.explore-senior-living h3 {
  font-size: 40px;
  font-weight: 700;
  color: #6a3dbf; /* Brand purple color */
  margin-bottom: 12px;
}

.explore-senior-living p.lead {
  font-size: 18px;
  color: #333;
  max-width: none; /* Remove width restriction */
  margin: 0 auto;
  line-height: 1.5;
  white-space: nowrap; /* Prevent line break */
}

.row.g-4 {
  margin-top: 30px; /* Adjust the space between the text and cards */
}

.care-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.care-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.bg-blue {
  background-color: #4676f0;
}
.bg-red {
  background-color: #fee2e2;
}
.bg-purple {
  background-color: #f3e8ff;
}
.bg-green {
  background-color: #f0fdf4;
}
.bg-yellow {
  background-color: #fffbeb;
}
.bg-lightblue {
  background-color: #eef2ff;
}
.care-card h5 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.care-card p {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.text-purple {
  color: #6a3dbf;
  font-weight: 500;
  text-decoration: none;
}
.text-purple:hover {
  text-decoration: underline;
}

.icon-box i.fa-users {
  font-size: 25px; /* Larger size for the user icon */
  color: #4676f0; /* Blue color for the user icon */
}

.icon-box i.fa-heart {
  font-size: 25px;
  color: #dc2626;
}
.icon-box i.fa-brain {
  font-size: 25px;
  color: #9b4d96;
}

.icon-box i.fa-shield {
  font-size: 25px;
  color: #16a34a;
}

.icon-box i.fa-crown {
  font-size: 25px;
  color: #d97706;
}
.icon-box i.fa-house {
  font-size: 25px;
  color: #4f46e5;
}

.featured-heading h2 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 130px;
}

.featured-heading .lead {
  font-size: 18px;
  color: #555;
  margin-top: 30px; /* Space between the two lines of text */
  line-height: 1.6; /* Adjust line height for readability */
}

.featured-heading p.lead:last-of-type {
  margin-top: 10px; /* Extra space below the second paragraph */
}

/* Care Home Cards */
.carehome-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

/*.row.mt-5.g-4.featured-cards {*/
/*  display: flex;*/
/*  justify-content: space-between; */
/*  padding-left: 120px;*/
/*  padding-right: 120px;*/
/*}*/

.featured-cards {
  justify-content: flex-start;
}


.carehome-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.carehome-card .card-img {
  position: relative;
}
.carehome-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.price-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #000;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.price-tag span {
  font-weight: 400;
  font-size: 12px;
  color: #555;
}

.badge-featured {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #6a3dbf;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}

.wishlist-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.wishlist-btn i {
  color: #6a3dbf;
  font-size: 16px;
}

.carehome-card .card-body {
  padding: 16px;
}
.carehome-card h5 {
  font-size: 18px;
  font-weight: 700;
}
/* .carehome-card .location,
.carehome-card .availability,
.carehome-card .rating {
  font-size: 14px;
  margin: 4px 0;
  color: #555;
}
.carehome-card .rating i {
  color: #facc15;
  margin-right: 4px;
}
 */

 .availability-rating-container {
  display: flex; /* Aligns items in a row */
  justify-content: space-between; /* Pushes the availability to the left and rating to the right */
  margin: 10px 0; /* Adds vertical space between the rows */
}

.carehome-card .location,
.carehome-card .availability,
.carehome-card .rating {
  font-size: 14px;
  margin: 4px 0;
  color: #555;
}

.carehome-card .rating i {
  color: #facc15; /* Gold star color */
  margin-right: 4px;
}


.tags {
  margin: 10px 0;
}
.tags .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-right: 6px;
}
.tag.rent {
  background: #d1fae5;
  color: #065f46;
}
.tag.lease {
  background: #dbeafe;
  color: #1e3a8a;
}
.tag.sale {
  background: #f3e8ff;
  color: #6b21a8;
}

.facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.facilities span {
  background: #f9fafb;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #444;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.carousel-item
{
    margin-bottom: 10px;
}
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 1;
}

.carousel-control-prev {
  left: -40px;   /* move left arrow outside */
}

.carousel-control-next {
  right: -40px;  /* move right arrow outside */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #9879a9;
  border-radius: 50%;
  padding: 18px;
  background-size: 60% 60%;
}


.btn-outline-purple {
  border: 1px solid #d6cde9;
  color: #6b4c9a;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 110px !important;
  border-radius: 8px;
  margin-left: 3px;
}
.btn-outline-purple:hover {
  background: #9c85be;
  color: #fff;
}
.details-link {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding-right: 14px;
}
.details-link:hover {
  text-decoration: underline;
}

.view-all {
  font-weight: 600;
  color: #6a3dbf;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.view-all:hover {
  text-decoration: underline;
}

.after-cards-section {
  padding: 80px 120px;
  background: #f9fafc;
  text-align: center;
  border-radius: 16px;
  margin-top: 60px;
}

.after-cards-section .section-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.after-cards-section .section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.feature-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 30px 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box i {
  font-size: 32px;
  color: #6a3dbf;
  margin-bottom: 16px;
}

.feature-box h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: #555;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center; /* Vertically centers the content */
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.icon-box-custom {
  background-color: #6b4c9a;
  padding: 20px;
  display: flex;
  align-items: center; /* Vertically centers the icon */
  justify-content: center; /* Centers the icon horizontally */
  margin-right: 20px; /* Space between icon and text */
  border-radius: 20%;
}

.icon-box-custom i {
  font-size: 1.5rem;
  color: #ffffff;
}

.text-box {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the text */
}

.text-box h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.text-box p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #666;
  margin-bottom: 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #777;
}

.row.g-4 {
  margin-left: 0;
  margin-right: 0;
}

.text-center .btn {
  display: inline-block;
  padding: 9px 15px !important;
  background-color: #4D4352; 
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  text-align: center;
   transition: none;
}

.text-center .btn:hover {
  background-color: #4D4352; /* Keep the same background color on hover */
  color: #ffffff; /* Keep the same text color on hover */
  border: none; /* Keep the same border on hover */
}
.our-commitment-section {
  background-color: #f9fafb; /* Set background color */
  padding: 50px 0; /* Padding for top and bottom */
}

.our-commitment-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #343a40; /* Dark color for title */
}

.our-commitment-section .section-subtitle {
  font-size: 1.1rem;
  color: #6c757d; /* Lighter color for subtitle */
}

/* --- Resources & Blogs Section Styling --- */

.resources-blogs-section {
  background-color: #ffffff; /* White background */
}

/* Base Card Style */
.blog-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  background-color: white;
}

.blog-card:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Image Wrapper and Tag Positioning */
.card-image-wrapper {
  position: relative;
}

.card-img-top {
  height: 180px; /* Adjust as needed to match screenshot height */
  object-fit: cover;
  width: 100%;
}

.card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Card Body Content */
.blog-card .card-body {
  padding: 20px;
}

.blog-card .card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #343a40;
  min-height: 60px; /* Gives titles similar vertical space */
}

.blog-card .card-text {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 15px;
  /* Limit the text to 3 lines (adjust as needed) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Metadata (Date & Read Time) */
/* .card-meta {
    font-size: 0.85rem;
    color: #999;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
} */

/* Metadata (Date & Read Time) */
.card-meta {
  font-size: 0.85rem;
  color: #999;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between; /* This will space out the two sections */
  align-items: center;
}

/* Date Wrapper */
.date-wrapper {
  display: flex;
  align-items: center;
}

.date-wrapper i {
  margin-right: 5px;
  font-size: 12px;
}

.read-time {
  margin-left: auto; /* Align to the right */
  font-weight: bold;
}

.card-meta span {
  margin-right: 5px;
}

.card-meta .meta-dot {
  font-weight: bold;
}

/* Read Article Link */
.read-article-link {
  color: #5d3f8f; /* Primary color of the link text */
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.read-article-link:hover {
  color: #4a336e;
  text-decoration: underline;
}

/* Explore Button Style */
.explore-button {
  background-color: #5d3f8f; /* Primary Button Color (Purple from screenshot) */
  border-color: #5d3f8f;
  padding: 10px 30px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.explore-button:hover {
  background-color: #4a336e;
  border-color: #4a336e;
}

.cta-section {
  background: linear-gradient(90deg, #6a4ea2, #5d3f8f);
  color: white;
  border-radius: 20px;
  margin-left: 120px;
  margin-right: 120px;
}

/* CTA Primary Button (Filled) */
.cta-btn-primary {
  background-color: #ffffff !important;
  color: #5d3f8f !important;
  padding: 15px 28px !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

/* CTA Secondary Button (Outlined) */
.cta-btn-secondary {
  background-color: #79558c !important;
  color: #ffffff;
  padding: 15px 28px !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  background-color: #ffffff;
  color: #5d3f8f;
  text-decoration: none;
}

p.lead.mb-4 {
  font-size: 1.15rem;
  color: #f1eaff;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}



/* 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;
}



.faq-body {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.faq-title {
  font-weight: 500 !important;
  font-size: 2rem !important;
  letter-spacing: 1px;
  white-space: nowrap;
  background: none;  /* Remove any background initially */
  border: none;  /* Remove border */
  transition: background-color 0.3s ease; 
  color: black;/* Smooth transition on background color change */
}

/* When the accordion item is expanded (active) */
.faq-card .accordion-button:not(.collapsed) {
  background-color: #9879a9;  /* Apply your desired background color */
  color: white;  
  box-shadow: none;
  border: none;
}

/* When the accordion item is collapsed */
.faq-card .accordion-button.collapsed {
  background-color: #f8f9fa;  /* Default background */
  color: black;  /* Text color */
}

.faq-section {
  max-width: 850px;
  margin: auto;
  padding: 40px 20px;
}

.faq-card {
  border-radius: 18px;
  background: #f8f9fa;
  padding: 20px;
  margin-bottom: 15px;
  border: none;
}


 
/* Prevent horizontal scroll */





/* Mobile responsiveness  tob bar*/

@media (max-width: 768px) {
.top-bar {
  background-color: #5a3f7f;
  padding: 8px 0;
  font-size: 14px;
  color: #fff;
  padding-left: 100px; 
  height: 60px;
  display: flex;
  justify-content: flex-start; 
  align-items: center; 
  white-space: nowrap; 
  overflow: hidden; 
}

.top-bar-text {
  font-size: 14px; 
  color: #fff;
  padding-top: 8px; 
  margin-left: -41px;
}

  
}

/* Mobile responsiveness  Search bar*/

@media (max-width: 768px) {
  .search-bar {
    width: 100%; 
    flex-direction: row; 
    justify-content: space-between; 
  }

  .search-bar input {
    width: 70%; 
    font-size: 0.9rem; 
    padding: 10px; 
  }

  .custom-search-btn {
    width: 25%; 
    padding: 10px 15px; 
    font-size: 0.9rem; 
  }
}

/* Mobile responsiveness  popular searches*/

@media (max-width: 768px) {
  .popular-searches {
    text-align: center; 
  }

  .popular-searches span {
    display: inline-block; 
    margin-bottom: 8px; 
    width: auto; 
  }
  .popular-searches span:nth-child(n+4) {
    display: none; 
  }
}

@media (max-width: 768px) {
  .popular-divider {
    width: 95%; 
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px) {
  .explore-senior-living {
    margin-top: 80px; 
    padding: 0 20px; 
  }

  .explore-senior-living h3 {
    font-size: 30px; 
    margin-bottom: 10px; 
  }

  .explore-senior-living p.lead {
    font-size: 18px; 
    white-space: normal; 
    margin-bottom: 15px; 
  }
}

@media (max-width: 768px) {

  .stats {
  max-width: 100%;
  margin-top: 20px;
  padding: 0 4px; 
  margin-right: 20px; 
}

  
  .col-4 {
    flex: 1; 
    text-align: center; 
    padding: 0 5px; 
  }

  .stat-number {
    font-size: 25px; 
    margin-top: 2px; 
  }

  .stat-label {
    font-size: 16px; 
  }
}

@media (max-width: 768px) {
  .hero-image {
    margin-top: 20px; 
  }
}


@media (max-width: 768px) {
  .carehome-card {
    margin-bottom: 20px;
    width: 100%;
  }

  .price-tag {
    font-size: 12px;
  }

  .badge-featured {
    font-size: 10px;
    padding: 2px 6px;
  }

  .wishlist-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .carehome-card h5 {
    font-size: 16px;
  }

  .carehome-card .location,
  .carehome-card .availability,
  .carehome-card .rating {
    font-size: 12px;
  }

  .tags .tag {
    font-size: 10px;
  }

  .facilities span {
    font-size: 10px;
  }

  .btn-outline-purple {
    padding: 8px 30px !important;
    font-size: 12px;
    width: 230px;
  }

  .details-link {
      margin-top: 6px;
    font-size: 12px;
    white-space: nowrap;
  }
  .details-link:hover{
      color: #6b4c9a;
      text-decoration: none;
  }
  
  #featuredHomesSlider .carousel-control-prev,
  #featuredHomesSlider .carousel-control-next {
    display: none !important;
  }
}



/* 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 */
  }
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 1rem; 
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 1.5rem !important;
    margin-bottom: 2rem;
    font-weight: 700 !important;
  }
}



@media (max-width: 768px) {
  .overlay-cards .info-card {
    max-height: 220px;
  }

  .overlay-cards .card-img {
    height: 100px;
  }

  .overlay-cards .card-text h6 {
    font-size: 1rem;
  }

  .overlay-cards .care-option,
  .overlay-cards .location {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .overlay-cards .info-card {
    max-height: 100px;
    flex: 1 1 130%;
    width: 130%;
  }

  .overlay-cards .card-img {
    height: 70px;
  }

  .overlay-cards .card-text h6 {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .overlay-cards .care-option,
  .overlay-cards .location {
    font-size: 0.75rem;
  }
}



