/* ============================================================
   NEURODIVERGENT HORIZONS CLINIC — SHARED STYLESHEET
   Design language: "Growth Grove" — rounded, warm, botanical.
   Palette pulled from the clinic's tree + infinity mark.
   ============================================================ */

:root {
  /* ---- brand palette (from logo) ---- */
  --navy: #1B3B5F;
  --navy-deep: #12293F;
  --teal: #2BA9A6;
  --teal-dark: #1E8481;
  --orange: #F5921F;
  --yellow: #FDC02F;
  --green: #6DBE45;
  --sky: #3B9FD9;
  --pink: #EC6FA0;

  /* ---- neutrals ---- */
  --cream: #FBF9F3;
  --cream-2: #F4EFE2;
  --sand: #EFE7D4;
  --ink: #35485E;
  --ink-soft: #64768B;
  --white: #FFFFFF;

  /* ---- type ---- */
  --font-display: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  /* ---- shape ---- */
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 100px;

  /* ---- shadow ---- */
  --shadow-soft: 0 12px 30px -12px rgba(27, 59, 95, .18);
  --shadow-pop: 0 20px 45px -15px rgba(27, 59, 95, .28);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

p {
  line-height: 1.75;
  color: var(--ink-soft);
}

a {
  text-decoration: none;
  color: var(--teal-dark);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--teal-dark);
  background: rgba(43, 169, 166, .1);
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

@media (max-width:767.98px) {
  .section {
    padding: 4rem 0;
  }
}

.text-teal {
  color: var(--teal) !important;
}

.text-orange {
  color: var(--orange) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.bg-cream {
  background: var(--cream) !important;
}

.bg-sand {
  background: var(--cream-2) !important;
}

.bg-navy {
  background: var(--navy) !important;
}

/* wavy / organic section dividers */
.divider {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
}

.divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-brand {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .85rem 1.9rem;
  border: none;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(245, 146, 31, .55);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-brand:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 30px -8px rgba(245, 146, 31, .6);
  background: #e6830c;
  color: #fff;
}

.btn-brand-outline {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .8rem 1.85rem;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-brand-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-teal {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .85rem 1.9rem;
  border: none;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(43, 169, 166, .55);
  transition: transform .25s ease, box-shadow .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-teal:hover {
  transform: translateY(-3px) scale(1.03);
  color: #fff;
  box-shadow: 0 16px 30px -8px rgba(43, 169, 166, .6);
}

.btn-sm-pill {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .5rem 1.2rem;
  font-size: .85rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nhc-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1.15rem 0;
  transition: all .35s ease;
  background: transparent;
}

.nhc-navbar.scrolled {
  background: rgba(251, 249, 243, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(27, 59, 95, .25);
  padding: .6rem 0;
}

.nhc-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.1;
}

.nhc-navbar .navbar-brand img {
  height: 48px;
  width: auto;
  transition: height .3s ease;
}

.nhc-navbar.scrolled .navbar-brand img {
  height: 40px;
}

.nhc-navbar .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.nhc-navbar .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy) !important;
  padding: .55rem 1rem !important;
  position: relative;
}

.nhc-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .25rem;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nhc-navbar .nav-link:hover::after,
.nhc-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.nhc-navbar .nav-link.active {
  color: var(--orange) !important;
}

.nhc-navbar .navbar-toggler {
  border: none;
  box-shadow: none !important;
}

/* ============================================================
   FLOATING DECORATIVE ICONS
   ============================================================ */
.float-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.float-item {
  position: absolute;
  opacity: .85;
  animation: floatY 7s ease-in-out infinite, floatRotate 10s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(27, 59, 95, .15));
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-22px);
  }
}

@keyframes floatRotate {

  0%,
  100% {
    transform: rotate(-6deg);
  }

  50% {
    transform: rotate(6deg);
  }
}

.float-item.slow {
  animation-duration: 11s, 14s;
}

.float-item.fast {
  animation-duration: 5s, 7s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 9.5rem 0 6rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(253, 192, 47, .28), transparent 45%),
    radial-gradient(circle at 8% 85%, rgba(59, 159, 217, .22), transparent 45%),
    linear-gradient(180deg, #FFFDF8 0%, var(--cream) 100%);
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  position: relative;
  color: var(--teal-dark);
  white-space: nowrap;
}

.hero h1 .highlight svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 16px;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.hero-stats .stat-label {
  font-size: .82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-art {
  position: relative;
  z-index: 2;
}

.hero-art .art-blob {
  position: absolute;
  inset: 6% 8%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--sand) 100%);
  border-radius: 58% 42% 65% 35% / 45% 55% 45% 55%;
  box-shadow: var(--shadow-pop);
  animation: blobMorph 12s ease-in-out infinite;
  z-index: -1;
}

@keyframes blobMorph {

  0%,
  100% {
    border-radius: 58% 42% 65% 35% / 45% 55% 45% 55%;
  }

  50% {
    border-radius: 42% 58% 40% 60% / 58% 42% 60% 40%;
  }
}

.hero-art img.tree-illustration {
  position: relative;
  z-index: 2;
  animation: floatY 6s ease-in-out infinite;
}

.badge-floating {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: .85rem;
  z-index: 3;
  animation: floatY 5s ease-in-out infinite;
}

.badge-floating .icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ============================================================
   ICON CIRCLES / small utility
   ============================================================ */
.icon-circle-lg {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 10px 20px -8px rgba(27, 59, 95, .35);
}

.bg-grad-teal {
  background: linear-gradient(135deg, var(--teal), var(--sky));
}

.bg-grad-orange {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.bg-grad-green {
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.bg-grad-pink {
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.bg-grad-sky {
  background: linear-gradient(135deg, var(--sky), var(--teal));
}

.bg-grad-navy {
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  margin-top: -5.5rem;
  z-index: 5;
}

.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(253, 192, 47, .18), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(43, 169, 166, .25), transparent 45%);
}

.stats-strip .stat-block {
  position: relative;
  text-align: center;
  color: #fff;
}

.stats-strip .stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-strip .stat-label {
  font-size: .85rem;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}

/* ============================================================
   CARDS
   ============================================================ */
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 59, 95, .05);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pop);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin: 1.1rem 0 .6rem;
}

.feature-card p {
  font-size: .94rem;
  margin-bottom: 0;
}

/* ---- flip cards (services) ---- */
.flip-card {
  perspective: 1600px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.flip-card-front {
  background: #fff;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(27, 59, 95, .06);
}

.flip-card-back {
  background: linear-gradient(150deg, var(--navy), var(--teal-dark));
  color: #fff;
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-card-back h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .6rem;
}

.flip-card-back p {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.flip-card-back a {
  color: var(--yellow);
  font-weight: 700;
  font-size: .85rem;
}

.flip-hint {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: .7rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ---- process steps ---- */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.process-step .step-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--teal-dark);
  border: 3px dashed var(--yellow);
  position: relative;
  z-index: 2;
}

.process-step h4 {
  font-size: 1.05rem;
}

.process-step p {
  font-size: .88rem;
}

.process-track {
  position: absolute;
  top: 39px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--sky) 40%, transparent 40%);
  background-size: 14px 2px;
  z-index: 1;
}

