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

.pb-30 {
  padding-bottom: 30px;
}

/* FIX: removed duplicate .pb-10 (kept single definition) */
.pb-10 {
  padding-bottom: 10px;
}

.py-50 {
  padding: 50px 0;
}

.bg-yellow {
  background: var(--color-yellow);
}
.bg-purple {
  background: var(--color-purple);
}
.bg-green {
  background: var(--color-green);
}

ul {
  padding-left: 0;
}
li {
  list-style: none;
}

section:nth-child(odd) {
  background: var(--light-background);
}

.mt-20 {
  margin-top: 20px;
}

.d-flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}

/* Location hero banner */
.location-hero-banner {
  margin-bottom: 30px;
  background: url("/themes/curam/assets/images/landingPage/curam-home/hero-background.svg") !important;
  background-size: cover !important;
}

.location-hero-banner__media {
  width: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(73, 79, 201, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(25, 118, 210, 0.16), transparent 28%),
    linear-gradient(135deg, #f5f7ff 0, rgb(233 241 255 / 57%) 40%, rgb(255 255 255 / 39%) 100%);
  padding: 20px 10px;
  min-height: auto;
  display: block;
}

.location-hero-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-hero-banner__breadcrumbs ol {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0px;
  margin: 0;
}

.location-hero-banner__breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: capitalize;
}

.location-hero-banner__breadcrumbs li::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 2px solid #676779;
  border-bottom: 2px solid #676779;
  transform: rotate(-45deg);
}

.location-hero-banner__breadcrumbs li:last-child::after,
.location-hero-banner__breadcrumbs li[aria-current="page"]::after {
  display: none;
}

.location-hero-banner__breadcrumbs a {
  color: #676779;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.location-hero-banner__breadcrumbs li.active {
  color: #4950c9;
}

.location-hero-banner__breadcrumbs a:hover,
.location-hero-banner__breadcrumbs a:focus-visible {
  opacity: 1;
}

.location-hero-banner__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: var(--font-weight-extrabold);
  margin: 0;
}

.location-hero-banner__summary {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 10px 0 25px;
}

.location-hero-banner__cta,
.cta-center{
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.cta-center{
  justify-content: center;
}
.location-hero-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white) !important;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #494fc9;
  box-shadow: 0 8px 24px rgba(73, 79, 201, 0.2);
}

.secondary-btn {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue) !important;
  background-color: var(--color-white) !important;
}

.location-hero-banner__btn:hover,
.location-hero-banner__btn:focus-visible {
  transform: translateY(-2px);
}



/* call us start */
.crm-reviews-header {
  margin-bottom: 30px;
}
.crm-reviews-header .crm-alt-main-subtitle {
  margin: 0px;
}

.care-services-wrapper .call-us p .btn-blue {
  text-decoration: none;
}

.care-services-wrapper .call-us p {
  padding: 15px 0px;
  align-items: center;
  gap: 20px;
  font-size: var(--font-20);
  font-weight: var(--font-weight-bold);
}

.btn-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  font-size: var(--para-font);
  line-height: 1.2;
  font-weight: var(--font-weight-extrabold);
  background: var(--primary-color);
  color: var(--color-white);
  border-radius: 12px;
}

.btn-blue:hover {
  background: var(--theme-color);
  color: var(--color-white);
  text-decoration: none;
  outline: none;
}

/* more about livein care start */
.live-in {
  display: flex;
  align-items: center;
  gap: 40px;
  /* align-items: baseline; */
}

.live-in-right {
  position: relative;
  width: min(420px, 100%);
  min-width: min(420px, 100%);
  height: auto;
  margin-top: 20px;
}

.live-in-right img {
  border-radius: 10%;
  height: 100%;
}

.about-livein-care {
  display: flex;
  gap: 50px;
}

.about-livein-content {
  width: 100%;
  padding-top: 0;
}

.about-item-main {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}

.about-item {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border-info-color);
  border-radius: 20px;
  padding: 15px;
  background: #f2f3ff;
}

.about-item .icon img {
  max-width: 45px;
}

.about-item h6 {
  font-size: var(--para-font);
}

