/* =========================================================
   CFH Hair & Skin Care — Homepage Stylesheet
   ========================================================= */

:root {
  --cfh-cream: #f3f8f4;
  --cfh-cream-dark: #e7f1e9;
  --cfh-green: #3fa84a;
  --cfh-green-dark: #2e7d38;
  --cfh-green-light: #d9efdb;
  --cfh-navy: #1c3b64;
  --cfh-navy-dark: #12253f;
  --cfh-gray: #5c6570;
  --cfh-gray-light: #98a2ac;
  --cfh-border: #dde6de;
  --cfh-white: #ffffff;
  --font-serif: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--cfh-navy);
  background: var(--cfh-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-serif);
}

a {
  text-decoration: none;
  color: inherit;
}

.section-pad {
  padding: 5rem 0;
}

@media (max-width:767px) {
  .section-pad {
    padding: 3rem 0;
  }
}

.bg-cream {
  background-color: var(--cfh-cream);
}

.bg-cream-dark {
  background-color: var(--cfh-cream-dark);
}

.text-green {
  color: var(--cfh-green) !important;
}

.text-muted-soft {
  color: var(--cfh-gray);
}

.eyebrow {
  color: var(--cfh-green);
  letter-spacing: 2px;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: .6rem;
  position: relative;
  padding-bottom: .7rem;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--cfh-green);
}

.eyebrow.center {
  padding-left: 0;
}

.text-center .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title {
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (max-width:767px) {
  .section-title {
    font-size: 1.9rem;
  }
}

.section-sub {
  color: var(--cfh-gray);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn-cfh {
  background-color: var(--cfh-green);
  border: 1px solid var(--cfh-green);
  color: #fff;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 8px;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.btn-cfh:hover {
  background-color: var(--cfh-green-dark);
  border-color: var(--cfh-green-dark);
  color: #fff;
}

.btn-cfh-outline {
  background: transparent;
  border: 1px solid var(--cfh-border);
  color: var(--cfh-navy);
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 8px;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.btn-cfh-outline:hover {
  background: var(--cfh-cream-dark);
  color: var(--cfh-navy);
}

.hero .btn-cfh-outline {
  padding-left: .6rem;
}

.hero .btn-cfh-outline i {
  background: var(--cfh-cream-dark);
  color: var(--cfh-green);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--cfh-navy);
  color: #e2e9f1;
  font-size: .78rem;
  padding: .45rem 0;
}

.topbar a {
  color: #e2e9f1;
}

.topbar .divider {
  opacity: .3;
  margin: 0 .6rem;
}

/* ---------- Navbar ---------- */
.navbar-cfh {
  padding: 1rem 0;
  background: #fff;
  border-bottom: 1px solid var(--cfh-border);
}

.navbar-cfh .brand-logo {
  width: 150px;
  height: auto;
  display: block;
}

@media (max-width:575px) {
  .navbar-cfh .brand-logo {
    height: 42px;
  }
}

.navbar-cfh .nav-link {
  color: var(--cfh-navy);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .9rem !important;
}

.navbar-cfh .nav-link:hover {
  color: var(--cfh-green);
}

.navbar-cfh .phone-chip {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--cfh-navy);
  font-weight: 600;
  font-size: .9rem;
}

.navbar-cfh .phone-chip .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--cfh-cream);
  position: relative;
  overflow: hidden;
}

.hero.section-pad {
  padding: 2.25rem 0 2.5rem;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width:991px) {
  .hero h1 {
    font-size: 4.0rem;
  }
}

.hero-kicker {
  color: var(--cfh-green);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: .2rem;
}

.hero-divider {
  width: 46px;
  height: 3px;
  background: var(--cfh-green);
  margin: .6rem 0 .7rem;
  border-radius: 2px;
}

.hero-notes-box {
  background: var(--cfh-cream-dark);
  border: 1px solid var(--cfh-border);
  border-radius: 12px;
  padding: .7rem 1.1rem;
}

.hero-notes-box .hero-note:last-child {
  margin-bottom: 0;
}

