
:root {
  /*--primary-color: #2B69E1;*/
  --primary-color: #104885;
  /*--secondary-color: #6c757d;*/
  --secondary-color: #2B69E1;
  --background-color: #F5F5F5;
  --hover-text:#007bff; /* Bootstrap primary blue */

  --body-background-colour: radial-gradient(
  circle at 30% 40%,
  rgba(227, 233, 255, 0.7) 0%,
  rgba(252, 229, 239, 0.4) 25%,
  rgba(222, 231, 255, 0.6) 100%
);
  --card-shadow: 4px 6px 18px rgba(0, 0, 0, 0.08);
  --text-color: #212529;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-logo: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


/* Make all Bootstrap tooltips blue, rounded, readable */
.tooltip{
  --bs-tooltip-bg: #0d6efd;
  --bs-tooltip-color: #fff;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-font-size: .8rem;
  --bs-tooltip-padding-y: .25rem;
  --bs-tooltip-padding-x: .5rem;
  --bs-tooltip-border-radius: .5rem;
}
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before { border-top-color: var(--bs-tooltip-bg) !important; }
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before { border-right-color: var(--bs-tooltip-bg) !important; }
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before { border-bottom-color: var(--bs-tooltip-bg) !important; }
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before { border-left-color: var(--bs-tooltip-bg) !important; }
.tooltip .tooltip-inner{ box-shadow: 0 2px 6px rgba(16,72,133,.18); }


body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  /*color: #212529;*/
  margin: 0;
  padding: 0;
  background: var(--body-background-colour);

}

h1, h2, h3, h4, h5, h6 {
  /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
  /* font-weight: 700; */
  color: var(--text-color);
}

h1 { font-size: 2.4rem; line-height: 1.2; }
h2 { font-size: 2.0rem; line-height: 1.25; }
h3 { font-size: 1.7rem; line-height: 1.3; }
h4 { font-size: 1.4rem; line-height: 1.35; }
h5 { font-size: 1.2rem; line-height: 1.4; }
h6 { font-size: 1.05rem; line-height: 1.4; }


.section-heading h2{
  font-size: 1.1rem;     /* similar to h5 */
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-heading h3 {
  font-size: 0.5rem;     /* similar to h5 */
  /* font-weight: 400; */
  margin-top: 1.5rem;
  margin-bottom: 1.0rem;
}




.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.08); /* Shadow shifted right & down */
  background-color: #fff;
}



/* spotlight */
.spotlight-justify {
  text-align: justify;
  text-justify: inter-word;      /* helps some engines */
  hyphens: auto;                  /* nicer justification for long words */
  max-width: 100ch;                /* optional: a comfy column width */
}

.spotlight-justify p { margin: 0 0 1rem; }

/* If you want the LAST LINE to also reach the right edge (usually not recommended),
   uncomment the next line: */
/* .spotlight-justify { text-align-last: justify; } */

.navbar {
  border-bottom: 1px solid var(--primary-color); /* Bootstrap primary blue */
}
.ndis-navbar{
  background: #fff;
  border-bottom: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  width: min(1320px, calc(100% - 2rem));
  margin: 1rem auto;
  border-radius: 1.25rem;
}