/* ---- testimonial ---- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--yellow);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}

.testimonial-card .avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.testimonial-card .stars {
  color: var(--yellow);
  font-size: .85rem;
}

/* ---- blog card ---- */
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pop);
}

.blog-card .blog-thumb {
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card .blog-thumb svg {
  width: 70%;
  height: 70%;
}

.blog-card .blog-body {
  padding: 1.6rem;
}

.blog-card .blog-cat {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.blog-card h3 {
  font-size: 1.12rem;
  margin: .5rem 0 .7rem;
}

.blog-card .blog-meta {
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ---- gallery ---- */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3.2;
  box-shadow: var(--shadow-soft);
}

.gallery-item svg {
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
}

.gallery-item:hover svg {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 41, 63, .82) 0%, rgba(18, 41, 63, 0) 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .gtitle {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.gallery-overlay .gtag {
  color: var(--yellow);
  font-size: .75rem;
  font-weight: 700;
}

.filter-pill {
  border: 2px solid var(--sand);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .55rem 1.35rem;
  font-size: .9rem;
  transition: all .25s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pop);
}

.team-avatar {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-avatar svg {
  width: 60%;
}

.team-card .team-body {
  padding: 1.4rem 1.2rem 1.7rem;
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: .15rem;
}

.team-card .role {
  font-size: .82rem;
  color: var(--teal-dark);
  font-weight: 700;
}

.team-card .socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 .2rem;
  transition: all .25s ease;
  font-size: .82rem;
}

.team-card .socials a:hover {
  background: var(--teal);
  color: #fff;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
}

/* ============================================================
   FOOTER
   ============================================================ */
.nhc-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .75);
  padding: 4.5rem 0 0;
  position: relative;
}

.nhc-footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.nhc-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.nhc-footer .footer-brand img {
  height: 100px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.nhc-footer a {
  color: rgba(255, 255, 255, .72);
}

.nhc-footer a:hover {
  color: var(--yellow);
}

.nhc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nhc-footer ul li {
  margin-bottom: .65rem;
  font-size: .92rem;
}

.nhc-footer .social-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: .5rem;
  transition: all .25s ease;
}

.nhc-footer .social-round:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding: 1.4rem 0;
  font-size: .85rem;
}

.newsletter-form input {
  border-radius: var(--radius-pill) 0 0 var(--radius-pill) !important;
  border: none;
  padding: .7rem 1.1rem;
}

.newsletter-form button {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 90% 15%, rgba(253, 192, 47, .28), transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(236, 111, 160, .2), transparent 40%),
    linear-gradient(180deg, #FFFDF8 0%, var(--cream) 100%);
  overflow: hidden;
}

.page-header h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: .5rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  color: var(--navy);
}

.breadcrumb-pill a {
  color: var(--ink-soft);
}

.breadcrumb-pill .sep {
  color: var(--orange);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .3s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
}

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-pop);
}

.form-floating>label {
  color: var(--ink-soft);
}

.form-control,
.form-select {
  border-radius: var(--radius-sm) !important;
  border: 2px solid var(--cream-2);
  padding: .85rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 169, 166, .15);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  filter: saturate(.9);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ============================================================
   ACCORDION (FAQ) overrides
   ============================================================ */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--teal);
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  filter: none;
}

.accordion-body {
  padding: 1.3rem 1.5rem 1.6rem;
  font-size: .94rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.in-view {
  transition-delay: .1s;
}

.reveal-delay-2.in-view {
  transition-delay: .2s;
}

.reveal-delay-3.in-view {
  transition-delay: .3s;
}

.reveal-delay-4.in-view {
  transition-delay: .4s;
}

/* back to top */
#backToTop {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pop);
  border: none;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--teal);
}

/* preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-tree {
  width: 90px;
  height: 90px;
  animation: pulseLoader 1.1s ease-in-out infinite;
}

@keyframes pulseLoader {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(.82);
    opacity: .6;
  }
}

/* lightbox modal */
.lightbox-modal .modal-content {
  background: transparent;
  border: none;
}

.lightbox-modal .modal-body {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.lightbox-modal .btn-close {
  filter: invert(1);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  background-color: rgba(0, 0, 0, .35);
  border-radius: 50%;
  padding: .6rem;
  opacity: 1;
}

/* misc */
.rounded-blob-img {
  border-radius: 58% 42% 65% 35% / 45% 55% 45% 55%;
  overflow: hidden;
}

.divider-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.divider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
}

.divider-dots span:nth-child(2) {
  background: var(--orange);
  width: 22px;
  border-radius: 4px;
}

hr.brand-hr {
  width: 70px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  margin: .6rem 0 1.4rem;
}
.flip-card-front{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.card-bg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content{
    /* position: absolute; */
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,.72),
        rgba(0,0,0,0)
    );
    border-radius: 30px;
}

.card-content h4{
    color:#fff;
    margin-bottom:10px;
}

.card-content p{
    color:#fff;
}

.flip-hint{
    margin-top:15px;
    color:#fff;
    font-size:14px;
}
.about-section{
    background:#f8fbff;
}

.section-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#e8f6ff;
    color:#0099c8;
    padding:8px 18px;
    border-radius:50px;
    font-weight:600;
    font-size:14px;
}

.section-title{
    font-size:42px;
    font-weight:800;
    color:#12304d;
    line-height:1.2;
}

.section-text{
    color:#666;
    line-height:1.8;
    margin-top:20px;
}

.about-image{
    position:relative;
}

.about-image img{
    width:100%;
    border-radius:25px;
    object-fit:cover;
}

.experience-card{
    position:absolute;
    bottom:25px;
    right:-20px;
    background:#00b5d8;
    color:#fff;
    padding:25px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    text-align:center;
}

.experience-card h2{
    font-size:42px;
    margin-bottom:5px;
    font-weight:700;
}

.feature-box{
    background:#fff;
    border-radius:18px;
    padding:18px;
    display:flex;
    gap:15px;
    align-items:flex-start;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
    height:100%;
}

.feature-box:hover{
    transform:translateY(-6px);
}

.feature-box i{
    width:55px;
    height:55px;
    background:#00b5d8;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}

.feature-box h5{
    margin-bottom:5px;
    font-weight:700;
    color:#12304d;
}

.feature-box small{
    color:#777;
}

.btn-primary{
    background:#00b5d8;
    border:none;
    padding:14px 34px;
    border-radius:50px;
}

.btn-primary:hover{
    background:#0a91ac;
}

@media(max-width:991px){

    .section-title{
        font-size:34px;
    }

    .experience-card{
        right:15px;
        bottom:15px;
        padding:18px;
    }

}

@media(max-width:767px){

    .section-title{
        font-size:28px;
    }

    .experience-card{
        position:relative;
        right:auto;
        bottom:auto;
        margin-top:-40px;
        width:220px;
    }

}
      .page-banner {
  padding: 6.5rem 0 4.5rem;
  position: relative;
  background: radial-gradient(circle at 15% 30%, #FFF3E0 0%, var(--cream) 50%),
    radial-gradient(circle at 90% 20%, #FDEAF0 0%, transparent 50%);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
}

.breadcrumb-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0.8rem;
}

.breadcrumb-clinic a {
  color: var(--teal-deep);
}

/* Misc */
.rounded-blob-img {
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  overflow: hidden;
}

hr.dotted {
  border: none;
  border-top: 3px dotted #E3D6BE;
}

/* Scroll progress */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf), var(--teal), var(--petal));
  z-index: 1100;
}