/* Reusable rounded image frame (e.g. Why CFH Exists founder portrait) */
.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stretches to match the height of a taller sibling column (row must use
   align-items-stretch); falls back to natural height when stacked on mobile */
.founder-img-wrap {
  height: 100%;
  min-height: 340px;
}

@media (max-width:991px) {
  .founder-img-wrap {
    min-height: auto;
  }
}

/* Decorative photo treatment: soft circle bleeding behind the image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: .5rem 0 2.75rem;
}

.hero-blob {
  position: absolute;
  top: -2%;
  right: 2%;
  width: 92%;
  aspect-ratio: 1/1;
  background: var(--cfh-green-light);
  border-radius: 50%;
  z-index: 0;
  opacity: .7;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/4.2;
  object-fit: cover;
  object-position: 60% 15%;
  border-radius: 16px;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}

/* Floating doctor-credibility card */
.hero-doctor-card {
  position: absolute;
  left: 50%;
  bottom: 2.75rem;
  transform: translate(-50%, 50%);
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px -14px rgba(32, 29, 27, .3);
  padding: .75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .7rem;
  width: max-content;
  max-width: 400px;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-doctor-card:hover {
  transform: translate(-50%, 46%);
  box-shadow: 0 24px 46px -14px rgba(32, 29, 27, .38);
}

.hero-doctor-card img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-doctor-card .hdc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
  width: 140px;
  flex-shrink: 0;
}

.hero-doctor-card .hdc-info strong {
  font-size: .8rem;
  white-space: nowrap;
}

.hero-doctor-card .hdc-info span {
  font-size: .62rem;
  color: var(--cfh-gray);
}

.hero-doctor-card .hdc-info span.role {
  color: var(--cfh-green);
  font-weight: 600;
}

.hero-doctor-card .hdc-divider {
  width: 1px;
  align-self: stretch;
  background: var(--cfh-border);
  flex-shrink: 0;
}

.hero-doctor-card .hdc-watch {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.hero-doctor-card .play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cfh-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
}

.hero-doctor-card .hdc-watch-text {
  font-size: .65rem;
  line-height: 1.25;
  color: var(--cfh-navy);
  white-space: nowrap;
}

.hero-doctor-card .hdc-watch-text strong {
  font-size: .75rem;
  display: block;
}

@media (max-width:575px) {
  .hero-doctor-card {
    max-width: 88vw;
  }

  .hero-doctor-card:hover {
    transform: translate(-50%, 50%);
  }

  .hero-doctor-card .hdc-info {
    width: auto;
  }

  .hero-doctor-card .hdc-divider {
    display: none;
  }
}

.hero-note {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: .35rem;
}

.hero-note i {
  color: var(--cfh-green);
}

.trust-strip {
  margin-top: 1.5rem;
}

.trust-strip .item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .85rem;
}

.trust-strip .item i {
  color: var(--cfh-green);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ---------- SURE Method ---------- */
.sure-quote {
  background: var(--cfh-cream-dark);
  border-radius: 12px;
  padding: 1.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-left: 4px solid var(--cfh-green);
}

.sure-quote span {
  color: var(--cfh-green);
}

.sure-card {
  border: 1px solid var(--cfh-border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #fff;
  transition: all .25s ease;
  cursor: pointer;
}

.sure-card.active {
  border-color: var(--cfh-green);
  box-shadow: 0 10px 30px rgba(63, 168, 74, .12);
}

.sure-card .letter {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cfh-green);
  line-height: 1;
}

.sure-card .head-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sure-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sure-card .step-label {
  font-size: .75rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--cfh-gray);
  text-transform: uppercase;
}

.sure-card h4 {
  margin: .1rem 0 0;
  font-weight: 700;
}

.sure-card .body-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin .35s ease;
}

.sure-card.active .body-content {
  max-height: 420px;
  margin-top: 1rem;
}

.sure-card .body-content img {
  width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
  object-fit: cover;
  max-height: 220px;
}

/* ---------- Choose Your Concern ---------- */
.concern-card {
  border: 1px solid var(--cfh-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
  height: 100%;
}

.concern-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}