.about-item .icon {
  width: 65px;
  height: 65px;
  line-height: 60px;
  text-align: center;
  background: var(--theme-color);
  border-radius: 50px;
  min-width: 65px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.about-livein-content ul {
  margin-top: 0;
  padding-left: 15px;
  padding-top: 5px;
}

.about-livein-content ul li {
  font-size: var(--font-15);
  font-weight: var(--font-weight-regular);
  line-height: 24px;
  list-style-type: disc;
}

.about-item .content h3 {
  font-size: var(--para-font);
  padding-bottom: 2px;
}

.about-livein-content h3 {
  font-size: var(--para-font);
  padding-bottom: 8px;
}

.about-item .content p {
  padding-bottom: 0;
  font-size: var(--font-15) !important;
  line-height: 20px;
  padding-top: 5px;
}
/* more about livein care end */

/* why need live in care start */
.why-need-live-in h2.section-title {
  text-align: center;
}


/* why need live in care end */

/* why choose curam start */
.why-choose-curam .icon {
  width: 65px;
  height: 65px;
  line-height: 60px;
  text-align: center;
  border-radius: 50px;
  min-width: 65px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.why-choose-curam .icon img {
  max-width: 40px;
  max-height: 40px;
}

.why-choose-curam ul {
  display: flex;
  justify-self: center;
  align-items: center;
  width: 100%;
  gap: 30px;
  padding-left: 0;
  padding-top: 15px !important;
}

.why-choose-curam ul li {
  list-style: none;
  text-align: center;
  width: 32%;
  border-radius: 6px;
  padding: 15px;
  box-shadow: var(--box-shadow3);
  transition: 1s;
  -webkit-transition: 1s;
}

.why-choose-curam ul li:hover {
  background-color: var(--color-light-100);
  transition: 0.5s;
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
}

.why-choose-curam ul li h5 {
  font-size: var(--font-18);
  padding: 10px 0;
}

.why-choose-curam ul li p {
  padding-bottom: 0;
  font-size: var(--para-font-small);
}
/* why choose curam end */

/* faq */
.faq .section-title {
  max-width: 900px;
}

.accordion {
  max-width: 900px;
  margin: auto;
  border-radius: 8px;
}

.accordion-item {
  border: 1px solid var(--color-light-200);
  margin-bottom: 10px;
  border-radius: 6px;
}

.accordion-title.active {
  background: var(--primary-color);
  color: var(--color-white);
  border-radius: 6px 6px 0 0;
}

.accordion-title {
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: background 0.3s;
}

.accordion-title h3 {
  font-size: var(--font-16);
}

.accordion-title h3::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: var(--font-20);
  transition: transform 0.3s;
}

.accordion-title.active h3::after {
  content: "-";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: var(--color-light-100);
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-title.active + .accordion-content {
  padding: 15px 20px;
  max-height: 300px !important;
}
/* Faq end */

.section-title {
  font-size: var(--title-font);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: 20px;
  color: var(--color-black-100);
}

.care-services-wrapper p {
  font-size: var(--para-font);
  font-weight: var(--font-weight-regular);
  line-height: var(--para-line-height);
  color: var(--color-black-100);
}

/*  blog section start */
.blog-item .blog-item-img img {
  border-radius: 12px 12px 0 0;
}

.blog-area ul {
  display: flex;
  gap: 25px;
}

.blog-area ul li {
  width: 32%;
  box-shadow: var(--box-shadow);
  list-style: none;
  border-radius: 12px;
}

.blog-item-info {
  padding: 10px 15px;
}

.blog-item-info h6.blog-title {
  color: var(--color-black-100);
  font-weight: 800;
  padding-bottom: 15px;
  padding-top: 10px;
}

.blog-item-info h6.blog-title a {
  font-size: var(--font-20);
  color: var(--color-black-100);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-area .blog-content__footer {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--color-light-200);
  padding-bottom: 10px;
}

.blog-area .blog-content__footer p {
  padding-bottom: 0;
  font-weight: var(--font-weight-bold);
  font-size: 15px;
}
/* blog section end */

/* how curam works start */
.how-curam-works-step {
  margin: 50px 0 0 0;
  background-color: var(--color-white) !important;
  border-radius: 6px;
  position: relative;
  width: 33%;
  transition: 1s;
  -webkit-transition: 1s;
}

.how-curam-works-step:hover {
  box-shadow: 0 0 10px 0 rgba(23, 25, 74, 0.1);
  cursor: pointer;
  transition: 0.5s;
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
}

.curam-works-count {
  margin: auto;
  width: 60px;
  height: 60px;
  border-width: 4px !important;
  background-color: var(--primary-color);
  font-weight: var(--font-weight-extrabold) !important;
  position: absolute;
  top: -30px;
  border-radius: 33px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  left: 0;
  right: 0;
}

.how-curam-works-description {
  padding: 40px 30px 20px 30px;
  text-align: center;
}

.how-curam-works-description h4 {
  padding-bottom: 10px;
  font-size: 18px;
  padding-top: 10px;
}

.how-curam-works-inner {
  display: flex;
  gap: 15px;
  margin: auto;
}
/* how curam works end */

section p a {
  color: var(--font-achor-tag);
  font-weight: var(--text-achor-weight);
  text-decoration: var(--text-achor-decoration);
}

.blog-title {
  height: 80px;
}

section.call-us a {
  max-width: 200px;
  margin: 0 auto;
  margin-top: 20px;
  text-decoration: none;
}



.sublocation-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row on desktop */
    gap: 20px; /* Space between items */
    padding: 20px 0;
}






/* -------------------------------------------------
   Banner grid
------------------------------------------------- */
.location-hero-banner__headline .lhb-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.location-hero-banner__headline .lhb-left {
  min-width: 0;
}

.location-hero-banner__headline .lhb-right {
  display: flex;
  justify-content: flex-end;
}

/* -------------------------------------------------
   Premium carers panel
------------------------------------------------- */
.carers-panel {
  width: min(420px, 100%);
  border-radius: 20px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 50px rgba(14, 32, 70, 0.18), 0 2px 10px rgba(14, 32, 70, 0.08);
  backdrop-filter: blur(10px);
}

.carers-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.carers-panel__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #494fc9;
  text-align: left;
}

