/* =========================================================
   HealthcareRecover — Custom Stylesheet
   ========================================================= */
:root {
  --hc-teal: #0f766e;
  --hc-teal-dark: #0b5a54;
  --hc-teal-light: #14b8a6;
  --hc-deep: #0d2b33;
  --hc-mint: #eefaf7;
  --hc-accent: #f59e0b;
  --hc-body: #55696f;
  --hc-heading: #10353d;
  --hc-radius: 14px;
  --hc-shadow: 0 0.6rem 1.6rem rgba(13, 43, 51, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--hc-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", "Segoe UI", serif;
  color: var(--hc-heading);
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--hc-teal); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--hc-teal-dark); }

.text-teal { color: var(--hc-teal) !important; }
.bg-mint { background-color: var(--hc-mint) !important; }

/* ---------- Section helpers ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hc-teal);
  background: var(--hc-mint);
  border: 1px solid rgba(15, 118, 110, 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.75rem; }
.section-sub { max-width: 640px; margin: 0 auto 1rem; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50rem; font-weight: 600; padding: 0.65rem 1.5rem; transition: all 0.25s ease; }
.btn-teal {
  background: var(--hc-teal);
  color: #fff;
  border: 1px solid var(--hc-teal);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.28);
}
.btn-teal:hover {
  background: var(--hc-teal-dark);
  border-color: var(--hc-teal-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-teal {
  border: 1.5px solid var(--hc-teal);
  color: var(--hc-teal);
  background: transparent;
}
.btn-outline-teal:hover { background: var(--hc-teal); color: #fff; }
.btn-light-pill { background: #fff; color: var(--hc-teal-dark); border: 1px solid #fff; }
.btn-light-pill:hover { background: var(--hc-mint); color: var(--hc-teal-dark); transform: translateY(-2px); }
.btn-ghost-pill { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; background: transparent; }
.btn-ghost-pill:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--hc-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar a { color: rgba(255, 255, 255, 0.88); }
.topbar a:hover { color: #fff; }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 1.25rem; }
.topbar .topbar-item svg { color: var(--hc-teal-light); }

/* ---------- Navbar ---------- */
.site-navbar {
  background: #fff;
  box-shadow: 0 6px 24px rgba(13, 43, 51, 0.08);
  padding: 0.65rem 0;
}
.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hc-teal) 0%, var(--hc-teal-light) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}
.brand-name { font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--hc-heading); line-height: 1.1; }
.brand-name span { color: var(--hc-teal); }
.brand-sub { display: block; font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--hc-body); font-family: "Segoe UI", sans-serif; font-weight: 600; }

.site-navbar .navbar-nav .nav-link {
  color: var(--hc-heading);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 50rem;
}
.site-navbar .navbar-nav .nav-link:hover { color: var(--hc-teal); }
.site-navbar .navbar-nav .nav-link.active { color: var(--hc-teal); background: var(--hc-mint); }
.site-navbar .dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: var(--hc-shadow);
  padding: 0.5rem;
  min-width: 200px;
}
.site-navbar .dropdown-item { border-radius: 8px; font-weight: 600; color: var(--hc-heading); padding: 0.5rem 0.85rem; }
.site-navbar .dropdown-item:hover, .site-navbar .dropdown-item.active { background: var(--hc-mint); color: var(--hc-teal); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(9, 42, 48, 0.92) 0%, rgba(13, 63, 70, 0.82) 45%, rgba(15, 118, 110, 0.55) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 6rem 0;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero h1 .accent { color: #7ff0dd; }
.hero p.lead-text { color: rgba(255, 255, 255, 0.92); font-size: 1.08rem; max-width: 560px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.25rem; }
.hero-stat h3 { color: #fff; font-size: 1.7rem; margin-bottom: 0.1rem; }
.hero-stat small { color: rgba(255, 255, 255, 0.8); letter-spacing: 0.5px; }
.hero .check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero .check-list li { color: rgba(255,255,255,0.94); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.check-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--hc-teal-light); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.check-ico svg { width: 12px; height: 12px; }
.check-ico.green { background: #22c55e; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(100deg, rgba(9, 42, 48, 0.94) 0%, rgba(13, 63, 70, 0.86) 50%, rgba(15, 118, 110, 0.72) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 640px; margin: 0 auto; }
.breadcrumb { justify-content: center; margin-top: 1rem; margin-bottom: 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.9rem; }
.breadcrumb-item.active { color: #7ff0dd; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.6); }

/* ---------- Cards ---------- */
.card-hc {
  background: #fff;
  border: 1px solid rgba(13, 43, 51, 0.07);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
}
.card-hc:hover { transform: translateY(-6px); box-shadow: 0 1.1rem 2.2rem rgba(13, 43, 51, 0.14); }

/* Service cards */
.service-card { overflow: hidden; }
.service-card .svc-img-wrap { position: relative; overflow: hidden; }
.service-card .svc-img-wrap img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .svc-img-wrap img { transform: scale(1.06); }
.service-card .svc-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.93rem; margin-bottom: 1.1rem; flex: 1 1 auto; }

/* Icon feature cards */
.icon-card { padding: 1.8rem 1.6rem; }
.icon-emoji {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--hc-mint);
  border: 1px solid rgba(15, 118, 110, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.icon-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.icon-card p { font-size: 0.93rem; margin-bottom: 0; }

/* Testimonials */
.testimonial-card { padding: 1.8rem 1.7rem; position: relative; }
.testimonial-card .quote-ico {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(15, 118, 110, 0.14);
  font-family: Georgia, serif;
}
.stars { color: var(--hc-accent); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 0.7rem; }
.testimonial-card .t-text { font-size: 0.95rem; font-style: italic; color: var(--hc-body); }
.t-person { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.1rem; }
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hc-teal), var(--hc-teal-light));
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.t-person h4 { font-size: 0.98rem; margin: 0; font-family: "Segoe UI", sans-serif; }
.t-person small { color: var(--hc-body); }

/* Blog cards */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card .blog-img-wrap { overflow: hidden; }
.blog-card .blog-img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }
.blog-card .blog-body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.92rem; flex: 1 1 auto; }
.blog-more { display: none; font-size: 0.92rem; }
.blog-more.show { display: block; }

/* FAQ */
.accordion-item { border: 1px solid rgba(13, 43, 51, 0.08); border-radius: 12px !important; overflow: hidden; margin-bottom: 0.85rem; box-shadow: var(--hc-shadow); }
.accordion-button { font-weight: 700; color: var(--hc-heading); font-size: 1rem; padding: 1.05rem 1.25rem; }
.accordion-button:not(.collapsed) { background: var(--hc-mint); color: var(--hc-teal); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: rgba(15, 118, 110, 0.25); }
.accordion-body { font-size: 0.94rem; color: var(--hc-body); }

/* ---------- About / split ---------- */
.img-frame { position: relative; }
.img-frame img { width: 100%; border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); object-fit: cover; }
.img-frame .badge-float {
  position: absolute;
  bottom: -18px;
  right: -10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--hc-shadow);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.badge-float .num { font-family: Georgia, serif; font-weight: 700; font-size: 1.35rem; color: var(--hc-teal); line-height: 1; }