.concern-card.active {
  border-color: var(--cfh-green);
  box-shadow: 0 12px 24px rgba(63, 168, 74, .15);
}

.concern-card .concern-img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

.concern-card .concern-body {
  padding: 1rem;
}

.concern-card .icon-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  margin-bottom: .6rem;
}

.concern-card h6 {
  font-weight: 700;
  margin-bottom: .15rem;
}

.concern-card p {
  font-size: .82rem;
  color: var(--cfh-gray);
  margin: 0;
}

.concern-detail {
  border: 1px solid var(--cfh-border);
  border-radius: 16px;
  background: #fff;
  padding: 1.75rem;
  height: 100%;
}

.concern-detail .reason-icon {
  text-align: center;
  font-size: .78rem;
  color: var(--cfh-gray);
}

.concern-detail .reason-icon .circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  font-size: 1.2rem;
  margin: 0 auto .4rem;
}

.concern-detail .treat-icon {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
}

.concern-detail .treat-icon .circle {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  font-size: 1.4rem;
  margin: 0 auto .4rem;
}

.concern-cta-strip {
  border: 1px solid var(--cfh-border);
  border-radius: 12px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
}

/* ---------- Why CFH ---------- */
.why-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.promise-box {
  background: var(--cfh-cream);
  border: 1px solid var(--cfh-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.promise-box li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .9rem;
  font-size: .92rem;
}

.promise-box li i {
  color: #2e9e58;
  margin-top: .2rem;
}

.signature {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--cfh-green);
}

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

.why-feature .circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  font-size: 1.3rem;
  margin: 0 auto .5rem;
}

.why-feature span {
  font-size: .8rem;
  font-weight: 600;
  display: block;
}

/* ---------- Treatments carousel ---------- */
.treat-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.treat-scroll::-webkit-scrollbar {
  height: 6px;
}

.treat-scroll::-webkit-scrollbar-thumb {
  background: var(--cfh-green-light);
  border-radius: 6px;
}

.treat-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border: 1px solid var(--cfh-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease;
}

.treat-card:hover {
  transform: translateY(-4px);
}

.treat-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.treat-card .cap {
  padding: .9rem;
  text-align: center;
  font-weight: 700;
}

.scroll-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cfh-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  flex-shrink: 0;
}

.scroll-arrow:hover {
  background: var(--cfh-green);
  color: #fff;
}

/* ---------- Solutions For You ---------- */
.solution-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--cfh-border);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.solution-card .solution-img {
  flex: 0 0 42%;
  position: relative;
}