@media (max-width: 991px) {
  .hero {
    padding: 5.5rem 0 4rem;
    text-align: center;
  }

  .hero p.lead-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .float-field {
    opacity: 0.6;
  }

  .cta-band {
    padding: 2.6rem 1.6rem;
    text-align: center;
  }
}





































































































/* ============================================================
   Neurodivergent Horizons Clinic — Shared Stylesheet
   Design tokens derived from the clinic's rainbow-tree logo.
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --navy: #1B3A5C;
  --navy-deep: #12283F;
  --navy-soft: #3C5B7D;
  --cream: #FFFAF0;
  --cream-2: #FFF3E0;
  --paper: #FFFEFB;

  --coral: #FF8C55;
  --coral-deep: #F26B2E;
  --sun: #FFC93C;
  --sun-deep: #F5A623;
  --leaf: #4CAF7D;
  --leaf-deep: #2E9463;
  --teal: #2BB8C4;
  --teal-deep: #1B96A1;
  --sky: #2E86C1;
  --petal: #F2789F;
  --petal-deep: #E85C87;

  --ink: #223349;
  --ink-soft: #5B6B80;

  /* ---- Type ---- */
  --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;

  /* ---- Shape / motion ---- */
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 40px -18px rgba(27, 58, 92, 0.28);
  --shadow-pop: 0 26px 55px -20px rgba(255, 140, 85, 0.45);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Base
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-size: 1.06rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.2px;
}

a {
  text-decoration: none;
}

.section {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
}

.section-tight {
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: #FFF1E6;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}

.eyebrow.blue {
  color: var(--teal-deep);
  background: #E3F6F8;
}

.eyebrow.green {
  color: var(--leaf-deep);
  background: #E8F7EE;
}

.eyebrow.pink {
  color: var(--petal-deep);
  background: #FDEAF0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 620px;
}

.text-coral {
  color: var(--coral-deep) !important;
}

.text-teal {
  color: var(--teal-deep) !important;
}

.text-leaf {
  color: var(--leaf-deep) !important;
}

.text-petal {
  color: var(--petal-deep) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.bg-cream-2 {
  background: var(--cream-2);
}

.bg-navy {
  background: var(--navy);
}

.bg-paper {
  background: var(--paper);
}

/* Wavy section divider */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.85rem 2.1rem;
  border-radius: 50px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  box-shadow: var(--shadow-pop);
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.28s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-clinic:hover,
.btn-clinic:focus-visible {
  transform: translateY(-4px) scale(1.03);
  color: #fff;
  box-shadow: 0 30px 45px -18px rgba(255, 140, 85, 0.55);
}

.btn-clinic:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.btn-outline-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-clinic:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--sky));
  box-shadow: 0 26px 55px -20px rgba(43, 184, 196, 0.45);
}

.btn-teal:hover {
  box-shadow: 0 30px 45px -18px rgba(43, 184, 196, 0.55);
}

/* ============================================================
   Navbar
   ============================================================ */
.clinic-navbar {
  padding: 0.7rem 0;
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease, padding .3s ease;
  z-index: 1000;
}

.clinic-navbar.scrolled {
  box-shadow: 0 10px 30px -18px rgba(27, 58, 92, 0.35);
  padding: 0.35rem 0;
}

.navbar-brand-clinic {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand-clinic img {
  height: 52px;
  width: auto;
  transition: transform .3s var(--ease-bounce);
}

.navbar-brand-clinic:hover img {
  transform: rotate(-8deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
}

.brand-text .brand-tag {
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--teal-deep);
  text-transform: uppercase;
  font-weight: 600;
}

.clinic-navbar .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy) !important;
  margin: 0 6px;
  position: relative;
  padding: 0.5rem 0.2rem !important;
}

.clinic-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  border-radius: 3px;
  transition: left .28s ease, right .28s ease;
}

.clinic-navbar .nav-link:hover::after,
.clinic-navbar .nav-link.active::after {
  left: 0;
  right: 0;
}

.clinic-navbar .nav-link.active {
  color: var(--coral-deep) !important;
}

.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px;
  margin-left: 10px;
  box-shadow: 0 12px 22px -10px rgba(255, 140, 85, 0.55);
  transition: transform .25s var(--ease-bounce);
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff !important;
}

/* ============================================================
   Floating decorative icons (ambient background motion)
   ============================================================ */
.float-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.float-icon {
  position: absolute;
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgba(27, 58, 92, 0.12));
  opacity: 0.9;
}

.float-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes floaty {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-26px) rotate(8deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floaty-rev {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(22px) rotate(-10deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 7rem 0 8rem;
  background: radial-gradient(circle at 18% 20%, #FFF3E0 0%, var(--cream) 45%),
    radial-gradient(circle at 85% 75%, #E3F6F8 0%, transparent 55%);
}

.hero-blob {
  position: absolute;
  z-index: 0;
  opacity: 0.9;
}

.hero-copy .eyebrow {
  animation: pop-in .7s var(--ease-bounce) both;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  animation: pop-in .8s .1s var(--ease-bounce) both;
}

.hero h1 .underline-squiggle {
  position: relative;
  display: inline-block;
}

.hero h1 .underline-squiggle svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 16px;
}

.hero p.lead-copy {
  color: var(--ink-soft);
  font-size: 1.2rem;
  max-width: 520px;
  animation: pop-in .8s .2s var(--ease-bounce) both;
}

.hero .hero-ctas {
  animation: pop-in .8s .3s var(--ease-bounce) both;
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual .tree-glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, rgba(255, 201, 60, 0.35), transparent 65%);
  z-index: -1;
  animation: pulse-soft 5s ease-in-out infinite;
}

.hero-visual img {
  filter: drop-shadow(0 30px 45px rgba(27, 58, 92, 0.25));
  animation: floaty 6s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
  animation: pop-in .8s .4s var(--ease-bounce) both;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
}

.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid #F0E6D6;
  border-bottom: 1px solid #F0E6D6;
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.trust-strip .trust-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

/* ============================================================
   Flip cards (services)
   ============================================================ */
.flip-card {
  perspective: 1400px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-bounce);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.flip-card-front {
  background: var(--paper);
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #F1E7D6;
}

.flip-card-front .service-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform .4s var(--ease-bounce);
}

.flip-card:hover .flip-card-front .service-icon {
  transform: rotate(-10deg) scale(1.08);
}

.flip-card-front h3 {
  font-size: 1.28rem;
  margin-bottom: 0.3rem;
}

.flip-card-front .flip-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flip-card-back {
  transform: rotateY(180deg);
  color: #fff;
  justify-content: center;
  text-align: left;
}

.flip-card-back h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.flip-card-back p {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* rotating palette per card index */
.palette-1 {
  background: linear-gradient(145deg, var(--coral), var(--coral-deep));
}

.palette-2 {
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
}

.palette-3 {
  background: linear-gradient(145deg, var(--leaf), var(--leaf-deep));
}

.palette-4 {
  background: linear-gradient(145deg, var(--sun), var(--sun-deep));
}

.palette-5 {
  background: linear-gradient(145deg, var(--petal), var(--petal-deep));
}

.palette-6 {
  background: linear-gradient(145deg, var(--sky), var(--navy));
}

.icon-tint-1 {
  background: #FFEDE1;
  color: var(--coral-deep);
}

.icon-tint-2 {
  background: #E3F6F8;
  color: var(--teal-deep);
}

.icon-tint-3 {
  background: #E8F7EE;
  color: var(--leaf-deep);
}

.icon-tint-4 {
  background: #FFF6DE;
  color: var(--sun-deep);
}

.icon-tint-5 {
  background: #FDEAF0;
  color: var(--petal-deep);
}

.icon-tint-6 {
  background: #E7EEF8;
  color: var(--navy);
}

/* ============================================================
   Generic cards / reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s var(--ease-bounce);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.soft-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid #F1E7D6;
  padding: 2rem;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}

.soft-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 50px -20px rgba(27, 58, 92, 0.28);
}

/* Value / approach path (winding) */
.approach-path {
  position: relative;
}

.approach-step {
  position: relative;
  padding-left: 0;
}

.approach-step .step-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
  flex: none;
}

/* Team */
.team-card {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.12) rotate(3deg);
}