.carers-panel__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: rgba(11, 22, 51, 0.75);
  min-width: 90px;
}

.carers-panel__pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18c964;
  box-shadow: 0 0 0 4px rgba(24, 201, 100, 0.15);
}

/* -------------------------------------------------
   Carer list
------------------------------------------------- */
.carers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* -------------------------------------------------
   Carer card
------------------------------------------------- */
.carer-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(199, 210, 254, 0.6);
  box-shadow: 0 10px 24px rgba(14, 32, 70, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.carer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 210, 254, 0.9);
  box-shadow: 0 18px 40px rgba(14, 32, 70, 0.14);
}

.carer-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 22px rgba(14, 32, 70, 0.12);
}

.carer-card__body {
  min-width: 0;
}

.carer-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.carer-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1633;
}

/* View profile CTA */
.carer-card__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #2b2f8f;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(43, 47, 143, 0.2);
  white-space: nowrap;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.carer-card:hover .carer-card__cta-link {
  border-bottom-color: rgba(43, 47, 143, 0.45);
  transform: translateY(-1px);
}

.carer-card__cta-arrow {
  transition: transform 0.18s ease;
}

.carer-card:hover .carer-card__cta-arrow {
  transform: translateX(3px);
}

/* Meta pills */
.carer-card__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  font-size: 12px;
  color: rgba(11, 22, 51, 0.8);
}

.meta-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.meta-pill--exp .meta-pill__dot {
  background: #18c964;
  box-shadow: 0 0 0 3px rgba(24, 201, 100, 0.14);
}

.meta-pill--loc .meta-pill__dot {
  background: #4950c8;
  box-shadow: 0 0 0 3px rgba(73, 80, 200, 0.14);
}

.meta-pill__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(11, 22, 51, 0.55);
}

.meta-pill__value {
  font-weight: 800;
}

/* Panel CTA */
.carers-panel__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(199, 210, 254, 0.8);
  font-weight: 700;
  color: #2b2f8f;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.carers-panel__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(14, 32, 70, 0.14);
}


