/* ============================================================
   PREMIUM ENHANCEMENT LAYER v6 — Transformative Therapy
   Clean consolidated version
   ============================================================ */

:root {
  --green:       #298463;
  --green-dark:  #1e6349;
  --green-light: #e8f5ee;
  --dark:        #1a1e2e;
  --text:        #2d3748;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 48px rgba(0,0,0,0.14);
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── GLOBAL ───────────────────────────────────────────────── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

section {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
}

/* ── HERO ─────────────────────────────────────────────────── */
#header1-f {
  min-height: 80vh !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

#header1-f .mbr-overlay {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  right: 0 !important; bottom: 0 !important;
  z-index: 0 !important;
}

#header1-f .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Location line */
.hero-location-line {
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  opacity: 0.75 !important;
  text-transform: uppercase !important;
  line-height: 1.6 !important;
}

/* ── MOBILE HERO ──────────────────────────────────────────── */
@media (max-width: 767px) {
  #header1-f {
    min-height: 70vh !important;
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }

  #header1-f .mbr-section-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
  }

  #header1-f .display-4 {
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
  }

  #header1-f .hero-location-line {
    font-size: 0.75rem !important;
    opacity: 0.65 !important;
  }

  .display-7 {
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5,
.display-1, .display-2, .display-3, .display-4 {
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

p, .display-7 { line-height: 1.8 !important; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.cid-ucYcFTmtIx {
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

.cid-ucYcFTmtIx.scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm) !important;
}

.cid-ucYcFTmtIx .nav-link {
  font-weight: 500 !important;
  letter-spacing: 0.015em !important;
  transition: color 0.2s ease !important;
}

/* ── DROPDOWN ────────────────────────────────────────────── */
.cid-ucYcFTmtIx .dropdown-menu {
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.09) !important;
  padding: 8px !important;
  min-width: 200px !important;
  animation: simpleFade 0.18s ease !important;
}

@keyframes simpleFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cid-ucYcFTmtIx .dropdown-item,
.cid-ucYqvu1TBU .dropdown-item,
.cid-ucYqL2hpsV .dropdown-item,
.cid-ucYqzTV3xs .dropdown-item,
.cid-ucYetwjSgg .dropdown-item,
.cid-uhjdwd8HAS .dropdown-item,
.cid-uiJ7djCGzZ .dropdown-item {
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  background: transparent !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  opacity: 1 !important;
  animation: none !important;
}

.cid-ucYcFTmtIx .dropdown-item:hover,
.cid-ucYqvu1TBU .dropdown-item:hover,
.cid-ucYqL2hpsV .dropdown-item:hover,
.cid-ucYqzTV3xs .dropdown-item:hover,
.cid-ucYetwjSgg .dropdown-item:hover,
.cid-uhjdwd8HAS .dropdown-item:hover,
.cid-uiJ7djCGzZ .dropdown-item:hover {
  background: var(--green-light) !important;
  color: var(--green) !important;
}

/* ── MOBILE NAV ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .cid-ucYcFTmtIx .navbar-collapse {
    border-radius: 0 0 12px 12px !important;
    box-shadow: var(--shadow-md) !important;
    padding-bottom: 16px !important;
  }

  .cid-ucYcFTmtIx .nav-link {
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 13px 20px !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  }

  .cid-ucYcFTmtIx .dropdown-menu {
    animation: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 0 8px 0 !important;
    min-width: unset !important;
  }

  .cid-ucYcFTmtIx .dropdown-item {
    padding: 10px 24px !important;
    font-size: 0.92rem !important;
    border-radius: 6px !important;
  }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn, .mbr-section-btn a {
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 13px 32px !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.btn-primary, .btn-success {
  box-shadow: 0 4px 16px rgba(41,132,99,0.30) !important;
}

.btn-primary:hover, .btn-success:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(41,132,99,0.40) !important;
}

@media (max-width: 575px) {
  .btn, .mbr-section-btn a {
    width: 100% !important;
    padding: 15px 24px !important;
  }
}

/* ── CARDS ────────────────────────────────────────────────── */
/* Card hover — only on features5 pill cards, NOT exec function accordion */
.cid-ug5uolhWvC .card,
.cid-ug5EVBKjfx .card,
.cid-ug5FZG9UcL .card {
  border-radius: 14px !important;
  border: 1px solid rgba(41,132,99,0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.cid-ug5uolhWvC .card:hover,
.cid-ug5EVBKjfx .card:hover,
.cid-ug5FZG9UcL .card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(41,132,99,0.3) !important;
}

/* ── ACCORDION ────────────────────────────────────────────── */
.cid-ug5HXTMtWu h5 {
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  padding: 1rem 1.25rem !important;
}

.cid-ug5HXTMtWu .card {
  border-radius: 12px !important;
  margin-bottom: 6px !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
}

.cid-ug5HXTMtWu .card .card-header {
  padding: 4px 8px !important;
}

.cid-ug5HXTMtWu .card .panel-body {
  padding: 1rem 1.5rem 1.5rem !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}

.cid-ug5HXTMtWu .wrapper {
  background: #f8f9f8 !important;
  border-radius: 16px !important;
}

.panel-title { font-weight: 600 !important; transition: color 0.2s ease !important; }
.panel-title:hover { color: var(--green) !important; }
/* card-header background removed — was making exec function cards solid white */

@media (max-width: 767px) {
  .cid-ug5HXTMtWu h5 { padding: 0.9rem 1rem !important; font-size: 0.92rem !important; }
  .cid-ug5HXTMtWu .card .panel-body { padding: 0.85rem 1rem 1.25rem !important; }
  .cid-ug5HXTMtWu .wrapper { padding: 1.5rem 0.75rem !important; }
}

/* ── SKILL TRAINING CARDS ─────────────────────────────────── */
.cid-ug5uolhWvC .card-title,
.cid-ug5EVBKjfx .card-title,
.cid-ug5FZG9UcL .card-title {
  color: rgba(255,255,255,0.55) !important;
  transition: color 0.2s ease !important;
  font-weight: 500 !important;
}

.cid-ug5uolhWvC .card:hover .card-title,
.cid-ug5EVBKjfx .card:hover .card-title,
.cid-ug5FZG9UcL .card:hover .card-title {
  color: rgba(255,255,255,1) !important;
}

.cid-ug5uolhWvC .mbr-iconfont,
.cid-ug5EVBKjfx .mbr-iconfont,
.cid-ug5FZG9UcL .mbr-iconfont {
  opacity: 0.45 !important;
  transition: opacity 0.2s ease !important;
}

.cid-ug5uolhWvC .card:hover .mbr-iconfont,
.cid-ug5EVBKjfx .card:hover .mbr-iconfont,
.cid-ug5FZG9UcL .card:hover .mbr-iconfont {
  opacity: 1 !important;
}

/* ── THERAPY VS COACHING LIST ─────────────────────────────── */
.cid-uiJmcU9Rzn .list-title {
  text-align: center !important;
  border-bottom: 2px solid rgba(41,132,99,0.25) !important;
  padding-bottom: 16px !important;
}

@media (max-width: 767px) {
  .cid-uiJmcU9Rzn { padding-left: 1rem !important; padding-right: 1rem !important; }
  .cid-uiJmcU9Rzn .col-list { padding: 0 0.5rem !important; }
  .cid-uiJmcU9Rzn .list { padding-left: 1.2rem !important; }
}

/* ── ABOUT PAGE VIDEO SECTION ─────────────────────────────── */
.cid-ufpAn7r3aC {
  background-color: #f8f9f8 !important;
}

/* Make the box bigger and cleaner */
.cid-ufpAn7r3aC .box {
  background-image: url('assets/images/logo-center-white-background-2000x1958.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #ffffff !important;
  height: 500px !important;
  max-width: 600px !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid rgba(41,132,99,0.10) !important;
  cursor: pointer !important;
  transition: box-shadow 0.2s ease !important;
}

.cid-ufpAn7r3aC .box:hover {
  box-shadow: var(--shadow-lg) !important;
}

/* ── FORM INPUTS ──────────────────────────────────────────── */
.form-control {
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 12px 16px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(41,132,99,0.10) !important;
  outline: none !important;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.cid-ug5MYJ0Xmq { border-top: 4px solid var(--green) !important; }

/* ── LINKS ────────────────────────────────────────────────── */
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand):hover {
  color: var(--green) !important;
  transition: color 0.2s ease;
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ── NAVBAR BRAND TEXT ────────────────────────────────────── */
.cid-ucYcFTmtIx .navbar-caption {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.3 !important;
  color: #1a2e1f !important;
  text-transform: none !important;
  padding-left: 0.75rem !important;
}

/* Subtle green on hover */
.cid-ucYcFTmtIx .navbar-caption:hover {
  color: #298463 !important;
  text-decoration: none !important;
}

/* When navbar is scrolled and bg goes white — keep it dark */
.cid-ucYcFTmtIx.scrolled .navbar-caption {
  color: #1a2e1f !important;
}

@media (max-width: 991px) {
  .cid-ucYcFTmtIx .navbar-caption {
    font-size: 0.95rem !important;
    letter-spacing: 0.06em !important;
  }
}

/* ── HERO MOBILE ──────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Stack images below text on mobile */
  #header1-f [style*="position:absolute;inset:0;display:flex"] {
    flex-direction: column !important;
  }

  #header1-f [style*="position:absolute;inset:0;display:flex"] > div:first-child {
    width: 100% !important;
    height: 45vh !important;
    flex-shrink: 0 !important;
  }

  #header1-f [style*="position:absolute;inset:0;display:flex"] > div:last-child {
    width: 100% !important;
    height: 55vh !important;
    flex-direction: row !important;
    flex-shrink: 0 !important;
  }

  /* Text padding on mobile */
  #header1-f [style*="position:relative;z-index:2"] {
    padding: 90px 1.5rem 2rem !important;
  }
}

