/* Mindthera-inspired public theme for NHAPMETY */
:root {
  --mt-primary: #77cf63;
  --mt-primary-dark: #4d9b5f;
  --mt-primary-soft: #e8f8dd;
  --mt-ink: #1c241e;
  --mt-muted: #6d7d70;
  --mt-surface: #ffffff;
  --mt-soft: #f7fbf4;
  --mt-border: rgba(28, 36, 30, 0.1);
  --mt-shadow: 0 24px 60px rgba(24, 50, 30, 0.11);
}

body.theme-mindthera {
  background: var(--mt-surface);
  color: var(--mt-ink);
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

.theme-mindthera h1,
.theme-mindthera h2,
.theme-mindthera h3,
.theme-mindthera h4,
.theme-mindthera h5,
.theme-mindthera h6 {
  color: var(--mt-ink);
  letter-spacing: 0;
}

.theme-mindthera main > section:first-child.relative h1,
.theme-mindthera main > section:first-child.relative p:not(.home-hero-script),
.theme-mindthera main > section:first-child.relative .text-white,
.theme-mindthera main > section:first-child.relative .text-white\/88 {
  color: #fff !important;
}

.theme-mindthera main > section:first-child.relative .home-hero-script {
  color: var(--mt-primary) !important;
}

.theme-mindthera p {
  color: var(--mt-muted);
}

.mindthera-script,
.home-hero-script {
  font-family: "Allura", cursive;
  font-weight: 400;
}

.mindthera-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--mt-primary-soft);
  color: #3d803b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 16px;
}

/* Shared public header: the same branding and navigation on every page. */
.mindthera-header {
  --header-background: #ffffff;
  --header-ink: #1c241e;
  --header-muted: #6d7d70;
  --header-border: rgba(28,36,30,0.18);
  --header-hover: #3d803b;
  --header-normal-logo: block;
  --header-inverted-logo: none;
  position: relative;
  z-index: 60;
  width: 100%;
  background: var(--header-background);
  color: var(--header-ink);
}

.mindthera-header.is-home-overlay,
body.theme-mindthera:has(> main > section:first-child.bg-gradient-to-br) > .mindthera-header,
body.theme-mindthera:has(> main > section:first-child.section-bg) > .mindthera-header,
body.theme-mindthera:has(> main > main:first-child > section:first-child.section-bg) > .mindthera-header {
  --header-background: linear-gradient(180deg, rgba(14,20,16,0.7), rgba(14,20,16,0));
  --header-ink: rgba(255,255,255,0.93);
  --header-muted: rgba(255,255,255,0.72);
  --header-border: rgba(255,255,255,0.35);
  --header-hover: #a3ef83;
  --header-normal-logo: none;
  --header-inverted-logo: block;
}

.mindthera-header .mindthera-brand-logo.mindthera-brand-normal { display: var(--header-normal-logo); }
.mindthera-header .mindthera-brand-logo.mindthera-brand-inverted { display: var(--header-inverted-logo); }

/* Existing page heroes continue behind the shared transparent header.
   Compensating top padding preserves the current title/content position. */
body.theme-mindthera > main:has(> section:first-child.bg-gradient-to-br),
body.theme-mindthera > main:has(> section:first-child.section-bg),
body.theme-mindthera > main:has(> main:first-child > section:first-child.section-bg) { margin-top: -112px; }
body.theme-mindthera > main > section:first-child.bg-gradient-to-br,
body.theme-mindthera > main > section:first-child.section-bg,
body.theme-mindthera > main > main:first-child > section:first-child.section-bg { padding-top: 208px !important; }
@media (max-width: 1023px) {
  body.theme-mindthera > main:has(> section:first-child.bg-gradient-to-br),
  body.theme-mindthera > main:has(> section:first-child.section-bg),
  body.theme-mindthera > main:has(> main:first-child > section:first-child.section-bg) { margin-top: -104px; }
  body.theme-mindthera > main > section:first-child.bg-gradient-to-br,
  body.theme-mindthera > main > section:first-child.section-bg,
  body.theme-mindthera > main > main:first-child > section:first-child.section-bg { padding-top: 200px !important; }
}

.mindthera-header [hidden] { display: none !important; }

.mindthera-header .mindthera-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 16px 0;
}

.mindthera-header .mindthera-brand {
  display: inline-flex;
  flex-shrink: 0;
  margin-left: 8px;
}

.mindthera-header .mindthera-brand-logo {
  display: block;
  width: 112px;
  height: auto;
  object-fit: contain;
}

.mindthera-footer-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.mindthera-header .mindthera-desktop-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.mindthera-header .mindthera-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--header-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mindthera-header .mindthera-link:hover,
.mindthera-header .mindthera-link[aria-expanded="true"] { color: var(--header-hover); }