/* ==== CRM ALT SECTION ==== */
.crm-alt-section {
  padding: 40px 20px;
  background-color: #fdfdfe;
}

.crm-alt-container,
.care-services-wrapper .container {
  max-width: 1280px;
  margin: 0 auto;
}

.crm-alt-intro {
  text-align: center;
  margin-bottom: 30px;
}

.crm-alt-main-title {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #111827;
  font-family: "Manrope";
}

.crm-alt-main-title span {
  color: #494fc9;
}

.crm-alt-main-subtitle {
  color: #4b5563;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Row Styling */
.crm-alt-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 50px;
}

.crm-alt-row.reverse {
  flex-direction: row-reverse;
}

/* Content Area */
.crm-alt-content {
  flex: 2;
}

.crm-alt-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.crm-alt-tag.blue {
  background: #eff6ff;
  color: #494fc9;
}
.crm-alt-tag.indigo {
  background: #eef2ff;
  color: #4f46e5;
}
.crm-alt-tag.purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.crm-alt-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.crm-alt-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 25px;
}

.crm-alt-features {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.crm-alt-features li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: #374151;
  font-weight: 500;
}

.crm-alt-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #43459b;
  font-weight: bold;
}

.crm-alt-link {
  font-weight: 700;
  color: #43459b;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.crm-alt-link:hover {
  border-bottom-color: #43459b;
  padding-left: 5px;
}

/* Image Styling */
.crm-alt-image-box {
  flex: 1;
}

.crm-alt-image-box img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.content-info__underline {
    display: block;
    width: clamp(140px, 22vw, 360px);
    height: 5px;
    background: linear-gradient(90deg, #494fc9 0, #7b7ff5 100%);
    border-radius: 999px;
    margin: 0 auto;
    margin-top: 20px;
}


.crm-rates-container {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  margin-bottom: 25px;
  border: 1px solid #e2e8f0;
}

.crm-rates-heading {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 700;
}

.crm-rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.crm-rate-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #cbd5e1;
}

.crm-rate-card.highlighted {
  border-color: #43459b;
  background: #eff6ff;
}

.rate-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.rate-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.rate-unit {
  font-size: 0.8rem;
  color: #64748b;
}

.crm-rate-disclaimer {
  font-size: 0.7rem !important;
  color: #94a3b8 !important;
  margin-top: 12px !important;
  font-style: italic !important;
}

:root {
  --primary-blue: #5d5ad1;
  --text-heading: #1a1a2e;
  --text-body: #4a5568;
  --card-bg: #ffffff;
  --accent-bg: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.crm-specialist-section {
  padding: 50px 0;
  background-color: #f8fafc !important;
}

.crm-section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 50px;
}

.crm-specialist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Spec cards (kept only allowed selectors) */
.crm-spec-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.crm-spec-card:hover {
  border-color: #4950c9;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.crm-spec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.crm-spec-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #43449b;
  background: #f2f3ff;
  padding: 8px;
  border-radius: 10px;
}

.crm-spec-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.crm-spec-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.crm-spec-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4950c9;
  text-decoration: none;
}

.crm-carer-media {
  position: relative;
  height: 250px;
}

.crm-carer-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.crm-video-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(73, 79, 201, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  cursor: pointer;
}


.crm-carer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.carer-location-tag {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

/* Updated Container Styles */
.crm-carer-spotlight-card {
  background: #ffffff;
  border-radius: 20px; /* Slightly tighter radius for compact look */
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  margin-left: auto;
}

/* New Horizontal Header Layout */
.crm-carer-header-horizontal {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.crm-carer-media-small {
  width: 140px; /* Controlling size as requested */
  height: 140px;
  flex-shrink: 0;
}

.crm-carer-media-small img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 15px !important; /* Rounded corners for the profile pic */
}

.crm-carer-header-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.crm-carer-header-info .carer-name {
  margin: 0;
  font-size: 1.25rem;
  color: #1a202c;
}

/* Inline Play Button Styles */
.crm-video-overlay-inline {
  background: #eff6ff;
  color: #494fc9;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  cursor: pointer;
  border: 1px solid #dbeafe;
  transition: all 0.2s ease;
}

.crm-video-overlay-inline:hover {
  background: #dbeafe;
}

.crm-video-overlay-inline .play-icon {
  font-size: 0.7rem;
}

/* Adjusting details padding since we removed the top image */
.crm-carer-details {
  padding: 20px;
}

/* Keep other badge and pill styles same */
.carer-exp-badge {
  background: #eff6ff;
  color: #494fc9;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-block;
}

.carer-location-tag {
  font-size: 0.8rem;
  color: #64748b;
}



.carer-mini-bio {
  font-size: 0.95rem !important;
  line-height: 1.5;
  color: #475569;
  font-style: italic;
  margin-bottom: 15px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crm-carer-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.skill-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.crm-view-profile-btn {
  display: block;
  text-align: center;
  background: #494fc9;
  color: #fff !important;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.3s;
}

.crm-view-profile-btn:hover {
  background: #2b2f8f;
}


/* Modal Background */
.crm-video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 35, 92, 0.85); /* Matches your primary blue with transparency */
  backdrop-filter: blur(5px);
}