/* ── HERO MOBILE FIX ──────────────────────────────────────── */
@media (max-width: 767px) {
  /* Fix text padding — was 5rem horizontal which crushed it on phones */
  #header1-f .hero-text {
    padding: 110px 1.5rem 3rem !important;
  }

  /* Smaller headline on mobile */
  #header1-f .hero-text h1 {
    font-size: 2.1rem !important;
    margin-bottom: 1rem !important;
  }

  /* Body text readable size */
  #header1-f .hero-text p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
  }

  /* Show top of image — women's faces not their knees */
  #header1-f img {
    object-position: center 20% !important;
  }

  /* Slightly darker overlay on mobile so text pops */
  #header1-f .hero-overlay {
    background: rgba(15,31,20,0.72) !important;
  }

  /* Full width button on mobile */
  #header1-f .hero-text .btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── CODEPENDENCY PAGE HERO — own class, independent of ADHD ── */
.cid-codependency-hero {
  padding-top: 225px;
  padding-bottom: 75px;
  background-image: url("../../assets/images/codependency-hero.png") !important;
  background-position: right center !important;
  background-size: auto 100% !important;
  background-repeat: no-repeat !important;
  background-color: #ffffff !important;
}

/* ── CODEPENDENCY HERO TEXT — dark on white background ──────── */
.cid-codependency-hero h1,
.cid-codependency-hero h2,
.cid-codependency-hero .mbr-section-title,
.cid-codependency-hero .mbr-section-subtitle {
  color: #247658 !important;
}