.team-role {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 100%;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--sun-deep);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-parent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.2rem;
}

.testimonial-parent img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .6s var(--ease-bounce);
}

.gallery-item:hover img {
  transform: scale(1.12) rotate(1.5deg);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(18, 40, 63, 0.88), rgba(18, 40, 63, 0));
  color: #fff;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
}

.gallery-caption span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.filter-pill {
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid #F1E7D6;
  background: var(--paper);
  color: var(--navy-soft);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  margin: 0 6px 10px 0;
  transition: all .25s ease;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 50px -20px rgba(27, 58, 92, 0.28);
}

.blog-card .blog-img {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  color: var(--coral-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-body {
  padding: 1.6rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 14px;
  align-items: center;
}

.blog-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.blog-readmore {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-readmore svg {
  transition: transform .25s ease;
}

.blog-readmore:hover svg {
  transform: translateX(5px);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-info-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 100%;
}

.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-soft);
}

.form-control-clinic {
  border: 2px solid #F1E7D6;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.form-control-clinic:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 184, 196, 0.18);
  outline: none;
  background: #fff;
}

.form-label-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: none;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #C9D6E4;
}

/* ============================================================
   Footer
   ============================================================ */
.clinic-footer {
  background: var(--navy-deep);
  color: #C9D6E4;
  padding: 4.5rem 0 1.6rem;
  position: relative;
}

.clinic-footer h5 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.clinic-footer a {
  color: #C9D6E4;
  transition: color .2s ease, padding-left .2s ease;
}

.clinic-footer a:hover {
  color: var(--sun);
  padding-left: 4px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: transform .3s var(--ease-bounce), background .3s ease;
}

.footer-social a:hover {
  background: var(--coral);
  transform: translateY(-4px) rotate(-8deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  font-size: 0.85rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .35s var(--ease-bounce);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.08);
}

/* ============================================================
   Page banner (inner pages)
   ============================================================ */
.page-banner {
  padding: 6.5rem 0 4.5rem;
  position: relative;
  background: radial-gradient(circle at 15% 30%, #ffdda6 0%, #ffdda65c 50%),
    radial-gradient(circle at 90% 20%, #FDEAF0 0%, transparent 50%);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
}

.breadcrumb-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0.8rem;
}

.breadcrumb-clinic a {
  color: var(--teal-deep);
}

/* Misc */
.rounded-blob-img {
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  overflow: hidden;
}

hr.dotted {
  border: none;
  border-top: 3px dotted #E3D6BE;
}

/* Scroll progress */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf), var(--teal), var(--petal));
  z-index: 1100;
}

@media (max-width: 991px) {
  .hero {
    padding: 5.5rem 0 4rem;
    text-align: center;
  }

  .hero p.lead-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .float-field {
    opacity: 0.6;
  }

  .cta-band {
    padding: 2.6rem 1.6rem;
    text-align: center;
  }
}
































































/* ============================================================
   Neurodivergent Horizons Clinic — Shared Stylesheet
   Design tokens derived from the clinic's rainbow-tree logo.
   ============================================================ */

:root{
  /* ---- Color tokens ---- */
  --navy:        #1B3A5C;
  --navy-deep:   #12283F;
  --navy-soft:   #3C5B7D;
  --cream:       #FFFAF0;
  --cream-2:     #FFF3E0;
  --paper:       #FFFEFB;

  --coral:       #FF8C55;
  --coral-deep:  #F26B2E;
  --sun:         #FFC93C;
  --sun-deep:    #F5A623;
  --leaf:        #4CAF7D;
  --leaf-deep:   #2E9463;
  --teal:        #2BB8C4;
  --teal-deep:   #1B96A1;
  --sky:         #2E86C1;
  --petal:       #F2789F;
  --petal-deep:  #E85C87;

  --ink:         #223349;
  --ink-soft:    #5B6B80;

  /* ---- Type ---- */
  --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;

  /* ---- Shape / motion ---- */
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 40px -18px rgba(27,58,92,0.28);
  --shadow-pop: 0 26px 55px -20px rgba(255,140,85,0.45);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Base
   ============================================================ */
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-size: 1.06rem;
  line-height: 1.7;
}

h1,h2,h3,h4,.display-font{
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.2px;
}

a{ text-decoration: none; }