.badge-float small { color: var(--hc-body); font-size: 0.76rem; line-height: 1.3; }

.feature-line { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1rem; }
.feature-line .check-ico { margin-top: 3px; }
.feature-line h4 { font-size: 1rem; margin: 0 0 0.15rem; font-family: "Segoe UI", sans-serif; font-weight: 700; }
.feature-line p { margin: 0; font-size: 0.92rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--hc-deep); color: #fff; }
.stats-band .stat h3 { color: #7ff0dd; font-size: 2.1rem; margin-bottom: 0.15rem; }
.stats-band .stat small { color: rgba(255, 255, 255, 0.8); letter-spacing: 1px; text-transform: uppercase; font-size: 0.78rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--hc-teal-dark) 0%, var(--hc-teal) 55%, var(--hc-teal-light) 100%);
  border-radius: 22px;
  color: #fff;
  padding: 3.2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); }

/* ---------- Forms ---------- */
.form-shell { background: #fff; border-radius: 18px; box-shadow: var(--hc-shadow); border: 1px solid rgba(13, 43, 51, 0.06); }
.form-shell .form-body { padding: 2rem 2rem 2.2rem; }
.form-label { font-weight: 600; color: var(--hc-heading); font-size: 0.92rem; }
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid #dce7e6;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus { border-color: var(--hc-teal-light); box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.15); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.form-control.is-valid, .form-select.is-valid { border-color: #22c55e; }
.invalid-feedback { font-size: 0.83rem; }

.info-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.3rem; }
.info-tile .icon-emoji { margin-bottom: 0; width: 52px; height: 52px; font-size: 1.4rem; flex: 0 0 auto; }
.info-tile h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.info-tile p, .info-tile a { font-size: 0.92rem; margin: 0; }

.map-frame { border-radius: var(--hc-radius); overflow: hidden; box-shadow: var(--hc-shadow); line-height: 0; }
.map-frame iframe { width: 100%; height: 340px; border: 0; }

.alert-success-hc {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 12px;
  font-size: 0.94rem;
}
.alert-success-hc strong { color: #064e3b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--hc-deep); color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; font-family: "Segoe UI", sans-serif; font-weight: 700; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: #7ff0dd; padding-left: 3px; }
.site-footer .footer-links li { margin-bottom: 0.55rem; }
.site-footer .footer-contact li { display: flex; gap: 0.6rem; margin-bottom: 0.75rem; align-items: flex-start; }
.site-footer .footer-contact svg { color: var(--hc-teal-light); flex: 0 0 auto; margin-top: 4px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.45rem;
}
.footer-social a:hover { background: var(--hc-teal); border-color: var(--hc-teal); color: #fff; padding-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
.footer-newsletter input { border-radius: 50rem 0 0 50rem; border: none; padding: 0.55rem 1rem; font-size: 0.88rem; }
.footer-newsletter .btn { border-radius: 0 50rem 50rem 0; }

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hc-teal);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 1050;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--hc-teal-dark); color: #fff; }

/* ---------- Legal pages ---------- */
.legal-card { padding: 2.6rem 2.6rem 2.2rem; }
.legal-card h2 { font-size: 1.35rem; margin: 1.9rem 0 0.6rem; }
.legal-card h2:first-of-type { margin-top: 0.4rem; }
.legal-card p, .legal-card li { font-size: 0.95rem; }
.legal-card ul, .legal-card ol { padding-left: 1.3rem; }
.legal-card li { margin-bottom: 0.4rem; }
.legal-updated { background: var(--hc-mint); border: 1px solid rgba(15,118,110,0.18); color: var(--hc-teal-dark); border-radius: 50rem; display: inline-block; padding: 0.3rem 1rem; font-size: 0.83rem; font-weight: 700; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .navbar-cta { margin-top: 0.75rem; }
  .cta-band { padding: 2.6rem 1.6rem; text-align: center; }
  .cta-band .d-flex { justify-content: center !important; }
}
@media (max-width: 575.98px) {
  .section { padding: 3.5rem 0; }
  .img-frame .badge-float { right: 8px; bottom: -14px; }
}