.solution-card .solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-card .solution-body {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.solution-list {
  margin-bottom: 1.5rem;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .65rem;
  font-size: .93rem;
  color: #3f4854;
}

.solution-list li i {
  color: var(--cfh-green);
  font-size: .95rem;
}

@media (max-width:767px) {
  .solution-card {
    flex-direction: column;
    min-height: auto;
  }

  .solution-card .solution-img {
    flex: 0 0 220px;
    width: 100%;
  }

  .solution-card .solution-body {
    padding: 1.5rem;
  }
}

/* ---------- Doctors ---------- */
.doctor-card {
  border: 1px solid var(--cfh-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  height: 100%;
}

.doctor-card img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

.doctor-card .info {
  padding: 1.2rem;
}

.doctor-card h5 {
  font-weight: 700;
  margin-bottom: .1rem;
}

.doctor-card .role {
  color: var(--cfh-green);
  font-size: .82rem;
  font-weight: 600;
}

.doctor-card .exp {
  font-size: .78rem;
  color: var(--cfh-gray);
  margin-bottom: .6rem;
}

/* ---------- Journey stepper ---------- */
.journey-wrap {
  position: relative;
}

.journey-step {
  position: relative;
  text-align: center;
}

.journey-step .num-circle {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cfh-green);
  color: var(--cfh-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto .8rem;
}

.journey-step h6 {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .3rem;
}

.journey-step p {
  font-size: .78rem;
  color: var(--cfh-gray);
}

/* Connector line: drawn per-step as two half-segments so it never depends
   on Bootstrap's row/gutter math lining up with a single full-width overlay */
@media (min-width:768px) {

  .journey-step:not(:first-child)::before,
  .journey-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    height: 2px;
    background: var(--cfh-border);
    z-index: 0;
  }

  .journey-step:not(:first-child)::before {
    left: 0;
    width: 50%;
  }

  .journey-step:not(:last-child)::after {
    right: 0;
    width: 50%;
  }
}

/* ---------- Before / After ---------- */
.ba-card {
  border: 1px solid var(--cfh-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ba-card:hover {
  transform: translateY(-4px);
  border-color: var(--cfh-green);
  box-shadow: 0 12px 28px rgba(28, 59, 100, .08);
}

.ba-imgs {
  display: flex;
  position: relative;
}

.ba-imgs .half {
  width: 50%;
  position: relative;
}

.ba-imgs img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
}

.ba-imgs .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(18, 37, 63, .75);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 4px;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}

.ba-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ba-body h6 {
  font-weight: 700;
  margin-bottom: .25rem;
  font-size: 1.05rem;
  color: var(--cfh-navy);
}

.ba-body .meta {
  font-size: .8rem;
  color: var(--cfh-gray);
  margin-bottom: .85rem;
}

.ba-body a {
  font-size: .84rem;
  font-weight: 700;
  color: var(--cfh-green);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s ease, color .2s ease;
}

.ba-body a:hover {
  color: var(--cfh-green-dark);
  gap: .6rem;
}

/* Swiper Slider Custom Styles */
.ba-swiper {
  padding: 8px 4px 24px !important;
}

.ba-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.ba-swiper-nav {
  display: flex;
  gap: .6rem;
}

.ba-swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cfh-border);
  background: #fff;
  color: var(--cfh-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}

.ba-swiper-btn:hover {
  background: var(--cfh-green);
  border-color: var(--cfh-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 168, 74, .25);
}

.ba-swiper-btn.swiper-button-disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.ba-swiper-pagination {
  position: static !important;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
}

.ba-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--cfh-gray-light);
  opacity: .45;
  transition: all .25s ease;
  margin: 0 !important;
  border-radius: 4px;
}

.ba-swiper-pagination .swiper-pagination-bullet-active {
  width: 26px;
  background: var(--cfh-green);
  opacity: 1;
}

/* ---------- Reviews ---------- */
.review-card {
  border: 1px solid var(--cfh-border);
  border-radius: 16px;
  padding: 1.75rem;
  background: #fff;
  height: 100%;
}

.review-card .stars {
  color: #f5a623;
  font-size: 1rem;
}

.review-card .big-num {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-serif);
}

.review-card .quote-mark {
  font-size: 2.5rem;
  color: var(--cfh-green-light);
  line-height: .5;
  font-family: var(--font-serif);
}

.review-play-circle {
  width: 60px;
  height: 60px;
}

/* ---------- FAQ ---------- */
.accordion-cfh .accordion-item {
  border: 1px solid var(--cfh-border);
  border-radius: 12px !important;
  margin-bottom: .9rem;
  overflow: hidden;
}

.accordion-cfh .accordion-button {
  font-weight: 600;
  background: #fff;
  color: var(--cfh-navy);
}

.accordion-cfh .accordion-button:not(.collapsed) {
  background: var(--cfh-cream-dark);
  color: var(--cfh-green-dark);
  box-shadow: none;
}

.accordion-cfh .accordion-button:focus {
  box-shadow: none;
}

.accordion-cfh .accordion-button::after {
  filter: hue-rotate(-20deg);
}

/* ---------- Knowledge Center ---------- */
.blog-card {
  border: 1px solid var(--cfh-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}

.blog-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.1rem;
}