/* Modal Content Box */
.crm-modal-content {
  position: relative;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.crm-close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

.crm-close-modal:hover {
  color: #494fc9;
}

/* Video Responsive Container */
.crm-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.crm-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* =========================================
   Rates section – premium redesign (override)
========================================= */

.crm-rates-container{
  position: relative;
  background: linear-gradient(135deg, rgba(73,79,201,0.06), rgba(255,255,255,0.92));
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 16px;
  padding: 22px;
  margin-top: 26px;
  margin-bottom: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* top accent line */
.crm-rates-container::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:3px;
  background: linear-gradient(90deg, rgba(67,69,155,1), rgba(73,79,201,0.25));
}

.crm-rates-heading{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #0f172a;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.crm-rates-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.crm-rate-card{
  position: relative;
  border-radius: 14px;
  padding: 14px 14px 13px;
  text-align: center;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(203, 213, 225, 0.95);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.crm-rate-card:hover , .crm-rate-card.highlighted:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(67, 69, 155, 0.25);
}

/* Highlighted (Average) – premium ring + lift */
.crm-rate-card.highlighted {
  background: linear-gradient(135deg, rgba(239,246,255,1), rgba(255,255,255,0.95));
  border-color: rgba(67,69,155,0.35);
  box-shadow: 0 18px 40px rgba(67, 69, 155, 0.12);
  transform: translateY(-1px);
}


.crm-rate-card.highlighted::after{
  content:"";
  position:absolute;
  inset: -2px;
  border-radius: 16px;
  border: 2px solid rgba(67, 69, 155, 0.18);
  pointer-events: none;
}

/* Labels / Values */
.rate-label{
  display: inline-block;
  font-size: 0.72rem;
  color: rgba(100,116,139,0.95);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 800;
}

.rate-value{
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  color: #0b1633;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.rate-unit{
  font-size: 0.82rem;
  color: rgba(100,116,139,0.95);
  margin-top: 4px;
  display: inline-block;
}

/* Make disclaimer feel intentional */
.crm-rate-disclaimer{
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(148,163,184,0.45);
  font-size: 0.75rem !important;
  color: rgba(100,116,139,0.9) !important;
  font-style: normal !important;
}


/* Container adjustments */
.crm-selector-panel {
    padding-bottom: 20px;
}

.crm-care-options {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

/* Individual Item Styling */
.crm-care-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eef0f7;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}


.crm-care-item:hover {
    border-color: #494fc9;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 79, 201, 0.08);
}
a.crm-care-item {
    border-left: 3px solid #494fc9;
}
/* Icons */
.crm-care-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}