.section{ position: relative; padding: 6.5rem 0; overflow: hidden; }
.section-tight{ padding: 4rem 0; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: #FFF1E6;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}
.eyebrow.blue{ color: var(--teal-deep); background: #E3F6F8; }
.eyebrow.green{ color: var(--leaf-deep); background: #E8F7EE; }
.eyebrow.pink{ color: var(--petal-deep); background: #FDEAF0; }

.section-title{
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-lead{
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 620px;
}

.text-coral{ color: var(--coral-deep) !important; }
.text-teal{ color: var(--teal-deep) !important; }
.text-leaf{ color: var(--leaf-deep) !important; }
.text-petal{ color: var(--petal-deep) !important; }
.text-navy{ color: var(--navy) !important; }

.bg-cream-2{ background: var(--cream-2); }
.bg-navy{ background: var(--navy); }
.bg-paper{ background: var(--paper); }

/* Wavy section divider */
.wave-divider{
  display:block; width:100%; line-height:0; position: relative; z-index: 2;
}
.wave-divider svg{ width: 100%; height: 70px; display:block; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-clinic{
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.85rem 2.1rem;
  border-radius: 50px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  box-shadow: var(--shadow-pop);
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.28s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-clinic:hover, .btn-clinic:focus-visible{
  transform: translateY(-4px) scale(1.03);
  color:#fff;
  box-shadow: 0 30px 45px -18px rgba(255,140,85,0.55);
}
.btn-clinic:focus-visible{ outline: 3px solid var(--navy); outline-offset: 3px; }

.btn-outline-clinic{
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline-clinic:hover{
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

.btn-teal{ background: linear-gradient(135deg, var(--teal), var(--sky)); box-shadow: 0 26px 55px -20px rgba(43,184,196,0.45); }
.btn-teal:hover{ box-shadow: 0 30px 45px -18px rgba(43,184,196,0.55); }

/* ============================================================
   Navbar
   ============================================================ */
.clinic-navbar{
  padding: 0.7rem 0;
  background: rgba(255,250,240,0.88);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease, padding .3s ease;
  z-index: 1000;
}
.clinic-navbar.scrolled{
  box-shadow: 0 10px 30px -18px rgba(27,58,92,0.35);
  padding: 0.35rem 0;
}
.navbar-brand-clinic{ display:flex; align-items:center; gap:12px; }
.navbar-brand-clinic img{ height: 52px; width:auto; transition: transform .3s var(--ease-bounce); }
.navbar-brand-clinic:hover img{ transform: rotate(-8deg) scale(1.06); }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text .brand-name{ font-family: var(--font-display); font-weight:700; color: var(--navy); font-size:1.15rem; }
.brand-text .brand-tag{ font-size:0.68rem; letter-spacing:1px; color: var(--teal-deep); text-transform:uppercase; font-weight:600; }

.clinic-navbar .nav-link{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy) !important;
  margin: 0 6px;
  position: relative;
  padding: 0.5rem 0.2rem !important;
}
.clinic-navbar .nav-link::after{
  content:"";
  position:absolute;
  left:50%; right:50%; bottom:0;
  height:3px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  border-radius:3px;
  transition: left .28s ease, right .28s ease;
}
.clinic-navbar .nav-link:hover::after,
.clinic-navbar .nav-link.active::after{ left:0; right:0; }
.clinic-navbar .nav-link.active{ color: var(--coral-deep) !important; }

.nav-cta{
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color:#fff !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px;
  margin-left: 10px;
  box-shadow: 0 12px 22px -10px rgba(255,140,85,0.55);
  transition: transform .25s var(--ease-bounce);
}
.nav-cta:hover{ transform: translateY(-3px) scale(1.04); color:#fff !important; }

/* ============================================================
   Floating decorative icons (ambient background motion)
   ============================================================ */
.float-field{
  position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:1;
}
.float-icon{
  position:absolute;
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgba(27,58,92,0.12));
  opacity: 0.9;
}
.float-icon svg{ width:100%; height:100%; display:block; }
@keyframes floaty{
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-26px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes floaty-rev{
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(22px) rotate(-10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes spin-slow{
  from{ transform: rotate(0deg); } to{ transform: rotate(360deg); }
}
@keyframes pulse-soft{
  0%,100%{ transform: scale(1); } 50%{ transform: scale(1.12); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  padding: 7rem 0 8rem;
  background: radial-gradient(circle at 18% 20%, #FFF3E0 0%, var(--cream) 45%),
              radial-gradient(circle at 85% 75%, #E3F6F8 0%, transparent 55%);
}
.hero-blob{
  position:absolute; z-index:0; opacity:0.9;
}
.hero-copy .eyebrow{ animation: pop-in .7s var(--ease-bounce) both; }
.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  animation: pop-in .8s .1s var(--ease-bounce) both;
}
.hero h1 .underline-squiggle{ position: relative; display:inline-block; }
.hero h1 .underline-squiggle svg{
  position:absolute; left:0; bottom:-10px; width:100%; height:16px;
}
.hero p.lead-copy{
  color: var(--ink-soft);
  font-size: 1.2rem;
  max-width: 520px;
  animation: pop-in .8s .2s var(--ease-bounce) both;
}
.hero .hero-ctas{ animation: pop-in .8s .3s var(--ease-bounce) both; }
@keyframes pop-in{
  0%{ opacity:0; transform: translateY(24px); }
  100%{ opacity:1; transform: translateY(0); }
}

.hero-visual{ position: relative; z-index: 2; }
.hero-visual .tree-glow{
  position:absolute; inset: -8%;
  background: radial-gradient(circle, rgba(255,201,60,0.35), transparent 65%);
  z-index:-1;
  animation: pulse-soft 5s ease-in-out infinite;
}
.hero-visual img{
  filter: drop-shadow(0 30px 45px rgba(27,58,92,0.25));
  animation: floaty 6s ease-in-out infinite;
}

.hero-stats{
  display:flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap;
  animation: pop-in .8s .4s var(--ease-bounce) both;
}
.hero-stats .stat-num{
  font-family: var(--font-display); font-weight:700; font-size:1.9rem; color: var(--navy);
}
.hero-stats .stat-label{ font-size:0.82rem; color: var(--ink-soft); font-weight:600; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip{
  background: var(--paper);
  border-top: 1px solid #F0E6D6;
  border-bottom: 1px solid #F0E6D6;
}
.trust-strip .trust-item{
  display:flex; align-items:center; gap:12px; font-family: var(--font-display); font-weight:600; color: var(--navy-soft);
  font-size: 0.95rem;
}
.trust-strip .trust-item .dot{ width:10px; height:10px; border-radius:50%; flex:none; }

/* ============================================================
   Flip cards (services)
   ============================================================ */
.flip-card{
  perspective: 1400px;
  height: 300px;
}
.flip-card-inner{
  position: relative; width:100%; height:100%;
  transition: transform 0.7s var(--ease-bounce);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner{ transform: rotateY(180deg); }
.flip-card-front, .flip-card-back{
  position:absolute; inset:0;
  -webkit-backface-visibility:hidden; backface-visibility:hidden;
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  display:flex; flex-direction:column;
  box-shadow: var(--shadow-soft);
}
.flip-card-front{
  background: var(--paper);
  align-items:flex-start; justify-content: space-between;
  border: 1px solid #F1E7D6;
}
.flip-card-front .service-icon{
  width:64px; height:64px; border-radius: 20px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 1rem;
  transition: transform .4s var(--ease-bounce);
}
.flip-card:hover .flip-card-front .service-icon{ transform: rotate(-10deg) scale(1.08); }
.flip-card-front h3{ font-size:1.28rem; margin-bottom:0.3rem; }
.flip-card-front .flip-hint{ font-size:0.8rem; color: var(--ink-soft); font-weight:600; display:flex; align-items:center; gap:6px; }

.flip-card-back{
  transform: rotateY(180deg);
  color:#fff;
  justify-content: center;
  text-align:left;
}
.flip-card-back h4{ color:#fff; font-size:1.15rem; margin-bottom:0.6rem; }
.flip-card-back p{ font-size:0.95rem; opacity:0.95; margin-bottom:0; }

/* rotating palette per card index */
.palette-1{ background: linear-gradient(145deg, var(--coral), var(--coral-deep)); }
.palette-2{ background: linear-gradient(145deg, var(--teal), var(--teal-deep)); }
.palette-3{ background: linear-gradient(145deg, var(--leaf), var(--leaf-deep)); }
.palette-4{ background: linear-gradient(145deg, var(--sun), var(--sun-deep)); }
.palette-5{ background: linear-gradient(145deg, var(--petal), var(--petal-deep)); }
.palette-6{ background: linear-gradient(145deg, var(--sky), var(--navy)); }

.icon-tint-1{ background:#FFEDE1; color: var(--coral-deep); }
.icon-tint-2{ background:#E3F6F8; color: var(--teal-deep); }
.icon-tint-3{ background:#E8F7EE; color: var(--leaf-deep); }
.icon-tint-4{ background:#FFF6DE; color: var(--sun-deep); }
.icon-tint-5{ background:#FDEAF0; color: var(--petal-deep); }
.icon-tint-6{ background:#E7EEF8; color: var(--navy); }

/* ============================================================
   Generic cards / reveal-on-scroll
   ============================================================ */
.reveal{ opacity:0; transform: translateY(30px); transition: opacity .7s ease, transform .7s var(--ease-bounce); }
.reveal.in-view{ opacity:1; transform: translateY(0); }

.soft-card{
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid #F1E7D6;
  padding: 2rem;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}
.soft-card:hover{ transform: translateY(-8px); box-shadow: 0 32px 50px -20px rgba(27,58,92,0.28); }

/* Value / approach path (winding) */
.approach-path{ position:relative; }
.approach-step{ position:relative; padding-left: 0; }
.approach-step .step-badge{
  width:70px; height:70px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-display); font-weight:700; font-size:1.5rem;
  box-shadow: var(--shadow-soft);
  flex:none;
}

/* Team */
.team-card{ text-align:center; }
.team-photo{
  width:150px; height:150px; border-radius:50%;
  overflow:hidden; margin:0 auto 1.2rem;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-soft);
  position:relative;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.team-card:hover .team-photo img{ transform: scale(1.12) rotate(3deg); }
.team-role{ color: var(--teal-deep); font-weight:600; font-size:0.9rem; }

/* Testimonials */
.testimonial-card{
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 100%;
}
.testimonial-card .quote-mark{
  font-family: var(--font-display); font-size: 3.5rem; color: var(--sun-deep);
  line-height:1; opacity:0.5;
}
.testimonial-parent{ display:flex; align-items:center; gap:12px; margin-top:1.2rem; }
.testimonial-parent img{ width:48px; height:48px; border-radius:50%; object-fit:cover; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-item{
  position:relative; overflow:hidden; border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}
.gallery-item img, .gallery-item svg{
  width:100%; display:block;
  transition: transform .6s var(--ease-bounce);
}
.gallery-item:hover img, .gallery-item:hover svg{ transform: scale(1.12) rotate(1.5deg); }
.gallery-tile{
  width:100%; aspect-ratio: 4/3; display:flex; align-items:center; justify-content:center;
  transition: transform .6s var(--ease-bounce);
}
.gallery-item:hover .gallery-tile{ transform: scale(1.12) rotate(1.5deg); }
.gallery-caption{
  position:absolute; inset:auto 0 0 0;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(18,40,63,0.88), rgba(18,40,63,0));
  color:#fff;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.gallery-item:hover .gallery-caption{ transform: translateY(0); }
.gallery-caption h5{ color:#fff; font-size:1rem; margin-bottom:2px; }
.gallery-caption span{ font-size:0.78rem; opacity:0.85; }

.filter-pill{
  font-family: var(--font-display); font-weight:600;
  border: 2px solid #F1E7D6; background: var(--paper); color: var(--navy-soft);
  padding: 0.5rem 1.3rem; border-radius:50px; margin: 0 6px 10px 0;
  transition: all .25s ease; cursor:pointer;
}
.filter-pill.active, .filter-pill:hover{
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color:#fff; border-color: transparent;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-card{
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  height:100%;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}
.blog-card:hover{ transform: translateY(-8px); box-shadow: 0 32px 50px -20px rgba(27,58,92,0.28); }
.blog-card .blog-img{ position:relative; overflow:hidden; height:210px; }
.blog-card .blog-img img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.blog-card:hover .blog-img img{ transform: scale(1.1); }
.blog-tag{
  position:absolute; top:14px; left:14px;
  background: var(--paper); color: var(--coral-deep);
  font-family: var(--font-display); font-weight:700; font-size:0.72rem;
  padding: 5px 14px; border-radius:50px; text-transform:uppercase; letter-spacing:0.5px;
}
.blog-body{ padding: 1.6rem; }
.blog-meta{ font-size:0.8rem; color: var(--ink-soft); font-weight:600; margin-bottom:0.6rem; display:flex; gap:14px; align-items:center; }
.blog-body h3{ font-size:1.2rem; margin-bottom:0.6rem; }
.blog-readmore{ font-family: var(--font-display); font-weight:700; color: var(--teal-deep); display:inline-flex; align-items:center; gap:6px; }
.blog-readmore svg{ transition: transform .25s ease; }
.blog-readmore:hover svg{ transform: translateX(5px); }

/* ============================================================
   Contact
   ============================================================ */
.contact-info-card{
  background: var(--paper); border-radius: var(--radius-md); padding: 1.7rem;
  box-shadow: var(--shadow-soft); display:flex; gap:16px; align-items:flex-start;
  height: 100%;
}
.contact-info-card .ci-icon{
  width:52px; height:52px; border-radius:16px; flex:none;
  display:flex; align-items:center; justify-content:center;
}
.contact-form{
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 2.6rem; box-shadow: var(--shadow-soft);
}
.form-control-clinic{
  border: 2px solid #F1E7D6; border-radius: 14px; padding: 0.85rem 1.1rem;
  font-family: var(--font-body); font-weight:600; color: var(--navy);
  background: var(--cream);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-control-clinic:focus{
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43,184,196,0.18); outline:none; background:#fff;
}
.form-label-clinic{ font-family: var(--font-display); font-weight:600; color: var(--navy); margin-bottom:6px; font-size:0.92rem; }
.map-frame{ border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-soft); border: none; width:100%; height:100%; min-height:340px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band{
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color: #C9D6E4; }

/* ============================================================
   Footer
   ============================================================ */
.clinic-footer{
  background: var(--navy-deep);
  color: #C9D6E4;
  padding: 4.5rem 0 1.6rem;
  position: relative;
}
.clinic-footer h5{ color:#fff; font-family: var(--font-display); font-weight:700; margin-bottom:1.1rem; }
.clinic-footer a{ color:#C9D6E4; transition: color .2s ease, padding-left .2s ease; }
.clinic-footer a:hover{ color: var(--sun); padding-left:4px; }
.footer-social a{
  width:42px; height:42px; border-radius:50%; background: rgba(255,255,255,0.08);
  display:inline-flex; align-items:center; justify-content:center; margin-right:10px;
  transition: transform .3s var(--ease-bounce), background .3s ease;
}
.footer-social a:hover{ background: var(--coral); transform: translateY(-4px) rotate(-8deg); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.6rem; padding-top: 1.6rem; font-size:0.85rem; }

/* Back to top */
.back-to-top{
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width:52px; height:52px; border-radius:50%;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-pop);
  opacity:0; visibility:hidden; transform: translateY(20px);
  transition: all .35s var(--ease-bounce);
}
.back-to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
.back-to-top:hover{ transform: translateY(-6px) scale(1.08); }

/* ============================================================
   Page banner (inner pages)
   ============================================================ */
.page-banner{
  padding: 6.5rem 0 4.5rem;
  position: relative;
  background: radial-gradient(circle at 15% 30%, #FFF3E0 0%, var(--cream) 50%),
              radial-gradient(circle at 90% 20%, #FDEAF0 0%, transparent 50%);
  text-align:center;
}
.page-banner h1{ font-size: clamp(2.1rem, 4.5vw, 3rem); }
.breadcrumb-clinic{
  font-family: var(--font-display); font-weight:600; font-size:0.9rem;
  color: var(--ink-soft); display:flex; gap:8px; justify-content:center; margin-top:0.8rem;
}
.breadcrumb-clinic a{ color: var(--teal-deep); }

/* Misc */
.rounded-blob-img{ border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; overflow:hidden; }
hr.dotted{ border: none; border-top: 3px dotted #E3D6BE; }

/* Scroll progress */
#scrollProgress{
  position: fixed; top:0; left:0; height:4px; width:0%;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf), var(--teal), var(--petal));
  z-index: 1100;
}

@media (max-width: 991px){
  .hero{ padding: 5.5rem 0 4rem; text-align:center; }
  .hero p.lead-copy{ margin-left:auto; margin-right:auto; }
  .hero-stats{ justify-content:center; }
  .float-field{ opacity: 0.6; }
  .cta-band{ padding: 2.6rem 1.6rem; text-align:center; }
}


/* ============================================================
   Neurodivergent Horizons Clinic — Shared Stylesheet
   Design tokens derived from the clinic's rainbow-tree logo.
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --navy: #1B3A5C;
  --navy-deep: #12283F;
  --navy-soft: #3C5B7D;
  --cream: #FFFAF0;
  --cream-2: #FFF3E0;
  --paper: #FFFEFB;

  --coral: #FF8C55;
  --coral-deep: #F26B2E;
  --sun: #FFC93C;
  --sun-deep: #F5A623;
  --leaf: #4CAF7D;
  --leaf-deep: #2E9463;
  --teal: #2BB8C4;
  --teal-deep: #1B96A1;
  --sky: #2E86C1;
  --petal: #F2789F;
  --petal-deep: #E85C87;

  --ink: #223349;
  --ink-soft: #5B6B80;

  /* ---- Type ---- */
  --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;

  /* ---- Shape / motion ---- */
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 40px -18px rgba(27, 58, 92, 0.28);
  --shadow-pop: 0 26px 55px -20px rgba(255, 140, 85, 0.45);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Base
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-size: 1.06rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.2px;
}

a {
  text-decoration: none;
}

.section {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
}

.section-tight {
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: #FFF1E6;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}

.eyebrow.blue {
  color: var(--teal-deep);
  background: #E3F6F8;
}

.eyebrow.green {
  color: var(--leaf-deep);
  background: #E8F7EE;
}

.eyebrow.pink {
  color: var(--petal-deep);
  background: #FDEAF0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 620px;
}

.text-coral {
  color: var(--coral-deep) !important;
}

.text-teal {
  color: var(--teal-deep) !important;
}

.text-leaf {
  color: var(--leaf-deep) !important;
}

.text-petal {
  color: var(--petal-deep) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.bg-cream-2 {
  background: var(--cream-2);
}

.bg-navy {
  background: var(--navy);
}

.bg-paper {
  background: var(--paper);
}

/* Wavy section divider */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.85rem 2.1rem;
  border-radius: 50px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  box-shadow: var(--shadow-pop);
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.28s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-clinic:hover,
.btn-clinic:focus-visible {
  transform: translateY(-4px) scale(1.03);
  color: #fff;
  box-shadow: 0 30px 45px -18px rgba(255, 140, 85, 0.55);
}

.btn-clinic:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.btn-outline-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-clinic:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--sky));
  box-shadow: 0 26px 55px -20px rgba(43, 184, 196, 0.45);
}

.btn-teal:hover {
  box-shadow: 0 30px 45px -18px rgba(43, 184, 196, 0.55);
}

/* ============================================================
   Navbar
   ============================================================ */
.clinic-navbar {
  padding: 0.7rem 0;
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease, padding .3s ease;
  z-index: 1000;
}

.clinic-navbar.scrolled {
  box-shadow: 0 10px 30px -18px rgba(27, 58, 92, 0.35);
  padding: 0.35rem 0;
}

.navbar-brand-clinic {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand-clinic img {
  height: 52px;
  width: auto;
  transition: transform .3s var(--ease-bounce);
}

.navbar-brand-clinic:hover img {
  transform: rotate(-8deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
}

.brand-text .brand-tag {
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--teal-deep);
  text-transform: uppercase;
  font-weight: 600;
}

.clinic-navbar .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy) !important;
  margin: 0 6px;
  position: relative;
  padding: 0.5rem 0.2rem !important;
}

.clinic-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  border-radius: 3px;
  transition: left .28s ease, right .28s ease;
}

.clinic-navbar .nav-link:hover::after,
.clinic-navbar .nav-link.active::after {
  left: 0;
  right: 0;
}

.clinic-navbar .nav-link.active {
  color: var(--coral-deep) !important;
}

.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px;
  margin-left: 10px;
  box-shadow: 0 12px 22px -10px rgba(255, 140, 85, 0.55);
  transition: transform .25s var(--ease-bounce);
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff !important;
}

/* ============================================================
   Floating decorative icons (ambient background motion)
   ============================================================ */
.float-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.float-icon {
  position: absolute;
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgba(27, 58, 92, 0.12));
  opacity: 0.9;
}

.float-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes floaty {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-26px) rotate(8deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floaty-rev {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(22px) rotate(-10deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 7rem 0 8rem;
  background: radial-gradient(circle at 18% 20%, #FFF3E0 0%, var(--cream) 45%),
    radial-gradient(circle at 85% 75%, #E3F6F8 0%, transparent 55%);
}

.hero-blob {
  position: absolute;
  z-index: 0;
  opacity: 0.9;
}

.hero-copy .eyebrow {
  animation: pop-in .7s var(--ease-bounce) both;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  animation: pop-in .8s .1s var(--ease-bounce) both;
}

.hero h1 .underline-squiggle {
  position: relative;
  display: inline-block;
}

.hero h1 .underline-squiggle svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 16px;
}

.hero p.lead-copy {
  color: var(--ink-soft);
  font-size: 1.2rem;
  max-width: 520px;
  animation: pop-in .8s .2s var(--ease-bounce) both;
}

.hero .hero-ctas {
  animation: pop-in .8s .3s var(--ease-bounce) both;
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual .tree-glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, rgba(255, 201, 60, 0.35), transparent 65%);
  z-index: -1;
  animation: pulse-soft 5s ease-in-out infinite;
}

.hero-visual img {
  filter: drop-shadow(0 30px 45px rgba(27, 58, 92, 0.25));
  animation: floaty 6s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
  animation: pop-in .8s .4s var(--ease-bounce) both;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
}

.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid #F0E6D6;
  border-bottom: 1px solid #F0E6D6;
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.trust-strip .trust-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

/* ============================================================
   Flip cards (services)
   ============================================================ */
.flip-card {
  perspective: 1400px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-bounce);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.flip-card-front {
  background: var(--paper);
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #F1E7D6;
}

.flip-card-front .service-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform .4s var(--ease-bounce);
}

.flip-card:hover .flip-card-front .service-icon {
  transform: rotate(-10deg) scale(1.08);
}

.flip-card-front h3 {
  font-size: 1.28rem;
  margin-bottom: 0.3rem;
}

.flip-card-front .flip-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flip-card-back {
  transform: rotateY(180deg);
  color: #fff;
  justify-content: center;
  text-align: left;
}

.flip-card-back h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.flip-card-back p {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* rotating palette per card index */
.palette-1 {
  background: linear-gradient(145deg, var(--coral), var(--coral-deep));
}

.palette-2 {
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
}

.palette-3 {
  background: linear-gradient(145deg, var(--leaf), var(--leaf-deep));
}

.palette-4 {
  background: linear-gradient(145deg, var(--sun), var(--sun-deep));
}

.palette-5 {
  background: linear-gradient(145deg, var(--petal), var(--petal-deep));
}

.palette-6 {
  background: linear-gradient(145deg, var(--sky), var(--navy));
}

.icon-tint-1 {
  background: #FFEDE1;
  color: var(--coral-deep);
}

.icon-tint-2 {
  background: #E3F6F8;
  color: var(--teal-deep);
}

.icon-tint-3 {
  background: #E8F7EE;
  color: var(--leaf-deep);
}

.icon-tint-4 {
  background: #FFF6DE;
  color: var(--sun-deep);
}

.icon-tint-5 {
  background: #FDEAF0;
  color: var(--petal-deep);
}

.icon-tint-6 {
  background: #E7EEF8;
  color: var(--navy);
}

/* ============================================================
   Generic cards / reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s var(--ease-bounce);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.soft-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid #F1E7D6;
  padding: 2rem;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}

.soft-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 50px -20px rgba(27, 58, 92, 0.28);
}

/* Value / approach path (winding) */
.approach-path {
  position: relative;
}

.approach-step {
  position: relative;
  padding-left: 0;
}

.approach-step .step-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
  flex: none;
}

/* Team */
.team-card {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.12) rotate(3deg);
}

.team-role {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 100%;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--sun-deep);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-parent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.2rem;
}

.testimonial-parent img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}

.gallery-item img,
.gallery-item svg {
  width: 100%;
  display: block;
  transition: transform .6s var(--ease-bounce);
}

.gallery-item:hover img,
.gallery-item:hover svg {
  transform: scale(1.12) rotate(1.5deg);
}

.gallery-tile {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .6s var(--ease-bounce);
}

.gallery-item:hover .gallery-tile {
  transform: scale(1.12) rotate(1.5deg);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(18, 40, 63, 0.88), rgba(18, 40, 63, 0));
  color: #fff;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
}

.gallery-caption span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.filter-pill {
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid #F1E7D6;
  background: var(--paper);
  color: var(--navy-soft);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  margin: 0 6px 10px 0;
  transition: all .25s ease;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 50px -20px rgba(27, 58, 92, 0.28);
}

.blog-card .blog-img {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  color: var(--coral-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-body {
  padding: 1.6rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 14px;
  align-items: center;
}

.blog-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.blog-readmore {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-readmore svg {
  transition: transform .25s ease;
}

.blog-readmore:hover svg {
  transform: translateX(5px);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-info-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 100%;
}

.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-soft);
}

.form-control-clinic {
  border: 2px solid #F1E7D6;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.form-control-clinic:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 184, 196, 0.18);
  outline: none;
  background: #fff;
}

.form-label-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: none;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #C9D6E4;
}

/* ============================================================
   Footer
   ============================================================ */
.clinic-footer {
  background: var(--navy-deep);
  color: #C9D6E4;
  padding: 4.5rem 0 1.6rem;
  position: relative;
}

.clinic-footer h5 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.clinic-footer a {
  color: #C9D6E4;
  transition: color .2s ease, padding-left .2s ease;
}

.clinic-footer a:hover {
  color: var(--sun);
  padding-left: 4px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: transform .3s var(--ease-bounce), background .3s ease;
}

.footer-social a:hover {
  background: var(--coral);
  transform: translateY(-4px) rotate(-8deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  font-size: 0.85rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .35s var(--ease-bounce);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.08);
}

/* ============================================================
   Page banner (inner pages)
   ============================================================ */
.page-banner {
  padding: 6.5rem 0 4.5rem;
  position: relative;
  background: radial-gradient(circle at 15% 30%, #FFF3E0 0%, var(--cream) 50%),
    radial-gradient(circle at 90% 20%, #FDEAF0 0%, transparent 50%);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
}

.breadcrumb-clinic {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0.8rem;
}

.breadcrumb-clinic a {
  color: var(--teal-deep);
}

/* Misc */
.rounded-blob-img {
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  overflow: hidden;
}

hr.dotted {
  border: none;
  border-top: 3px dotted #E3D6BE;
}

/* Scroll progress */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf), var(--teal), var(--petal));
  z-index: 1100;
}

/* ============================================================
   Detail pages — sidebar widgets, tags, quotes, quick facts
   ============================================================ */
.sidebar-widget {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #F1E7D6;
  margin-bottom: 1.6rem;
}

.sidebar-widget h5 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.sidebar-sticky {
  position: sticky;
  top: 110px;
}

.fact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed #EFE4D0;
  font-size: 0.92rem;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-row .fact-label {
  color: var(--ink-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fact-row .fact-value {
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-display);
  text-align: right;
}

.tag-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  background: var(--cream-2);
  color: var(--navy-soft);
  padding: 6px 14px;
  border-radius: 50px;
  margin: 0 6px 8px 0;
  transition: all .2s ease;
}

.tag-pill:hover {
  background: linear-gradient(135deg, var(--coral), var(--sun-deep));
  color: #fff;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  color: var(--navy);
  margin-right: 8px;
  transition: all .25s var(--ease-bounce);
}

.share-btn:hover {
  transform: translateY(-4px);
  background: var(--navy);
  color: #fff;
}

.pull-quote {
  border-left: 5px solid var(--coral);
  background: var(--cream-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.4rem 1.8rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0;
}

.article-body h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

.article-body p {
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.article-body ul {
  margin-bottom: 1.3rem;
}

.article-body ul li {
  margin-bottom: 0.5rem;
}

.article-body img,
.article-body .article-illustration {
  border-radius: var(--radius-md);
  margin: 1.8rem 0;
  box-shadow: var(--shadow-soft);
}

.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin-top: 2.4rem;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.4rem;
}

.search-widget {
  position: relative;
}

.search-widget input {
  width: 100%;
  border: 2px solid #F1E7D6;
  border-radius: 50px;
  padding: 0.7rem 1.2rem 0.7rem 2.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--cream);
}

.search-widget svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #EFE4D0;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
}

.category-link:last-child {
  border-bottom: none;
}

.category-link span.count {
  background: var(--cream-2);
  color: var(--navy-soft);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 50px;
}

.category-link:hover {
  color: var(--coral-deep);
}

.mini-post {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px dashed #EFE4D0;
}

.mini-post:last-child {
  border-bottom: none;
}

.mini-post .mini-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-post h6 {
  font-size: 0.86rem;
  margin-bottom: 2px;
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1.3;
}

.mini-post span {
  font-size: 0.74rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.service-hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pop);
}

.benefit-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.benefit-check .bc-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F7EE;
  color: var(--leaf-deep);
}

@media (max-width: 991px) {
  .hero {
    padding: 5.5rem 0 4rem;
    text-align: center;
  }

  .hero p.lead-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .float-field {
    opacity: 0.6;
  }

  .cta-band {
    padding: 2.6rem 1.6rem;
    text-align: center;
  }
}