.blog-card .tag {
  font-size: .7rem;
  color: var(--cfh-green);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card h6 {
  font-weight: 700;
  margin: .4rem 0;
}

.blog-card a {
  font-size: .82rem;
  font-weight: 700;
  color: var(--cfh-navy);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--cfh-navy);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.final-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta h2 {
  font-size: 2.4rem;
}

.final-cta .trust-mini {
  font-size: .8rem;
  color: #b9c4d1;
}

.final-cta .trust-mini i {
  color: var(--cfh-green);
  margin-right: .3rem;
}

.cta-photo {
  max-height: 340px;
}

.eyebrow-on-dark {
  color: #8fd39a;
}

/* ---------- Footer ---------- */
footer {
  background: var(--cfh-navy-dark);
  color: #c3ccd6;
}

footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: #c3ccd6;
  font-size: .9rem;
  line-height: 2.1;
}

footer a:hover {
  color: var(--cfh-green);
}

footer .brand-text {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}

footer hr {
  border-color: #2a4265;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #33455f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3ccd6;
}

.social-circle:hover {
  background: var(--cfh-green);
  border-color: var(--cfh-green);
  color: #fff;
}

/* Doctor's Message video modal */
.video-modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  opacity: 1;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--cfh-cream) 0%, var(--cfh-cream-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.video-placeholder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(32, 29, 27, .15);
}

.play-btn-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cfh-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-top: 1rem;
  box-shadow: 0 10px 24px -6px rgba(63, 168, 74, .5);
}

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cfh-green);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  border: none;
}

/* ---------- Treatment landing pages (e.g. Anti-Greying Treatment) ---------- */
.circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cfh-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cfh-green);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge-cfh-green {
  background: var(--cfh-green);
  color: #fff;
  font-weight: 600;
  padding: .4em .8em;
  border-radius: 6px;
  font-size: .75rem;
}

.badge-cfh-navy {
  background: var(--cfh-navy);
  color: #fff;
  font-weight: 600;
  padding: .4em .8em;
  border-radius: 6px;
  font-size: .75rem;
}

.table-card {
  border: 1px solid var(--cfh-border);
  border-radius: 14px;
  overflow: hidden;
}

.table-cfh {
  margin-bottom: 0;
}

.table-cfh th {
  background: var(--cfh-cream-dark);
  color: var(--cfh-navy);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  padding: .9rem 1rem;
  white-space: nowrap;
}

.table-cfh td {
  vertical-align: middle;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--cfh-border);
  background: #fff;
  font-size: .9rem;
}

.table-cfh tr:last-child td {
  border-bottom: none;
}

.video-thumb {
  position: relative;
}

.video-thumb .play-btn-lg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 0;
}

.guide-cover {
  background: linear-gradient(160deg, var(--cfh-navy) 0%, var(--cfh-navy-dark) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.guide-cover i {
  font-size: 2.4rem;
  color: var(--cfh-green-light);
}

.guide-cover h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 1rem 0 .5rem;
}

.guide-cover p {
  font-size: .8rem;
  color: #c3ccd6;
  margin: 0;
}

/* Placeholder for real content awaiting verified/authentic assets (photos, videos, reviews) */
.pending-card {
  border: 1.5px dashed var(--cfh-border);
  border-radius: 14px;
  background: var(--cfh-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cfh-gray-light);
  padding: 1.5rem 1rem;
  min-height: 170px;
}

.pending-card i {
  font-size: 1.6rem;
  margin-bottom: .5rem;
}

.pending-card span {
  font-size: .78rem;
  font-weight: 600;
}

/* ==========================================================================
   Instagram Reels Swiper & 9:16 Cards Component
   ========================================================================== */
.reels-swiper-section {
  position: relative;
}

.reels-swiper {
  padding: 8px 4px 28px !important;
  overflow: hidden;
}

.reels-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

/* Reels Card Layout */
.reel-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--cfh-navy-dark);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 28, 46, 0.22);
  border-color: rgba(63, 168, 74, 0.3);
}

/* 9:16 Media Container */
.reel-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #09131f;
  overflow: hidden;
  border-radius: 18px;
}

.reel-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reel-card:hover .reel-poster {
  transform: scale(1.05);
}