.cid-codependency-hero .mbr-text,
.cid-codependency-hero p {
  color: #2d3748 !important;
}

.cid-codependency-hero .display-4 {
  color: #07acba !important;
}

/* ── MOBILE SITE OPTIMIZER ────────────────────────────────── */

/* 1. HOME PAGE HERO — wider text block on mobile */
@media (max-width: 767px) {
  #header1-f .hero-text {
    padding: 2rem 1.5rem 3rem !important;
  }
  #header1-f .hero-text > div {
    max-width: 100% !important;
    width: 100% !important;
  }
  #header1-f .hero-text h1 {
    font-size: 2.1rem !important;
    white-space: normal !important;
  }
  #header1-f .hero-text .hero-desc {
    font-size: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
  }
  #header1-f .hero-text .hero-loc {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* 2. ADHD HERO — fix background position on mobile so person shows */
@media (max-width: 767px) {
  .cid-ug14yNmlLY {
    background-position: 80% center !important;
    background-size: cover !important;
    min-height: 300px !important;
    padding-top: 160px !important;
    padding-bottom: 40px !important;
  }
}

/* 3. CODEPENDENCY HERO — fade the dark image, show as background */
@media (max-width: 767px) {
  .cid-codependency-hero {
    background-image: url("../../assets/images/codependency-hero.png") !important;
    background-position: right center !important;
    background-size: auto 70% !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
    padding-top: 160px !important;
    padding-bottom: 40px !important;
    position: relative !important;
  }
  /* Fade overlay to make dark silhouettes readable under text */
  .cid-codependency-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.68);
    z-index: 0;
  }
  .cid-codependency-hero .container {
    position: relative;
    z-index: 1;
  }
}