.ndis-navbar .container{
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.ndis-navbar .navbar-brand{ color: inherit !important; }
.ndis-navbar .brand-ndis{ color: var(--secondary-color); }
.ndis-navbar .brand-reviews{ color: rgba(33,37,41,.92); }

.ndis-navbar .navbar-brand .fw-bold{
  font-family: var(--font-logo);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.ndis-navbar .navbar-brand .brand-tagline{
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

.ndis-navbar .nav-link{
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(33,37,41,.86);
  padding: .6rem .9rem;
  transform: none;
}

.ndis-navbar .nav-link:hover{
  color: var(--hover-text);
  transform: none;
}

.ndis-navbar .nav-link.active{
  color: var(--secondary-color);
  font-weight: 600;
}

.ndis-navbar .nav-link.active::after{
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: -.25rem;
  height: 3px;
  border-radius: 9999px;
  background: var(--secondary-color);
}
.navbar-brand {
  /*color: #007BFF !important; !* Material Design blue 500 *!*/
  color: var(--primary-color) !important; /* Custom blue */

}

.navbar .nav-link {
  color: #212529; /* default dark text */
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover {
  color: #007bff; /* Bootstrap primary blue */
  transform: scale(1.1);
  text-decoration: none;
}

/* Optional: make the active nav item blue too */
.navbar .nav-link.active {
  /*color: var(--primary-color);*/
  color: var(--secondary-color);
  font-weight: 600;
}


.alert.auto-dismiss { transition: opacity .3s ease; 
}
.alert.auto-dismiss.is-fading { opacity: 0; 
}

/* === Brand band (above footer) === */
.brand-band{
  padding: 1rem 0 1.25rem;
  background: linear-gradient(180deg, rgba(13,110,253,.06), rgba(13,110,253,.03));
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
  z-index: 2; /* keep it above any preceding artwork */
}

/* Centre the whole logo+text unit inside the container */
.brand-band .container{
  display: flex;
  justify-content: center;
}

/* The inline-sized wrapper that actually gets centred */
.brand-wrap{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

/* Circle logo */
.brand-mark{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.brand-mark img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Text block */
.brand-title{ line-height: 1.1; }
.brand-tagline{ color: #6c757d; }

/* === Contact & About page === */
.contact-about-title{
  font-weight: 700;
  letter-spacing: -0.3px;
}

.contact-about-illustration img{
  width: 340px;
  max-width: 40vw;
  height: auto;
  display: block;
  border-radius: 1rem;
  opacity: .96;
}

.contact-about-card{
  border-radius: 1.25rem;
}

.contact-about-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.contact-about-icon i{ font-size: 1.1rem; }

.contact-about-icon--primary{
  background: rgba(43,105,225,.12);
  color: var(--secondary-color);
}

.contact-about-icon--success{
  background: rgba(25,135,84,.12);
  color: #198754;
}

.contact-about-icon--info{
  background: rgba(13,110,253,.10);
  color: #0d6efd;
}

.contact-about-icon--warning{
  background: rgba(255,193,7,.18);
  color: #b58100;
}

.contact-about-icon--danger{
  background: rgba(220,53,69,.12);
  color: #dc3545;
}

.contact-about-icon--subtle{
  background: rgba(16,72,133,.08);
  color: var(--primary-color);
}

.contact-about-form .input-group-text{
  background: rgba(16,72,133,.04);
  border-color: rgba(0,0,0,.12);
}

.contact-about-form .form-control{
  border-color: rgba(0,0,0,.12);
}

.contact-about-form textarea.form-control{
  min-height: 148px;
}

.contact-about-safe{
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .85rem .95rem;
  border-radius: 1rem;
  background: rgba(13,110,253,.05);
  border: 1px solid rgba(13,110,253,.10);
}

.contact-about-feature{
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.contact-about-feature--last{
  padding-bottom: 0;
}

.contact-about-mini{
  border-radius: 1.25rem;
}
.lh-1{ line-height: 1; } /* keep utility intent */

/* Back bar just below the header */
.site-backbar{
  background: transparent;
  padding: 0;
}

.site-backbar-inner{
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  width: min(1320px, calc(100% - 2rem));
  margin: .25rem auto 1rem;
  border-radius: 1.25rem;
  padding: .75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.back-btn{
  border-radius: .9rem;
  padding: .6rem .9rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Auth pages (login/signup/password reset) */
.auth-page{
  padding: 2.25rem 0 3rem;
}

.auth-shell{
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card{
  max-width: 520px;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
  padding: 2.25rem 2.25rem 1.8rem;
}

.auth-icon{
  width: 66px;
  height: 66px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.10);
  color: var(--primary-color);
  margin: 0 auto 1.25rem;
}

.auth-icon i{ font-size: 1.7rem; }

.auth-title{
  text-align: center;
  margin: 0;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.3px;
  color: rgba(17,24,39,.94);
}

.auth-subtitle{
  text-align: center;
  margin: .45rem auto 1.35rem;
  max-width: 46ch;
  color: rgba(33,37,41,.66);
  font-weight: 600;
}

.auth-primary-btn{
  border-radius: .95rem;
  padding: .85rem 1.05rem;
  font-weight: 700;
}

.auth-secondary-btn{
  border-radius: .95rem;
  padding: .75rem 1.05rem;
  font-weight: 700;
}

.auth-divider{
  display: flex;
  align-items: center;
  gap: .8rem;
  color: rgba(33,37,41,.55);
  font-weight: 700;
  font-size: .9rem;
}

.auth-divider::before,
.auth-divider::after{
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(0,0,0,.10);
}

.auth-social-btn{
  border-radius: .95rem;
  padding: .75rem 1.05rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.auth-social-btn:hover{
  background: rgba(13,110,253,.06);
  border-color: rgba(13,110,253,.25);
}

.auth-social-btn i{ font-size: 1.25rem; }

.auth-link{
  text-decoration: none;
  font-weight: 700;
}

.auth-link:hover{ text-decoration: underline; }

.auth-foot{
  text-align: center;
  color: rgba(33,37,41,.70);
  font-weight: 600;
}

.auth-foot a{ font-weight: 800; text-decoration: none; }
.auth-foot a:hover{ text-decoration: underline; }

.auth-card .form-label{
  font-weight: 700;
  color: rgba(33,37,41,.78);
}

.auth-card .form-control{
  border-radius: .85rem;
  padding: .85rem .95rem;
}

.auth-card .form-select{
  border-radius: .85rem;
}

@media (max-width: 576px){
  .auth-page{ padding: 1.5rem 0 2.25rem; }
  .auth-card{ padding: 1.6rem 1.25rem 1.35rem; border-radius: 1.1rem; }
  .auth-title{ font-size: 1.85rem; }
}



/* === Footer === */

/* Footer CTA (banner above footer) */
.footer-cta{
  padding-bottom: 1.25rem;
}

.footer-cta-card{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(13,110,253,.08), rgba(13,110,253,.03));
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

.footer-cta-copy{
  max-width: 560px;
}

.footer-cta-title{
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-color);
}

.footer-cta-subtitle{
  color: rgba(33,37,41,.75);
}

.footer-cta-btn{
  padding: .65rem 1.25rem;
  border-radius: .75rem;
  font-weight: 600;
}

.footer-cta-art{
  flex: 0 0 360px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-cta-art img{
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px){
  .footer-cta-card{
    flex-direction: column;
    padding: 1.5rem 1.25rem;
  }
  .footer-cta-art{
    flex-basis: auto;
    justify-content: center;
  }
  .footer-cta-title{ font-size: 1.6rem; }
}

/* Site footer (multi-column) */
.site-footer{
  margin-top: 1.5rem;
  padding: 2.5rem 0 2rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}

.site-footer-top{
  padding: .5rem 0 1.25rem;
}

.footer-brand-logo{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  background: #fff;
}

.footer-brand-name{
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--primary-color);
  line-height: 1.05;
  font-size: 1.75rem;
}

.footer-brand-name-accent{
  display: inline-block;
  font-weight: 800;
  color: rgba(33,37,41,.9);
}

.footer-brand-tagline{
  color: rgba(33,37,41,.65);
  font-size: .95rem;
}

.footer-brand-blurb{
  color: rgba(33,37,41,.72);
  margin: 0;
  max-width: 48ch;
}

.footer-badge{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(13,110,253,.03);
  max-width: 320px;
}

.footer-badge-icon{
  width: 38px;
  height: 38px;
  border-radius: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.12);
  color: var(--primary-color);
}

.footer-badge-title{
  font-weight: 700;
  line-height: 1.1;
}

.footer-badge-subtitle{
  color: rgba(33,37,41,.65);
  font-size: .92rem;
}

.site-footer-heading{
  font-weight: 700;
  color: rgba(33,37,41,.9);
  margin-bottom: .75rem;
}

.site-footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

.site-footer-links a{
  color: rgba(33,37,41,.75);
  text-decoration: none;
}

.site-footer-links a:hover{
  color: var(--hover-text);
  text-decoration: none;
}

/* Subtle vertical divider between the middle columns on lg+ */
@media (min-width: 992px){
  .site-footer-col{
    border-right: 1px solid rgba(0,0,0,.06);
  }
}

.footer-social{
  display: flex;
  gap: .75rem;
  align-items: center;
}

.footer-social-btn{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: var(--primary-color);
  transition: transform .15s ease, color .15s ease, background-color .15s ease;
}

.footer-social-btn:hover{
  transform: translateY(-1px);
  color: #fff;
  background: var(--primary-color);
}

.site-footer-divider{
  border-color: rgba(0,0,0,.08);
  margin: 1.5rem 0 1rem;
}

.site-footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(33,37,41,.72);
  font-size: .95rem;
}

.site-footer-bottom-right{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.site-footer-bottom-right a{
  color: rgba(33,37,41,.72);
  text-decoration: none;
}

.site-footer-bottom-right a:hover{
  color: var(--hover-text);
}

.site-footer-bottom-sep{
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,.16);
}

.site-footer-bottom-muted{
  color: rgba(33,37,41,.55);
}

.site-footer-disclaimer{
  margin-top: 1rem;
  color: rgba(33,37,41,.55);
  font-size: .9rem;
}

.footer a {
  color: var(--secondary-color) !important; /* Override Bootstrap .text-dark */
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer a:hover {
  color: var(--hover-text) !important; /* Bootstrap 5 primary blue */
  transform: scale(1.3);
  text-decoration: none;
}

.footer a i {
  transition: inherit;
  font-size: 1.4rem;
  /*color: var(--primary-color); !* Override Bootstrap .text-dark *!*/
}

.footer .footer-bubble span {
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--hover-text);  /* light blue bubble */
  color: var(--hover-text);            /* Bootstrap primary blue */
  border-radius: 12px;
  padding: 2px 8px;
  margin-left: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer .footer-bubble:hover span {
  background-color: var(--hover-text);
  color: white;
  transform: scale(1);
  /*color: #007bff;*/
}

.footer-icon {
  position: relative;
  display: inline-block;
}

.footer-icon .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: var(--hover-text);
  color: white;
  text-align: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
  transition: opacity 0.2s ease-in-out;
}

.footer-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* === Banner Images === */

/* Home hero (banner with overlay content) */
.home-hero{
  margin-top: 1rem;
}

.home-trustbar{
  margin-top: 1rem;
}

.home-trustbar-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
  border-radius: 1.5rem;
  padding: 1.1rem clamp(1rem, 2.4vw, 1.5rem);
}

.home-trustbar-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 2.2vw, 1.25rem);
  align-items: center;
}

.home-trustbar-item{
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}

.home-trustbar-icon{
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.10);
  color: var(--primary-color);
  flex: 0 0 auto;
}

.home-trustbar-icon i{ font-size: 1.15rem; }

.home-trustbar-title{
  font-weight: 700;
  color: rgba(17,24,39,.92);
  line-height: 1.15;
}

.home-trustbar-subtitle{
  margin-top: .15rem;
  color: rgba(33,37,41,.70);
  font-size: .92rem;
  line-height: 1.2;
}

@media (max-width: 991.98px){
  .home-trustbar-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px){
  .home-trustbar-grid{ grid-template-columns: 1fr; }
}

/* Explore by category */
.home-explore{
  margin-top: 2.5rem;
}

.home-explore-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.home-explore-title{
  margin: 0;
  font-weight: 800;
  color: rgba(17,24,39,.94);
}

.home-explore-link{
  font-weight: 700;
  text-decoration: none;
}

.home-explore-link i{ margin-left: .35rem; }

.home-explore-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.25rem);
}

.home-explore-grid--states{
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

/* Latest reviews */
.home-latest{
  margin-top: 2.75rem;
}

.home-latest-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.home-latest-title{
  margin: 0;
  font-weight: 800;
  font-size: 2rem;
  color: rgba(17,24,39,.94);
}

.home-latest-subtitle{
  margin-top: .35rem;
  color: rgba(33,37,41,.70);
  max-width: 70ch;
}

.home-latest-all-btn{
  border-radius: .9rem;
  padding: .6rem .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-review-card{
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
  padding: 1.35rem 1.35rem 1.15rem;
}

.home-review-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .8rem;
}

.home-review-stars i{
  font-size: 1.15rem;
  margin-right: .08rem;
}

.home-review-date{
  color: rgba(33,37,41,.60);
  font-weight: 600;
  font-size: .95rem;
}

.home-review-provider{
  color: rgba(33,37,41,.72);
  margin-bottom: .85rem;
}

.home-review-provider-name{
  font-weight: 800;
  text-decoration: none;
}

.home-review-provider-name:hover{ text-decoration: underline; }

.home-review-blurb{
  color: rgba(17,24,39,.90);
  margin: 0;
  line-height: 1.55;
}

.home-review-divider{
  margin: 1.15rem 0;
  border-color: rgba(0,0,0,.08);
}

.home-review-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-review-user{
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.home-review-avatar{
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(13,110,253,.10);
  border: 1px solid rgba(0,0,0,.06);
}

.home-review-avatar-fallback{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-color);
}

.home-review-user-text{ min-width: 0; }

.home-review-user-name{
  font-weight: 800;
  color: rgba(17,24,39,.92);
  line-height: 1.15;
}

.home-review-user-role{
  color: rgba(33,37,41,.64);
  font-weight: 600;
  font-size: .95rem;
}

.home-review-verified{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border-radius: 9999px;
  border: 1px solid rgba(var(--bs-success-rgb), .22);
  background: rgba(var(--bs-success-rgb), .12);
  color: var(--bs-success);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}

.home-review-actions{
  margin-top: 1rem;
}

.home-review-actions .btn{
  border-radius: .75rem;
  padding: .5rem .9rem;
  font-weight: 700;
}

.home-review-cta{
  margin-top: 1.6rem;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.5rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.05);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-review-cta-left{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-review-cta-icon{
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.10);
  color: var(--primary-color);
  flex: 0 0 auto;
}

.home-review-cta-icon i{ font-size: 1.5rem; }

.home-review-cta-title{
  font-weight: 800;
  color: rgba(17,24,39,.92);
}

.home-review-cta-subtitle{
  color: rgba(33,37,41,.66);
  font-weight: 600;
}

.home-review-cta .btn{
  border-radius: .9rem;
  padding: .65rem 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767.98px){
  .home-latest-head{ flex-direction: column; align-items: flex-start; }
  .home-review-cta{ flex-direction: column; align-items: flex-start; }
  .home-review-cta .btn{ width: 100%; }
}

/* Provider spotlights */
.home-spotlights{
  margin-top: 2.75rem;
}

.home-spotlights-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.home-spotlights-title{
  margin: 0;
  font-weight: 800;
  font-size: 2rem;
  color: rgba(17,24,39,.94);
}

.home-spotlights-all-btn{
  border-radius: .9rem;
  padding: .6rem .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-spotlight-card{
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.home-spotlight-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.home-spotlight-image{
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.home-spotlight-body{
  padding: 1.1rem 1.2rem 1.15rem;
}

.home-spotlight-card-title{
  font-weight: 800;
  color: rgba(17,24,39,.92);
  margin-bottom: .35rem;
}

.home-spotlight-card-subtitle{
  color: rgba(33,37,41,.70);
  margin-bottom: .55rem;
  line-height: 1.45;
}

.home-spotlight-card-provider{
  color: rgba(33,37,41,.64);
  font-weight: 600;
  font-size: .95rem;
}

@media (max-width: 767.98px){
  .home-spotlights-head{ flex-direction: column; align-items: flex-start; }
}

.home-explore-card{
  display: block;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  padding: 1.25rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.home-explore-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.home-explore-icon{
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.10);
  color: var(--primary-color);
  margin-bottom: .95rem;
}

.home-explore-icon i{ font-size: 1.4rem; }

.home-explore-name{
  font-weight: 800;
  color: rgba(17,24,39,.92);
  margin-bottom: .25rem;
}

.home-explore-count{
  color: rgba(33,37,41,.66);
  font-weight: 600;
  font-size: .95rem;
}

@media (max-width: 1199.98px){
  .home-explore-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-explore-grid--states{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px){
  .home-explore-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px){
  .home-explore-grid{ grid-template-columns: 1fr; }
}

.home-hero-card{
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  overflow: hidden;
  background: linear-gradient(120deg, rgba(13,110,253,.10), rgba(255,255,255,.92) 48%, rgba(13,110,253,.06));
}

.home-hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  min-height: clamp(420px, 42vw, 620px);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.home-hero-content{
  max-width: 640px;
}

.home-hero-badge{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,0,0,.06);
  color: rgba(33,37,41,.82);
  font-weight: 600;
  font-size: .92rem;
}

.home-hero-title{
  margin-top: 1.25rem;
  margin-bottom: .75rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  color: rgba(17,24,39,.94);
}

.home-hero-title-accent{
  color: var(--secondary-color);
}

.home-hero-subtitle{
  color: rgba(33,37,41,.74);
  max-width: 56ch;
  margin-bottom: 1.25rem;
}

.home-hero-search{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: .75rem;
}

.home-hero-media{
  position: relative;
  height: 100%;
  min-height: 320px;
}

.home-hero-media-clip{
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  /* More rounded/circular cutout (closer to reference) */
  clip-path: ellipse(82% 95% at 58% 50%);
}

.home-hero-media-clip img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero-rating{
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(520px, 82%);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1.1rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  padding: .95rem 1.05rem;
}

.home-hero-trust-top{
  display: flex;
  align-items: center;
  gap: .9rem;
}

.home-hero-trust-icon{
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .12));
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-hero-trust-icon .bi{
  font-size: 1.75rem;
}

.home-hero-rating-title{
  font-weight: 700;
  color: rgba(17,24,39,.92);
  font-size: 1.55rem;
  line-height: 1.05;
  margin-bottom: .45rem;
}

.home-hero-trust-text .home-hero-rating-muted{
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 500;
  color: rgba(33,37,41,.72);
}

.home-hero-trust-divider{
  height: 1px;
  background: rgba(var(--bs-primary-rgb), .20);
  margin: .7rem 0;
}

.home-hero-trust-bottom{
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;
}

.home-hero-trust-rating{
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}

.home-hero-trust-rating-top{
  display: flex;
  align-items: center;
  gap: .75rem;
}

.home-hero-rating-stars{
  white-space: nowrap;
  line-height: 1;
}

.home-hero-rating-stars i{
  font-size: 1.05rem;
  margin-right: .08rem;
}

.home-hero-rating-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .34rem .6rem;
  border-radius: .85rem;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .12));
  border: 1px solid rgba(var(--bs-primary-rgb), .16);
  color: var(--bs-primary);
  font-weight: 800;
  font-size: 1.05rem;
}

.home-hero-trust-sep{
  width: 1px;
  height: 30px;
  background: rgba(0,0,0,.10);
}

.home-hero-trust-verified{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.home-hero-trust-verified-icon{
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .12));
  border: 1px solid rgba(var(--bs-primary-rgb), .16);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-hero-trust-verified-icon .bi{
  font-size: 1.05rem;
}

.home-hero-trust-verified-text{
  font-weight: 650;
  color: rgba(17,24,39,.86);
  line-height: 1.1;
  font-size: .98rem;
}

@media (max-width: 1199.98px){
  .home-hero-rating{
    width: min(460px, 90%);
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 575.98px){
  .home-hero-trust-bottom{ flex-wrap: wrap; }
}

.home-hero-rating-row{
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .75rem;
}

.home-hero-rating-score{
  font-weight: 800;
  font-size: 1.55rem;
  color: rgba(17,24,39,.92);
}

.home-hero-rating-stars i{
  font-size: 1.15rem;
  margin-right: .1rem;
}

.home-hero-rating-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.home-hero-avatars{
  display: inline-flex;
  align-items: center;
}

.home-hero-avatar{
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .12));
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}

.home-hero-avatar:first-child{ margin-left: 0; }

.home-hero-rating-muted{
  color: rgba(33,37,41,.64);
  font-weight: 600;
}

.home-hero-search-row{
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr auto;
  gap: .75rem;
  align-items: center;
}

.home-hero-search-field{
  position: relative;
}

.home-hero-search-field .bi{
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(33,37,41,.55);
  pointer-events: none;
}

.home-hero-search-field .form-control{
  padding-left: 2.35rem;
  height: 46px;
  border-radius: .95rem;
}

.home-hero-search-field .form-select{
  height: 46px;
  border-radius: .95rem;
}

.home-hero-search-btn{
  height: 46px;
  border-radius: .95rem;
  padding: 0 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-hero-chips{
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

.home-hero-chips-label{
  color: rgba(33,37,41,.72);
  font-weight: 600;
  font-size: .92rem;
  margin-right: .25rem;
}

.home-hero-chip{
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.06);
  color: rgba(33,37,41,.78);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}

.home-hero-chip:hover{
  color: var(--hover-text);
  text-decoration: none;
}

@media (max-width: 991.98px){
  .home-hero-grid{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .home-hero-content{ max-width: 100%; }
  .home-hero-media{
    min-height: 340px;
  }
  .home-hero-media-clip{
    clip-path: ellipse(90% 92% at 50% 45%);
  }
  .home-hero-search-row{
    grid-template-columns: 1fr;
  }
  .home-hero-search-btn{ width: 100%; }
}

.banner-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-banner{
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  background: #fff;
  height: clamp(320px, 38vw, 620px);
}

.banner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 22%;
  transform: translate(-50%, -50%);
  height: 90%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}


/* === Buttons === */

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-danger.text-white {
    color: #fff !important;
}

/* === Review Card === */
.review-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e3e3e3;
}

.review-card p {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

.review-card .review-meta {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: -5px;
}

.review-card .review-author {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.review-card img.profile-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.review-card .review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}


.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.rating-row .label {
  font-weight: 600;
  min-width: 150px;      
  flex-shrink: 0;    
}

.rating-row .stars {
  flex-grow: 1;
  white-space: nowrap;
}

.rating-row .stars i {
  font-size: 1rem;
}


.rating-inline .bi { 
  vertical-align: -0.12em; 
}

.d-none {
  display: none;
}

/*!* === dropdown list === *!*/


.form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.form-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


/* === providers links === */

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--hover-text, #007bff);
  border-radius: 8px;
  background-color: white;
  color: var(--hover-text, #007bff);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.link-btn:hover {
  background-color: var(--hover-text, #007bff);
  color: white;
  transform: scale(1.03);
}

.link-btn i {
  font-size: 1.1rem;
}

/* === Add Icon === */

.card-title {
  padding-right: 2.5rem; /* adjust as needed for the icon size */
}


.card-title .badge {
  font-size: 0.85rem;
  padding: 0.25em 0.5em;
}

.ad-icon {
  color: #198754;        /* Bootstrap's green color */
  font-size: 1.5rem;     /* adjust size as you like */
}


.custom-card {
  border: 4px solid #9ec5fe;   /* light blue border */
  border-radius: 0.5rem;       /* rounded corners */
  background-color: #ffffff;   /* white background */
  box-shadow: 0 0 5px rgba(158, 197, 254, 0.5); /* optional subtle glow */
  padding: 1.5rem;             /* inner spacing */
  transition: border-color 0.3s, box-shadow 0.3s;
}



.custom-card:hover {
  border-color: #4a90e2;       /* slightly darker blue on hover */
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}



.accordion-body ul { padding-left: 1.25rem; margin-bottom: 0; }


.badge.bg-secondary-subtle {
  background: rgba(108,117,125,.12);
  border: 1px solid rgba(108,117,125,.2);
}

  .map-thumb-wrap { max-width: 320px; }
  .map-frame {
    width: 100%;
    aspect-ratio: 4 / 3;        /* responsive 4:3 box */
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
  }
  .map-actions a {
    text-decoration: none;
  }

/* Justify text, but keep the final line left-aligned */
/* .lead-justify {
  text-align: justify;
  text-align-last: left; 
} */


@media (max-width: 1600px) {
  .logo-overlay {
    left: 15%;
    height: 90%;
  }
}

@media (max-width: 1200px) {
  .logo-overlay {
    left: 18%;
    height: 90%;
  }
}


/* Keep collapsed nav items stable on hover (no horizontal shift) */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    justify-content: flex-start; /* left align */
  }

  .navbar .navbar-nav .nav-link {
    display: block;
    width: 100%;
    padding: .5rem 1rem;
    /* Reserve the same left border in both states so hover doesn't move it */
    border-left: 2px solid transparent;
    /* Avoid hover changes that cause reflow */
    margin-left: 0 !important;
    transform: none !important;
    letter-spacing: normal;
    /* Keep transitions cosmetic only */
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
    font-weight: 500; /* don't jump to bold on hover */
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link:focus {
    border-left-color: var(--bs-primary); /* highlight without shifting */
    color: var(--bs-primary);
    background: rgba(13,110,253,.06);     /* subtle highlight (optional) */
  }

  /* Active item styling (no shift) */
  .navbar .navbar-nav .nav-link.active {
    border-left-color: var(--bs-primary);
    color: var(--bs-primary);
    background: rgba(13,110,253,.08);
    font-weight: 600; /* if you really want bold, keep it consistent */
  }
}


@media (max-width: 768px) {
  .logo-overlay {
    left: 18%;
    height: 80%;
  }
}

@media (max-width: 576px) {

    .banner-wrapper {
    max-height: 100px;
  }

  .logo-overlay {
    left: 18%;
    height: 90%;
  }
    .ranking-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ranking-label {
    margin-bottom: 0.25rem;
  }
  .rating-row .stars i {
  font-size: 0.8rem;
  }

  .site-backbar-inner{
    width: calc(100% - 1rem);
    margin: .25rem auto .75rem;
    border-radius: 1rem;
    padding: .6rem;
  }
  .back-btn{
    padding: .55rem .85rem;
  }

    .lead-justify {
    text-align: left;         /* avoid awkward justification on phones */
  }

}


@media (max-width: 400px) {
  .logo-overlay {
    display: none;
  }

  .banner-wrapper {
    max-height: 60px;
  }
}




@media (min-width: 992px) {
  .sidebar-sticky { position: sticky; top: 88px; }
}
.map-thumb-wrap { max-width: 100%; }
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.map-actions a { text-decoration: none; }


/* === Provider List (results) === */
.provider-list-page .provider-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
}

.provider-list-page .provider-breadcrumb .breadcrumb{
  margin-bottom:0;
}

@media (min-width: 992px){
  .provider-list-page .provider-sidebar{ position: sticky; top: 96px; }
}

.provider-list-page .provider-sidebar-card{
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.provider-list-page .provider-sidebar-title{
  font-weight: 650;
  font-size: .95rem;
  color: var(--bs-secondary-color);
  margin-bottom: .5rem;
}

.provider-list-page .provider-popular{
  display:flex;
  flex-wrap:wrap;
  gap: .5rem;
}

.provider-list-page .provider-results-head{
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

/* Override the legacy blue-glow custom-card on this page only */
.provider-list-page .provider-filters .custom-card{
  border: 1px solid var(--bs-border-color) !important;
  border-radius: 1.25rem;
  background: var(--bs-body-bg);
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  padding: 0;
}

.provider-list-page .provider-filters .accordion-button{
  border-radius: 1.25rem;
}

.provider-card{
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  padding: .95rem;
}

.provider-card__inner{
  display:flex;
  align-items:flex-start;
  gap: 1rem;
}

.provider-card__inner--v2{ gap: 1.25rem; }

.provider-card__rail{
  flex: 0 0 160px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

.provider-card__logo-box{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: var(--bs-body-bg);
  padding: 1rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

.provider-card__logo{ flex: 0 0 auto; }

.provider-card__logo-img,
.provider-card__logo-fallback{
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  display:flex;
  align-items:center;
  justify-content:center;
}

.provider-card__logo-img{ object-fit: contain; }

.provider-card__logo-fallback{
  color: var(--bs-secondary-color);
  font-size: 1.35rem;
}

.provider-card__content{ flex: 1 1 auto; min-width: 0; }

.provider-card__content--v2{ width: 100%; }

.provider-card__rail-actions{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  gap: .25rem;
}

.provider-card__rail-btn{
  display:flex;
  align-items:center;
  gap: .75rem;
  padding: .4rem .25rem;
  text-decoration:none;
  color: var(--bs-body-color);
}

.provider-card__rail-btn:hover{ text-decoration:none; }

.provider-card__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1.25rem;
}

.provider-card__badge-row{
  display:flex;
  flex-wrap:wrap;
  gap: .5rem;
  margin-bottom: .5rem;
}

.provider-card__pill-row{
  display:flex;
  flex-wrap:wrap;
  gap: .5rem;
  margin-top: .65rem;
}

/* Provider card pills + service chips (match screenshot style) */
.provider-card__pill-row .badge,
.provider-card__chips .badge,
.provider-list-page .provider-popular .badge,
.provider-list-page .provider-popular .btn-outline-secondary{
  display:inline-flex;
  align-items:center;
  gap: .45rem;
  padding: .55rem 1rem !important;
  border-radius: 0.75rem !important;
  font-weight: 650 !important;
  background-color: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10)) !important;
  border: 0 !important;
  color: var(--bs-primary-text-emphasis, var(--bs-primary)) !important;
}

.provider-card__chips{
  display:flex;
  flex-wrap:wrap;
  gap: .6rem;
}

.provider-card__pill-row .badge .bi,
.provider-card__chips .badge .bi,
.provider-list-page .provider-popular .badge .bi{
  color: currentColor;
}

.provider-list-page .provider-popular a{
  text-decoration: none;
}

/* Compatibility: older Bootstrap Icons builds may not include `bi-hand-heart`. */
.provider-card__footer .bi-hand-heart::before{ content: "\f417"; }

.provider-card__ratingline{
  margin-top: .75rem;
  display:flex;
  gap: .75rem;
  align-items:center;
}

.provider-card__location{ margin-top: .25rem; }

.provider-card__cta{ white-space:nowrap; }

.provider-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
}

.provider-card__title-wrap{ min-width: 0; }

.provider-card__title{
  display:inline-block;
  font-weight: 750;
  font-size: 1.1rem;
  color: var(--bs-body-color);
  text-decoration:none;
}

.provider-card__title:hover{ text-decoration: underline; }

.provider-card__meta{
  margin-top: .25rem;
  font-size: .9rem;
}

.provider-rating i{ color: var(--bs-warning); }

.provider-rating-number{
  font-weight: 750;
  margin-right: .35rem;
  color: var(--bs-body-color);
}

.provider-card__badges{
  display:flex;
  flex-wrap:wrap;
  gap: .4rem;
  justify-content:flex-end;
}

.provider-card__services{
  margin-top: .45rem;
  font-size: .9rem;
}

.provider-card__services .bi{ margin-right: .35rem; }

.provider-card__services-more{ margin-left: .35rem; }

.provider-card__desc--v2{ margin-top: 1rem; max-width: 56rem; }

.provider-card__services-block{ margin-top: 1rem; }

.provider-card__section-title{ font-weight: 750; margin-bottom: .5rem; }

.provider-card__footer{
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(0,0,0,.10);
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Short dividers between footer columns (not full height). */
.provider-card__footer .provider-card__metric{ position: relative; }
.provider-card__footer .provider-card__metric:not(:first-child)::before{
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: rgba(0,0,0,.10);
}

.provider-card__metric{ display:flex; gap: .85rem; align-items:flex-start; }

.provider-card__metric-title{ font-weight: 750; }

.provider-card__metric-icon{
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--bs-primary);
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.provider-card__metric-icon--coverage{
  background-color: var(--bs-success-bg-subtle, rgba(var(--bs-success-rgb), .12));
  border-color: var(--bs-success-border-subtle, rgba(var(--bs-success-rgb), .18));
  color: var(--bs-success-text-emphasis, var(--bs-success));
}

/* Fallback if templates are cached: first footer metric is "Service coverage". */
.provider-card__footer .provider-card__metric:first-child .provider-card__metric-icon{
  background-color: var(--bs-success-bg-subtle, rgba(var(--bs-success-rgb), .12));
  border-color: var(--bs-success-border-subtle, rgba(var(--bs-success-rgb), .18));
  color: var(--bs-success-text-emphasis, var(--bs-success));
}

/* Physical locations icon (2nd metric): purple/indigo. */
.provider-card__footer .provider-card__metric:nth-child(2) .provider-card__metric-icon{
  background-color: rgba(var(--bs-primary-rgb), .12);
  border-color: rgba(var(--bs-primary-rgb), .18);
  color: var(--bs-primary);
}

@supports (color: color-mix(in srgb, black, white)){
  .provider-card__footer .provider-card__metric:nth-child(2) .provider-card__metric-icon{
    --provider-locations-accent: color-mix(in srgb, var(--bs-primary) 65%, var(--bs-danger) 35%);
    background-color: color-mix(in srgb, var(--provider-locations-accent) 12%, transparent);
    border-color: color-mix(in srgb, var(--provider-locations-accent) 18%, transparent);
    color: var(--provider-locations-accent);
  }
}

/* Reviews icon (3rd metric): warning/yellow. */
.provider-card__footer .provider-card__metric:nth-child(3) .provider-card__metric-icon{
  background-color: var(--bs-warning-bg-subtle, rgba(var(--bs-warning-rgb), .12));
  border-color: var(--bs-warning-border-subtle, rgba(var(--bs-warning-rgb), .18));
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
}

.provider-card__actions{
  flex: 0 0 168px;
  display:flex;
  flex-direction:column;
  gap: .5rem;
}

@media (max-width: 575.98px){
  .provider-card__inner{ flex-direction: column; }
  .provider-card__rail{ flex: 0 0 auto; width: 100%; }
  .provider-card__header{ flex-direction: column; }
  .provider-card__footer{ grid-template-columns: 1fr; }
  .provider-card__footer .provider-card__metric:not(:first-child)::before{ display:none; }
}

/* Remove Website button from cards (safety if templates are cached). */
.provider-card__header-right a.btn-outline-secondary{ display:none !important; }

.provider-pagination .page-link{
  border-radius: 9999px;
  margin: 0 .15rem;
}

.provider-pagination .page-item.active .page-link{
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.provider-filter-form{ display:flex; flex-direction:column; gap: .85rem; }

.provider-filter-section{
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.provider-filter-section:last-child{ border-bottom: 0; padding-bottom: 0; }

.provider-filter-heading{
  font-weight: 750;
  font-size: .95rem;
  margin-bottom: .5rem;
}

.provider-filter-list{ display:flex; flex-direction:column; gap: .35rem; margin-top: .5rem; }

.provider-filter-item .form-check-label{ font-size: .92rem; }

.provider-filter-showmore{ font-weight: 650; text-decoration: none; }
.provider-filter-showmore:hover{ text-decoration: underline; }

.provider-filter-stars .stars i{ color: var(--bs-warning); }


/* === Provider Detail (public profile) v2 === */
.provider-detail-page .provider-profile-v2__hero{
  border-radius: 1.25rem;
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.provider-profile-v2__hero-grid{
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 220px;
  gap: 1.25rem;
  align-items: start;
}

.provider-profile-v2__logo{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.provider-profile-v2__logo-img,
.provider-profile-v2__logo-fallback{
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  display:flex;
  align-items:center;
  justify-content:center;
}

.provider-profile-v2__logo-img{ object-fit: contain; }

.provider-profile-v2__logo-fallback{ color: var(--bs-secondary-color); font-size: 1.5rem; }

.provider-profile-v2__title{
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.provider-profile-v2__ratingline{
  display:flex;
  align-items:center;
  flex-wrap: wrap;
  gap: .15rem;
}

.provider-profile-v2__ratingnum{
  font-weight: 800;
  color: var(--bs-body-color);
}

.provider-profile-v2__cta-btn{
  border-radius: var(--bs-border-radius-pill);
  padding: .6rem 1rem;
}

.provider-profile-v2__save{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: .5rem;
  padding: .35rem .25rem;
  text-decoration:none;
  color: var(--bs-body-color);
}

.provider-profile-v2__save:hover{ text-decoration:none; }

.provider-detail-page__big-rating{
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.provider-detail-page__dist-star{ width: 1.4rem; text-align: right; }
.provider-detail-page__dist-pct{ width: 2.8rem; text-align: right; }
.provider-detail-page__dist-bar{ height: .4rem; border-radius: 9999px; }
.provider-detail-page__dist-bar .progress-bar{ border-radius: 9999px; }

.provider-detail-page__services{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 576px){
  .provider-detail-page__services{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 992px){
  .provider-detail-page__services{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.provider-detail-page__service{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: .55rem;
}

.provider-detail-page__service-icon{
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid var(--bs-border-color);
  background-color: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10));
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.25rem;
}

.provider-detail-page__card-title h2{ line-height: 1.15; }

.provider-detail-page__title-icon,
.provider-detail-page__sub-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 9999px;
  border: 1px solid var(--bs-border-color);
  flex: 0 0 auto;
}

.provider-detail-page__title-icon{
  width: 34px;
  height: 34px;
  font-size: 1.05rem;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10));
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
}

.provider-detail-page__title-icon--info{
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10));
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
}

.provider-detail-page__title-icon--success{
  background: var(--bs-success-bg-subtle, rgba(var(--bs-success-rgb), .10));
  color: var(--bs-success-text-emphasis, var(--bs-success));
  border-color: var(--bs-success-border-subtle, var(--bs-border-color));
}

.provider-detail-page__title-icon--warning{
  background: var(--bs-warning-bg-subtle, rgba(var(--bs-warning-rgb), .12));
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
  border-color: var(--bs-warning-border-subtle, var(--bs-border-color));
}

.provider-detail-page__title-icon--service{
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10));
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
}

.provider-detail-page__sub-icon{
  width: 30px;
  height: 30px;
  font-size: .95rem;
  background: var(--bs-secondary-bg-subtle, rgba(var(--bs-secondary-rgb), .10));
  color: var(--bs-secondary-text-emphasis, var(--bs-secondary));
}

/* === Service coverage grouped (public + dashboard) === */
.provider-coverage-v2{ display:flex; flex-direction:column; gap: 1rem; }

.provider-coverage-v2__group{ margin: 0; }

.provider-coverage-v2__panel{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: .85rem;
  background: var(--bs-body-bg);
}

.provider-coverage-v2__row{ padding: .65rem 0; }
.provider-coverage-v2__row + .provider-coverage-v2__row{ border-top: 1px solid var(--bs-border-color); }

.provider-coverage-v2__callout{ border-radius: .9rem; }

.provider-coverage-v2__callout-icon{
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 28px;
  background: var(--bs-warning-bg-subtle, rgba(var(--bs-warning-rgb), .12));
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
}

.provider-coverage-v2__badge{ font-weight: 650; }

.provider-coverage-v2__badge--active{
  background: var(--bs-success-bg-subtle, rgba(var(--bs-success-rgb), .10));
  color: var(--bs-success-text-emphasis, var(--bs-success));
  border: 1px solid var(--bs-success-border-subtle, var(--bs-border-color));
}

.provider-coverage-v2__badge--onrequest{
  background: var(--bs-warning-bg-subtle, rgba(var(--bs-warning-rgb), .12));
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
  border: 1px solid var(--bs-warning-border-subtle, var(--bs-border-color));
}

.provider-coverage-v2__badge--waitlist{
  background: var(--bs-secondary-bg-subtle, rgba(var(--bs-secondary-rgb), .10));
  color: var(--bs-secondary-text-emphasis, var(--bs-secondary));
  border: 1px solid var(--bs-secondary-border-subtle, var(--bs-border-color));
}

@media (max-width: 991.98px){
  .provider-profile-v2__hero-grid{ grid-template-columns: 88px minmax(0, 1fr); }
  .provider-profile-v2__cta{ grid-column: 1 / -1; }
}

/* === Provider reviews v2 === */
.provider-reviews-v2__cta{
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.provider-reviews-v2__cta-foot{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: .5rem;
  text-align:center;
}

.provider-reviews-v2__cta-icon{
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--bs-border-color);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  background: var(--bs-warning-bg-subtle, rgba(var(--bs-warning-rgb), .12));
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
}

.provider-review-v2{
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

.provider-review-v2__avatar{
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex: 0 0 auto;
}

.provider-review-v2__submeta{
  gap: .5rem;
}

.provider-review-v2__dot{
  opacity: .6;
}

.provider-review-v2__stars-icons i{ color: var(--bs-warning); }

.provider-review-v2__verified{
  font-weight: 650;
  background: var(--bs-success-bg-subtle, rgba(var(--bs-success-rgb), .10));
  color: var(--bs-success-text-emphasis, var(--bs-success));
  border: 1px solid var(--bs-success-border-subtle, var(--bs-border-color));
}

.provider-review-v2__actions{
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: .75rem;
}

.provider-review-v2__pill{
  border-radius: var(--bs-border-radius-pill);
  padding: .35rem .65rem;
  display:inline-flex;
  align-items:center;
  gap: .35rem;
  line-height: 1;
}

.provider-review-v2__pill-label{
  font-weight: 600;
}

.provider-review-v2__reactions .btn-outline-secondary{
  background: var(--bs-tertiary-bg);
  border-color: var(--bs-border-color);
}

.provider-review-v2__reactions .btn-outline-secondary:hover{
  background: var(--bs-secondary-bg-subtle);
}

.provider-review-v2__reply{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: none;
  background: var(--bs-body-bg);
  margin-left: 2.75rem;
}

@media (max-width: 575.98px){
  .provider-review-v2__reply{ margin-left: 0; }
}

.provider-review-v2__reply-avatar{
  width: 34px;
  height: 34px;
  object-fit: cover;
  flex: 0 0 auto;
}

.provider-review-v2__reply--provider{
  background: rgba(var(--bs-primary-rgb), .04);
  border-color: rgba(var(--bs-primary-rgb), .35);
  border-left-width: 4px;
  border-left-color: rgba(var(--bs-primary-rgb), .65);
  box-shadow: 0 10px 22px rgba(var(--bs-primary-rgb), .06);
}

.provider-review-v2__provider-badge{
  font-weight: 650;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10));
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
  border: 1px solid rgba(var(--bs-primary-rgb), .35);
}

.provider-review-v2__show-more{
  align-self: flex-start;
}

.provider-review-v2__reply-cta{
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: .75rem;
  margin-top: .75rem;
}

/* Thread connector: review -> replies */
.provider-review-v2__thread{
  position: relative;
  padding-left: 2.75rem;
}

.provider-review-v2__thread .provider-review-v2__reply{
  margin-left: 0;
  position: relative;
}

.provider-review-v2__thread::before{
  content: "";
  position: absolute;
  top: .25rem;
  bottom: .25rem;
  left: 1.15rem;
  width: 2px;
  background: rgba(var(--bs-primary-rgb), .15);
  border-radius: 9999px;
}

.provider-review-v2__thread .provider-review-v2__reply::before{
  content: "";
  position: absolute;
  top: 1.15rem;
  left: -1.6rem;
  width: 1.6rem;
  height: 2px;
  background: rgba(var(--bs-primary-rgb), .15);
  border-radius: 9999px;
}

.provider-review-v2__thread .provider-review-v2__reply-cta{
  margin-left: 0;
}

/* Jobs listing (v2 styling) */
.jobs-v2__hero-art{
  border: 1px solid var(--bs-border-color);
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--bs-primary-rgb), .10), rgba(var(--bs-primary-rgb), 0) 60%),
    var(--bs-body-bg);
}

.jobs-v2__provider-avatar{
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.jobs-v2__provider-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-reviews-v2__standards-icon{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--bs-primary-bg-subtle, rgba(var(--bs-primary-rgb), .10));
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
  flex: 0 0 auto;
}

@media (max-width: 575.98px){
  .provider-review-v2__thread{ padding-left: 0; }
  .provider-review-v2__thread::before{ display:none; }
  .provider-review-v2__thread .provider-review-v2__reply::before{ display:none; }
}