.crm-icon-blue { background: #eff6ff; color: #3b82f6; }
.crm-icon-indigo { background: #eef2ff; color: #494fc9; }
.crm-icon-purple { background: #f5f3ff; color: #8b5cf6; }

/* Text Styling */
.crm-care-item__text {
    flex-grow: 1;
    text-align: left;
}

.crm-care-item__title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.crm-care-item__desc {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}

.crm-care-item__arrow {
    color: #494fc9;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.crm-care-item:hover .crm-care-item__arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Footer Section */
.carers-panel__footer-note {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f3f9;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.carers-panel__footer-note a {
    color: #494fc9;
    font-weight: 700;
    text-decoration: none;
}




.care-selector-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.care-selector-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.care-selector-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.care-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.care-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.care-opt:hover {
    background: #f1f5f9;
    border-color: #4950c9;
    transform: translateX(5px);
}

.opt-content strong {
    display: block;
    color: #1e293b;
    font-size: 1rem;
}

.opt-content span {
    color: #64748b;
    font-size: 0.85rem;
}

.opt-arrow {
    color: #4950c9;
    font-weight: bold;
}

.care-main-cta {
    display: block;
    text-align: center;
    background: #4950c9;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.care-main-cta:hover { opacity: 0.9; }



/* 1. Layout & Container */
.premium-review-card {
    background: linear-gradient(145deg, #ffffff, #f8faff);
    border: 1px solid rgba(142, 150, 233, 0.2);
    border-radius: 32px;
    padding: 40px;
    max-width: 520px;
    position: relative;
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(31, 38, 135, 0.12);
}

/* 2. Header & Badges */
.premium-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.verified-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.star-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* 3. Dates */
.review-date-relative {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.review-date-exact {
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-left: 8px;
    font-weight: 400;
}

/* 4. Review Body & Line Clamping */
.review-body {
    position: relative;
    margin-bottom: 35px;
}

.decorative-quote {
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 5rem;
    color: #8E96E9;
    opacity: 0.15;
    font-family: "Georgia", serif;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: 1;
    /* Line Clamping Logic */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

/* 5. Carer Reference Box */
.carer-reference-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8faff;
    border: 1px dashed #8E96E9;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 25px;
    transition: background 0.2s ease;
}

.carer-reference-box:hover {
    background: #f1f4ff;
}

.carer-mini-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-carer-img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tag-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.tag-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.view-carer-btn {
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.view-carer-btn:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

/* 6. Footer & Attribution */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 5px;
}

.reviewer-attribution {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.attribution-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.reviewer-name {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.signoff-logo {
    height: auto !important;
    opacity: 1;
    transition: opacity 0.2s;
    border-radius: 0px !important;
    max-width: 90px;
}

.premium-review-card:hover .signoff-logo {
    opacity: 1;
}
.crm-alt-image-box .section-image {
    width: 100%;
    height: auto;
    max-width: 400px;
}
.hidden-conditions {
  display: none !important;
}

@media (min-width: 992px) and (max-width: 1024px) {
  .why-choose-curam ul {
    padding-top: 0;
    margin-top: 0 !important;
  }

  .faq .section-title {
    padding-left: 15px;
    padding-right: 15px;
  }

  .why-choose-curam h2.section-title {
    margin-bottom: 0;
  }

  .blog-area .blog-content__footer p {
    font-size: var(--font-10) !important;
    line-height: 18px !important;
  }

  .blog-area .blog-content__footer {
    gap: 5px;
  }

  .py-50 {
    padding: 30px 0;
  }

  .section-title {
    font-size: var(--title-font-ipad);
  }

  .faq .accordion {
    padding: 0 15px;
  }

  .faq {
    max-width: calc(100% - 60px);
    margin: auto;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .blog-item-info h6.blog-title a {
    font-size: var(--font-16);
    line-height: 20px;
  }

  .why-choose-curam ul li h5 {
    font-size: var(--font-16);
  }
}
@media (min-width: 768px) {
    .show-more-wrapper {
        display: none;
    }
}
@media (max-width: 767px) {

  .signoff-logo
  {
    max-width: 75px;
  }
  .faq .section-title {
    padding: 0 15px;
  }
  .location-hero-banner__headline .lhb-grid {
    grid-template-columns: 1fr;
  }
  .location-hero-banner__headline .lhb-right {
    justify-content: center;
  }
  .carers-panel {
    width: 100%;
    padding: 20px;
  }
    .mobile-hidden {
        display: none !important;
    }
    
    .show-more-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .btn-show-more {
        background: #fff;
        border: 1px solid #3f51b5;
        color: #3f51b5;
        padding: 10px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        cursor: pointer;
    }
  .crm-carer-spotlight-card {
    margin: 0 auto;
    max-width: 100%;
  }
  .meta-pill__label {
    display: none;
  }
  .why-choose-curam ul li h5 {
    font-size: var(--font-16);
  }

  .section-title {
    font-size: var(--font-28);
  }

  .care-services-wrapper p {
    font-size: var(--font-16) !important;
  }
  .crm-alt-row,
  .crm-alt-row.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }
  .crm-alt-title {
    font-size: 1.8rem;
  }
  .crm-alt-image-box img {
    height: 300px;
  }

  .care-services-wrapper .call-us p {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .sublocation-section{
        grid-template-columns: 1fr; /* 1 item per row on mobile */
    }
  .location-hero-banner__media {
    padding: 20px 0 30px;
  }

  .location-hero-banner__breadcrumbs ol {
    width: 100%;
    justify-content: left;
  }

  .location-hero-banner__breadcrumbs li {
    gap: 3px;
    font-size: 12px;
  }

  .location-hero-banner__breadcrumbs li::after {
    width: 4px;
    height: 4px;
  }

  .location-hero-banner__title {
    text-align: center;
  }

  .location-hero-banner__headline {
    text-align: center;
  }

  .location-hero-banner__cta {
    justify-content: center;
  }
  .carers-panel__title{
    font-size: 1.1rem;
  }
  .carers-panel__footer-note p a, .carers-panel__footer-note p {
    font-size: 18px !important;
  }

  .py-50 {
    padding: 30px 0px;
  }

  .section-title {
    margin-bottom: 15px;
  }

  .about-livein-care {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .about-livein-content {
    width: 100%;
    padding-top: 0;
  }
  .why-choose-curam ul {
    flex-direction: column;
    gap: 15px;
  }

  .why-choose-curam ul li {
    width: 100%;
  }

  .blog-item-info h6.blog-title {
    line-height: 20px;
  }

  .blog-area ul {
    flex-direction: column;
    margin-bottom: 0;
  }

  .blog-area ul li {
    width: 100%;
  }

  .how-curam-works-inner {
    flex-direction: column;
    gap: 5px;
  }

  .how-curam-works-step {
    width: 100%;
  }

  .about-item-main {
    flex-direction: column;
  }
  .care-services-wrapper p:last-child {
    padding-bottom: 0;
  }

  .call-us {
    padding: 0 15px 20px;
  }

  .accordion-title h3::after {
    top: 12px;
  }

  .accordion-title {
    padding-right: 50px;
    font-size: var(--para-font-small);
  }

  .blog-item-info h6.blog-title a {
    font-size: var(--font-16);
    line-height: 24px;
  }

  .accordion {
    margin: 10px 10px 0;
  }

  .care-services-wrapper .container {
    padding: 0 15px !important;
  }

  .live-in {
    flex-direction: column;
    gap: 10px;
  }

  .live-in-right {
    height: auto;
    width: 100%;
  }
}

@media (min-width: 568px) and (max-width: 767px) {
  .accordion {
    margin-top: 0;
  }

  .about-item-main {
    flex-direction: row !important;
  }

  .why-choose-curam ul {
    flex-direction: row;
    align-items: flex-start;
    padding-top: 0 !important;
    margin-top: 0;
  }

  .why-choose-curam ul li p {
    font-size: var(--font-13) !important;
    line-height: 20px !important;
  }

  .faq {
    width: calc(100% - 60px);
    margin: auto;
  }

  .blog-area ul {
    flex-direction: row;
  }

  .blog-area .blog-content__footer {
    flex-wrap: wrap;
    gap: 5px;
  }

  .blog-area .blog-content__footer p {
    font-size: var(--font-13) !important;
  }

  .blog-item-info h6.blog-title a {
    font-size: var(--para-font-small) !important;
    line-height: 16px !important;
  }

  .blog-item-info {
    padding: 10px;
  }

  .btn-blue {
    padding: 12px 20px;
  }
}

@media (max-width: 567px) {
  .crm-rates-grid {
    grid-template-columns: 1fr;
  }
  .crm-rates-container{ padding: 18px; }
  .crm-rates-grid{ grid-template-columns: 1fr; }
  .crm-rate-card.highlighted{ transform: none; }
}