/* Desktop codependency — also add fade so text reads clearly */
@media (min-width: 768px) {
  .cid-codependency-hero {
    position: relative !important;
  }
  .cid-codependency-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.52);
    z-index: 0;
  }
  .cid-codependency-hero .container {
    position: relative;
    z-index: 1;
  }
}

/* ── SKILL TRAINING CARDS — ALL PAGES ────────────────────── */
/* features5 sections (ADHD, Relationships, Depression, Codependency) */
.cid-ug5uolhWvC .card-title,
.cid-ug5EVBKjfx .card-title,
.cid-ug5FZG9UcL .card-title {
  color: rgba(255,255,255,0.50) !important;
  transition: color 0.2s ease !important;
}

.cid-ug5uolhWvC .card:hover .card-title,
.cid-ug5EVBKjfx .card:hover .card-title,
.cid-ug5FZG9UcL .card:hover .card-title {
  color: rgba(255,255,255,1) !important;
}

.cid-ug5uolhWvC .mbr-iconfont,
.cid-ug5EVBKjfx .mbr-iconfont,
.cid-ug5FZG9UcL .mbr-iconfont {
  opacity: 0.4 !important;
  transition: opacity 0.2s ease !important;
}

.cid-ug5uolhWvC .card:hover .mbr-iconfont,
.cid-ug5EVBKjfx .card:hover .mbr-iconfont,
.cid-ug5FZG9UcL .card:hover .mbr-iconfont {
  opacity: 1 !important;
}

/* exec function styles handled in source CSS */



/* ── HOME MOBILE — wider text lines ──────────────────────── */
@media (max-width: 767px) {
  #header1-f .hero-text div {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ── HOME HERO MOBILE — description text swap ─────────────── */
/* Desktop shows full text, mobile shows shorter version */
.hero-desc-mobile { display: none; }
.hero-desc-full   { display: inline; }

@media (max-width: 767px) {
  .hero-desc-mobile { 
    display: block !important; 
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: rgba(255,255,255,0.90) !important;
  }
  .hero-desc-full   { display: none !important; }
}



/* ── DROPDOWN FIX — ensure white background always ──────── */
.cid-ucYcFTmtIx .dropdown-menu {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.cid-ucYcFTmtIx .dropdown-item {
  background: transparent !important;
  color: #2d3748 !important;
}

.cid-ucYcFTmtIx .dropdown-item:hover {
  background: #e8f5ee !important;
  color: #298463 !important;
}

/* ── EXEC FUNCTION CARD HOVER ─────────────────────────────── */
.cid-uiJ7dkJXxT .card:hover {
  background-color: rgba(245, 240, 232, 0.30) !important;
  border-color: rgba(245, 240, 232, 0.45) !important;
}