/* Gradient Overlay */
.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 28, 46, 0.65) 0%,
      rgba(15, 28, 46, 0.1) 22%,
      rgba(15, 28, 46, 0.2) 48%,
      rgba(15, 28, 46, 0.88) 82%,
      #0f1c2e 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Top Meta Pill Bar */
.reel-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.reel-pill {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
}

.reel-pill i.bi-instagram {
  color: #ff3b77;
  font-size: 0.85rem;
}

.reel-views {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reel-views i {
  color: #8fd39a;
  font-size: 0.75rem;
}

/* Play Button */
.reel-play-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(63, 168, 74, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  z-index: 3;
  padding-left: 4px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 6px 20px rgba(63, 168, 74, 0.4);
}

.reel-card:hover .reel-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--cfh-green);
  border-color: #fff;
  box-shadow: 0 0 25px rgba(63, 168, 74, 0.75);
}

/* Bottom Content Info */
.reel-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.15rem 1.15rem;
  z-index: 3;
  color: #fff;
}

.reel-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8fd39a;
  margin-bottom: 0.4rem;
  background: rgba(63, 168, 74, 0.22);
  border: 1px solid rgba(143, 211, 154, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

.reel-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #cbd5e1;
  margin-bottom: 0.65rem;
}

.reel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fd39a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.reel-cta:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Video Player Layer when Playing in card */
.reel-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: none;
  background: #000;
}

.reel-card.is-playing .reel-video-container {
  display: block;
}

.reel-card.is-playing .reel-poster,
.reel-card.is-playing .reel-play-btn,
.reel-card.is-playing .reel-overlay,
.reel-card.is-playing .reel-bottom-info {
  display: none;
}

.reel-video-container iframe,
.reel-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.reel-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.reel-close-btn:hover {
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  transform: scale(1.1);
}

/* Navigation & Pagination */
.reels-swiper-nav {
  display: flex;
  gap: 0.6rem;
}

.reels-swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cfh-border);
  background: #fff;
  color: var(--cfh-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.reels-swiper-btn:hover {
  background: var(--cfh-green);
  border-color: var(--cfh-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 168, 74, 0.25);
}

.reels-swiper-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.reels-swiper-pagination {
  position: static !important;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
}

.reels-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--cfh-gray-light);
  opacity: 0.45;
  transition: all 0.25s ease;
  margin: 0 !important;
  border-radius: 4px;
}

.reels-swiper-pagination .swiper-pagination-bullet-active {
  width: 26px;
  background: var(--cfh-green);
  opacity: 1;
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */
.thankyou-section {
  min-height: calc(85vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  background: #f8fafc;
}

.thankyou-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 45px rgba(15, 28, 46, 0.07);
  border: 1px solid rgba(28, 59, 100, 0.05);
  animation: thankyouFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.thankyou-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #e8f8ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.thankyou-icon-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.thankyou-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--cfh-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.thankyou-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 460px;
  margin: 0 auto 2.25rem;
}

.thankyou-btn {
  background: var(--cfh-navy);
  color: #ffffff;
  padding: 0.85rem 2.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(28, 59, 100, 0.25);
  border: 2px solid var(--cfh-navy);
}

.thankyou-btn:hover {
  background: var(--cfh-green);
  border-color: var(--cfh-green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(63, 168, 74, 0.35);
}

@keyframes thankyouFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .thankyou-section {
    padding: 2.5rem 1rem;
  }
  .thankyou-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }
  .thankyou-title {
    font-size: 1.95rem;
  }
  .thankyou-desc {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  .thankyou-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }
}

/* ==========================================================================
   Form Validation & Feedback Enhancements
   ========================================================================== */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12) !important;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: #198754 !important;
  background-image: none !important;
}

.invalid-feedback {
  font-size: 0.8rem;
  font-weight: 500;
  color: #dc3545;
  margin-top: 0.35rem;
  display: none;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.btn-cfh:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

#contactFormAlert {
  border-radius: 12px;
  font-size: 0.9rem;
  padding: 0.85rem 1.25rem;
  margin-top: 0.5rem;
}