.mindthera-header .mindthera-header-item { position: relative; padding: 8px 0; }

.mindthera-header .mindthera-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--mt-border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(14, 30, 19, 0.18);
}

.mindthera-header .mindthera-dropdown.is-account { left: auto; right: 0; width: 200px; }
.mindthera-header .mindthera-account-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mindthera-header .mindthera-dropdown a,
.mindthera-header .mindthera-dropdown form button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--mt-ink);
  font-size: 14px;
  font-weight: 600;
}

.mindthera-header .mindthera-dropdown a:hover,
.mindthera-header .mindthera-dropdown form button:hover { background: var(--mt-soft); color: #3d803b; }

.mindthera-header .mindthera-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--header-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.mindthera-header .mindthera-help-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--header-border); border-radius: 50%; }
.mindthera-header .mindthera-help-caption { display: block; color: var(--header-muted); font-size: 12px; }
.mindthera-header .mindthera-cta { flex-shrink: 0; white-space: nowrap; font-size: 14px; }

.mindthera-header .mindthera-menu-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: var(--mt-primary);
  color: #102014;
  cursor: pointer;
}

.mindthera-header .mindthera-menu-toggle span { display: flex; }
.mindthera-header a:focus-visible,
.mindthera-header button:focus-visible { outline: 2px solid var(--header-hover); outline-offset: 4px; }
.mindthera-header .mindthera-dropdown a:focus-visible,
.mindthera-header .mindthera-mobile-panel a:focus-visible { outline-color: #3d803b; }
.mindthera-header .mindthera-mobile-panel { display: none; }
.mindthera-main-overlay { margin-top: -112px; }

@media (max-width: 1279px) {
  .mindthera-header .mindthera-help { display: none; }
}

@media (max-width: 1023px) {
  .mindthera-header .mindthera-nav-inner { min-height: 104px; }
  .mindthera-header .mindthera-brand-logo { width: 104px; }
  .mindthera-header .mindthera-desktop-menu { display: none; }
  .mindthera-header .mindthera-menu-toggle { display: inline-flex; }
  .mindthera-main-overlay { margin-top: -104px; }
  .mindthera-header .mindthera-mobile-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    color: var(--mt-ink);
    border-top: 1px solid var(--mt-border);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 18px 36px rgba(14,30,19,0.16);
  }
  .mindthera-header .mindthera-mobile-links { padding: 16px 24px 20px; }
  .mindthera-header .mindthera-mobile-links > a,
  .mindthera-header .mindthera-mobile-links > form > button { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: var(--mt-ink); font-size: 15px; font-weight: 600; }
  .mindthera-header .mindthera-mobile-links > a:hover { background: var(--mt-soft); }
  .mindthera-header .mindthera-mobile-links > .mindthera-cta { justify-content: center; margin-top: 12px; border-radius: 999px; color: #ffffff; }
  .mindthera-header .mindthera-mobile-links > .mindthera-cta:hover { background: var(--mt-primary-dark); }
  .mindthera-header .mindthera-mobile-links > .mindthera-mobile-phone { justify-content: center; margin-top: 8px; color: #3d803b; font-size: 13px; }
}


.mindthera-cta,
.btn-primary,
.btn.btn-primary {
  align-items: center;
  background: linear-gradient(135deg, var(--mt-primary), #65b98b);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(79, 155, 95, 0.22);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  padding: 13px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mindthera-cta:hover,
.btn-primary:hover,
.btn.btn-primary:hover {
  color: #fff;
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(79, 155, 95, 0.28);
}

.btn-secondary,
.btn.btn-secondary,
.btn-outline,
.btn.btn-outline {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(77, 155, 95, 0.28);
  border-radius: 999px;
  color: var(--mt-primary-dark);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  padding: 12px 23px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
.btn-outline:hover,
.btn.btn-outline:hover {
  background: var(--mt-primary-soft);
  color: var(--mt-primary-dark);
  transform: translateY(-1px);
}

.mindthera-page-hero .service-hero-secondary,
.mindthera-page-hero .service-hero-secondary:visited,
.service-hero-secondary,
.service-hero-secondary:visited {
  background: #fff !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 16px 34px rgba(5, 36, 32, 0.16);
  color: var(--mt-primary-dark) !important;
}

.mindthera-page-hero .service-hero-secondary i,
.mindthera-page-hero .service-hero-secondary span,
.service-hero-secondary i,
.service-hero-secondary span {
  color: var(--mt-primary-dark) !important;
}

.mindthera-page-hero .service-hero-secondary:hover,
.service-hero-secondary:hover {
  background: var(--mt-primary-soft) !important;
  color: #245b35 !important;
}

.card-hover,
.card,
.service-card,
.therapist-card {
  border: 1px solid var(--mt-border);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(24, 44, 28, 0.055);
}

.card-hover:hover,
.card:hover,
.service-card:hover,
.therapist-card:hover {
  border-color: rgba(119, 207, 99, 0.45);
  box-shadow: var(--mt-shadow);
  transform: translateY(-5px);
}

.mindthera-page-hero {
  background:
    linear-gradient(90deg, rgba(20, 31, 22, 0.72), rgba(20, 31, 22, 0.32)),
    url("https://images.pexels.com/photos/7176026/pexels-photo-7176026.jpeg?auto=compress&cs=tinysrgb&w=2200") center/cover;
  color: #fff;
  overflow: hidden;
  padding: 96px 0 80px;
  position: relative;
}

.mindthera-page-hero::after {
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  bottom: -130px;
  content: "";
  height: 310px;
  left: -90px;
  position: absolute;
  width: 310px;
}

.mindthera-page-hero h1,
.mindthera-page-hero p,
.mindthera-page-hero a,
.mindthera-page-hero span {
  color: #fff;
}

.theme-mindthera main > section:first-child.bg-gradient-to-br,
.theme-mindthera main > main:first-child > section:first-child.section-bg,
.theme-mindthera main > section:first-child.section-bg {
  background:
    linear-gradient(90deg, rgba(20, 31, 22, 0.74), rgba(20, 31, 22, 0.34)),
    url("https://images.pexels.com/photos/7176026/pexels-photo-7176026.jpeg?auto=compress&cs=tinysrgb&w=2200") center/cover !important;
  color: #fff;
  overflow: hidden;
  padding-bottom: 76px !important;
  padding-top: 96px !important;
  position: relative;
}

.theme-mindthera main > section:first-child.bg-gradient-to-br::after,
.theme-mindthera main > main:first-child > section:first-child.section-bg::after,
.theme-mindthera main > section:first-child.section-bg::after {
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  bottom: -130px;
  content: "";
  height: 310px;
  left: -90px;
  position: absolute;
  width: 310px;
}

.theme-mindthera main > section:first-child.bg-gradient-to-br h1,
.theme-mindthera main > section:first-child.bg-gradient-to-br p,
.theme-mindthera main > section:first-child.bg-gradient-to-br a,
.theme-mindthera main > section:first-child.bg-gradient-to-br span,
.theme-mindthera main > main:first-child > section:first-child.section-bg h1,
.theme-mindthera main > main:first-child > section:first-child.section-bg p,
.theme-mindthera main > section:first-child.section-bg h1,
.theme-mindthera main > section:first-child.section-bg p {
  color: #fff !important;
}

.theme-mindthera main > section:first-child.bg-gradient-to-br h1,
.theme-mindthera main > main:first-child > section:first-child.section-bg h1,
.theme-mindthera main > section:first-child.section-bg h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.02em;
}

.mindthera-section {
  padding: 82px 0;
}

.mindthera-soft-section {
  background:
    radial-gradient(circle at 100% 10%, rgba(119, 207, 99, 0.16), transparent 28%),
    var(--mt-soft);
}

.mindthera-services-showcase {
  align-items: start;
}

.mindthera-service-card {
  color: var(--mt-ink);
  display: block;
  text-decoration: none;
}

.mindthera-service-image {
  aspect-ratio: 1.42 / 1;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(24, 44, 28, 0.13);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.mindthera-service-image::after {
  background: linear-gradient(180deg, rgba(8, 16, 10, 0.02), rgba(8, 16, 10, 0.18));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.mindthera-service-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
  width: 100%;
}

.mindthera-service-card:hover .mindthera-service-image img {
  filter: saturate(1.06);
  transform: scale(1.045);
}

.mindthera-service-card h3 {
  color: var(--mt-ink);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  transition: color 0.2s ease;
}

.mindthera-service-card p {
  color: #7b8a83;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}

.mindthera-service-card:hover h3 {
  color: var(--mt-primary-dark);
}

.mindthera-start-panel,
.mindthera-start-panel h2,
.mindthera-start-panel p {
  color: #fff !important;
}

.mindthera-start-panel p:first-child {
  color: rgba(255, 255, 255, 0.82) !important;
}

.mindthera-start-panel p:not(:first-child) {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mindthera-start-panel a {
  background: #fff;
  color: var(--mt-primary-dark) !important;
  box-shadow: 0 16px 34px rgba(5, 36, 32, 0.18);
}

.mindthera-start-panel a:hover {
  background: var(--mt-primary-soft);
  color: #245b35 !important;
}

.mindthera-footer {
  background: #152019;
  color: #fff;
  margin-top: 0;
  overflow: hidden;
  position: relative;
}

.mindthera-footer::before {
  background: radial-gradient(circle, rgba(119, 207, 99, 0.22), transparent 62%);
  content: "";
  height: 420px;
  position: absolute;
  right: -150px;
  top: -170px;
  width: 420px;
}

.mindthera-footer a,
.mindthera-footer p,
.mindthera-footer li,
.mindthera-footer h3 {
  color: inherit;
}

.mindthera-footer-muted {
  color: rgba(255, 255, 255, 0.68);
}

.mindthera-footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mindthera-footer-link:hover {
  color: var(--mt-primary);
  transform: translateX(3px);
}

.mindthera-footer-social {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  width: 42px;
}

.mindthera-footer-social:hover {
  background: var(--mt-primary);
  color: #102014;
}

.theme-mindthera input,
.theme-mindthera select,
.theme-mindthera textarea,
.form-control {
  border-color: rgba(28, 36, 30, 0.15);
  border-radius: 16px;
}

.theme-mindthera input:focus,
.theme-mindthera select:focus,
.theme-mindthera textarea:focus,
.form-control:focus {
  border-color: var(--mt-primary-dark);
  box-shadow: 0 0 0 4px rgba(119, 207, 99, 0.16);
}

.auth-page-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(119, 207, 99, 0.18), transparent 28%),
    linear-gradient(135deg, var(--mt-soft), #fff 48%, #eefcf7);
}

.auth-card {
  color: var(--mt-ink);
}

.auth-card h1 {
  color: var(--mt-ink) !important;
  font-size: 1.5rem !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

.auth-card p,
.auth-card label {
  color: rgba(28, 36, 30, 0.7) !important;
}

.auth-card a {
  color: var(--mt-primary-dark) !important;
}

.auth-card .btn-primary,
.auth-card button.btn-primary {
  color: #fff !important;
}

.mindthera-page-hero .service-hero-secondary,
.mindthera-page-hero .service-hero-secondary:visited {
  background: #fff !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  color: var(--mt-primary-dark) !important;
}

.mindthera-page-hero .service-hero-secondary i,
.mindthera-page-hero .service-hero-secondary span {
  color: var(--mt-primary-dark) !important;
}

body.theme-mindthera .mindthera-page-hero a.service-hero-secondary,
body.theme-mindthera .mindthera-page-hero a.service-hero-secondary:visited {
  color: #4d9b5f !important;
}

body.theme-mindthera .mindthera-page-hero a.service-hero-secondary i,
body.theme-mindthera .mindthera-page-hero a.service-hero-secondary span {
  color: #4d9b5f !important;
}

body.theme-mindthera main > section:first-child.bg-gradient-to-br a.service-hero-secondary,
body.theme-mindthera main > section:first-child.bg-gradient-to-br a.service-hero-secondary:visited {
  background: #fff !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  color: #4d9b5f !important;
}

body.theme-mindthera main > section:first-child.bg-gradient-to-br a.service-hero-secondary i,
body.theme-mindthera main > section:first-child.bg-gradient-to-br a.service-hero-secondary span {
  color: #4d9b5f !important;
}

@media (max-width: 767px) {
  .mindthera-page-hero {
    padding: 74px 0 56px;
  }

  .theme-mindthera main > section:first-child.relative {
    overflow-x: hidden;
  }

  .theme-mindthera main > section:first-child.relative h1 {
    font-size: clamp(2rem, 8vw, 2.35rem);
    line-height: 1.08;
    max-width: calc(100vw - 2rem);
    overflow-wrap: anywhere;
  }

  .theme-mindthera main > section:first-child.relative p:not(.home-hero-script) {
    max-width: min(32ch, calc(100vw - 2rem));
    overflow-wrap: anywhere;
  }

  .theme-mindthera main > section:first-child.relative .home-hero-script {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .theme-mindthera main > section:first-child.relative a {
    max-width: calc(100vw - 2rem);
    width: 100%;
  }
}



.mindthera-header .mindthera-dropdown form button, .mindthera-header .mindthera-mobile-links > form > button { width:100%; text-align:left; }

/* Institutional acknowledgement in the shared public footer. */
.mindthera-footer .mindthera-footer-partners {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.mindthera-footer .mindthera-footer-partners h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.mindthera-footer .mindthera-footer-partners p {
  max-width: 740px;
  margin: 0 auto;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.8;
  text-wrap: pretty;
}
.mindthera-footer .mindthera-footer-partner-logos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,320px));
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
}
.mindthera-footer .mindthera-footer-partner-logo {
  aspect-ratio: 1.8;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  background: #ffffff;
}
.mindthera-footer .mindthera-footer-partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 560px) {
  .mindthera-footer .mindthera-footer-partners { margin-top: 32px; padding-top: 28px; }
  .mindthera-footer .mindthera-footer-partners h2 { font-size: 18px; }
  .mindthera-footer .mindthera-footer-partner-logos {
    grid-template-columns: minmax(0,320px);
    gap: 18px;
    margin-top: 22px;
  }
}
