
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Afacad+Flux:wght@100..1000&family=Courgette&family=Dancing+Script:wght@400..700&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&family=Rouge+Script&display=swap');

	  /*
	  FONTS
Afacad+Flux = Therapist in the box
Zain = Nav
Dancing Script = script, find a
--Standard purple: #923690
dark purple: #71176e
	  */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { 
		height: 100%; 
		font-family: 'Poppins', sans-serif; 
		background-color: #eee8e1;
margin: 0;
  padding: 0;
}

    .wrapper { height: 100%; width: 100%; }

.page-wrapper {
  min-height: 100vh;    
  display: flex;
  flex-direction: column;
}

main {
	flex: 1;
}

.main-content {
	width: 90%;
	margin-top: 60px;
	margin-left: auto;
  margin-right: auto;
}

    header {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      z-index: 100;
    }

    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 5px 40px;
      position: relative;
    }

    .navbar::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      height: 0%;
      width: 100%;
      background-color: rgba(246, 243, 239, 0.8);
      backdrop-filter: blur(10px);
      transition: height 0.4s ease;
      z-index: -1;
    }
    .navbar.scrolled::before { height: 100%; }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .logo {
      height: 70px;
      width: 245px;
      background-image: url('../images/logo1.png');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      flex-shrink: 0;
		margin-right: 30px;
		z-index: 36;
    }

.logo-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  margin-right: 30px;
  z-index: 36;
}

/* Tooltip styling */
.logo-tooltip {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #faf9f7;
  color: #333;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tooltip fade in on hover */
.logo-link:hover .logo-tooltip {
  opacity: 1;
}

    nav { 
		position: relative; 
	  text-shadow: 0 2px 2px rgba(0,0,0,0.3);
		font-size: 1.2em;
		margin-top: 5px;
	  }

    nav ul {
      list-style: none;
      display: flex;
      gap: 30px;
    }
    nav li { position: relative; }
    nav a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      padding: 5px 0;
      display: inline-block;
      position: relative;
		
    }
    nav a:not(.dropdown-toggle)::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      height: 3px;
      width: 0;
      background-color: #333;
      transition: width 0.3s ease;
    }
    nav li:hover > a:not(.dropdown-toggle)::after {
      width: 100%;
    }

    .has-dropdown i {
      font-size: 1rem;
      margin-left: 6px;
      transition: transform 0.3s ease;
    }
    .has-dropdown:hover i {
      transform: rotate(180deg);
    }

    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(8px);
      border-radius: 8px;
      padding: 10px 0;
      flex-direction: column;
      min-width: 200px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
      z-index: 199;
    }

    .has-dropdown:hover .dropdown {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .dropdown.show {
      position: relative;
      opacity: 1 !important;
      transform: translateY(0) !important;
      pointer-events: auto !important;
      display: flex !important;
      flex-direction: column;
      margin-top: 10px;
    }

	  .dropdown a {
      display: block;
      width: 100%;
      padding: 10px 20px;
      white-space: nowrap;
      border-top: 1px solid #ddd;
      color: #333;
      position: relative;
    }

    .dropdown a:first-child {
      border-top: none;
    }

    .dropdown a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      height: 3px;
      width: 0;
      background-color: #333;
      transition: width 0.3s ease;
    }

    .dropdown a:hover::after {
      width: 100%;
    }

    .dropdown::before {
      content: "";
      position: absolute;
      top: -8px;
      left: 20px;
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 8px solid rgba(255, 255, 255, 0.9);
    }

    .hamburger {
      display: none;
      font-size: 2rem;
      color: #333;
      cursor: pointer;
      z-index: 100;
    }

    .login-icon {
      font-size: 1.8rem;
      color: #333;
      cursor: pointer;
      margin-left: auto;
      margin-right: 20px;
      position: relative;
    }

    .login-icon i.jiggle {
      animation: jiggle 0.4s;
    }

    @keyframes jiggle {
      0%, 100% { transform: rotate(0); }
      25% { transform: rotate(10deg); }
      50% { transform: rotate(-10deg); }
      75% { transform: rotate(5deg); }
    }

    .login-box {
      position: absolute;
      top: 100%;
      right: 0;
      background: rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(10px);
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
      width: 250px;
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
      z-index: 99;
    }

    .login-box.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .login-box::before {
      content: "";
      position: absolute;
      top: -8px;
      right: 20px;
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 8px solid rgba(255, 255, 255, 0.9);
    }

    .login-box input {
      width: 100%;
      padding: 8px 10px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
    }
    .login-box button {
      width: 100%;
      padding: 8px;
      background: #333;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

	  
/*	  Mobile Nav */
    nav.mobile-active ul {
      flex-direction: column;
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      width: 280px;
      background: rgba(246, 243, 239,0.8);
      backdrop-filter: blur(10px);
      padding: 80px 20px;
      transform: translateX(100%);
      transition: transform 0.4s ease;
		/*animation: fadeIn 0.3s ease-in-out;*/
      z-index: 99;
		display: none;
    }

    nav.mobile-active ul.show {
      transform: translateX(0);
		animation: slideIn 0.3s ease-in-out forwards; /* Apply the animation */
    }
	  
	  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }

  /* Optional: Define a slideOut animation for when the menu closes */
  @keyframes slideOut {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(100%);
    }
  }

  nav.mobile-active ul.hide {
    animation: slideOut 0.3s ease-in-out forwards;
  }

  nav.mobile-active ul li {
    display: block;
    width: 100%;
  }

    nav.mobile-active li {
      width: 100%;
    }

    nav.mobile-active .dropdown {
      position: static;
      opacity: 1;
      transform: none;
      pointer-events: auto;
      padding: 0;
      margin: 0;
      border-radius: 0;
      box-shadow: none;
      display: none;
      background: none;
    }

    nav.mobile-active .dropdown.show {
      display: block;
    }

    nav.mobile-active .has-dropdown > a {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

@media (max-width: 1024px) {
  .hamburger { display: block; }
  .nav-left nav ul { display: none; }
  nav.mobile-active ul { display: flex; }
  nav li:hover > .dropdown { display: none; }
  nav li:hover > a::after { width: 0; }
  .navbar { flex-wrap: wrap; }
  
  /* Push login-icon to the right first */
  .login-icon { 
    order: 2; 
    margin-left: auto; /* This pushes it to the right */
    margin-right: 10px; /* Small gap before hamburger */
  }
  
  /* Hamburger comes after */
  .hamburger { 
    order: 3; 
    margin-left: 0; /* Remove auto, let it sit next to login-icon */
  }
}

.tophead-image {
  background-image: url('../images/header3.jpg');
	/*background-image: url('../images/header2.jpg');*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 500px; /* Prevents it from getting too small */
  max-height: 100vh;
  width: 100%;
  position: relative;
}

/* Add the fade overlay at the bottom */
.tophead-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 71px;
  background-image: url('../images/header-fade.png');
  background-repeat: repeat-x;
  background-position: bottom;
  pointer-events: none; /* Allows clicks to pass through */
}

.header-text {
  position: absolute;
  bottom: 300px; /* 200px from the bottom */
  /*left: 200px;*/
	width: 60%;
  right: 0;
  text-align: center; /* Centers the text horizontally */
  padding: 0 20px; /* Some padding for smaller screens */
}

.full-screen-text {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-family: 'Poppins', sans-serif;
  color: #360357; 
  text-shadow: 2px 2px 2px white;
  display: inline-block;
  max-width: 80%;

        
}
@media (max-width: 768px) {
  .tophead-image { 
    height: 70vh; /* Uses viewport height for better scaling */
    min-height: 400px;
    max-height: 600px;
  }
  .logo { height: 80px; width: 200px; }
	
	.header-text {
  bottom: 150px; 
	width: 70%;
	}
	
	.nav-left {
		gap: 0;
	}
}

@media (max-width: 480px) {
  .tophead-image { 
    height: 50vh;
    min-height: 300px;
    max-height: 400px;
  }
	
	.logo { height: 50px; width: 120px; }
  
}

/*************************LOGIN****************************/
.tm-login {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 16px 48px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #1f2937;
  }

  .tm-login__intro h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
	  font-weight: 400;
  }

  .tm-login__intro p {
    margin: 0 0 18px 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.6;
  }

  .tm-login__card {
    background: #faf9f7;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
    padding: 22px;
    border: 1px solid rgba(17, 24, 39, 0.06);
  }

  .tm-login__card h2 {
    margin: 0 0 14px 0;
    font-size: 18px;
    color: #111827;
  }

  .tm-login__buttons {
    display: grid;
    gap: 12px;
    margin-top: 8px;
  }

  .tm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
    user-select: none;
  }

  .tm-btn:focus {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: 2px;
  }

  .tm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(17, 24, 39, 0.10);
  }

  .tm-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
  }

  .tm-btn__text {
    line-height: 1;
  }

  /* Provider styles */
  .tm-btn--google {
    background: #ffffff;
    color: #111827;
  }

  .tm-btn--apple {
    background: #111827;
    color: #ffffff;
    border-color: rgba(17, 24, 39, 0.25);
  }
  .tm-btn--apple .tm-btn__icon { background: rgba(255,255,255,0.12); }

  .tm-btn--facebook {
    background: #1877F2;
    color: #ffffff;
    border-color: rgba(24, 119, 242, 0.55);
  }
  .tm-btn--facebook .tm-btn__icon { background: rgba(255,255,255,0.16); }

  .tm-login__divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 18px 0 10px;
    color: #6b7280;
    font-weight: 600;
  }

  .tm-login__divider span:first-child,
  .tm-login__divider span:last-child {
    height: 1px;
    background: rgba(17, 24, 39, 0.18);
    display: block;
  }

  .tm-login__divider-text {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .tm-login__alt {
    margin: 0;
    color: #374151;
    font-size: 14px;
  }

  @media (max-width: 480px) {
    .tm-login__intro h1 { font-size: 28px; }
    .tm-login__card { padding: 18px; }
  }

/*************************FORMS**********************/
/* Screen-reader utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Two-column layout inside the login card */
.tm-account-login {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  margin-top: 4px;
  padding-top: 14px;
}

/* LEFT: Form styling */
.tm-form {
  display: grid;
  gap: 10px;
}

.tm-input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  color: #111827;
  outline: none;
  transition: box-shadow 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.tm-input::placeholder {
  color: rgba(17, 24, 39, 0.45);
}

.tm-input:focus {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.tm-submit {
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #923690;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.tm-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
  background: #71176e;
}

.tm-submit:active {
  transform: translateY(0);
  box-shadow: none;
  opacity: 0.95;
}

/* RIGHT: Help links with vertical divider */
.tm-help {
  position: relative;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

/* vertical border */
.tm-help::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(17, 24, 39, 0.18);
}

/* Link styling */
.tm-help-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.65);
  color: #111827;
  font-weight: 650;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.tm-help-link i {
  font-size: 20px;
  line-height: 1;
}

.tm-help-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.85);
}

/* Mobile stacking */
@media (max-width: 700px) {
  .tm-account-login {
    grid-template-columns: 1fr;
  }
  .tm-help {
    padding-left: 0;
    padding-top: 14px;
  }
  .tm-help::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    height: 1px;
    width: auto;
  }
}

/* --- Fix: global a:hover shouldn't recolor provider buttons --- */
/* Keep provider buttons' text color stable even if you have a generic a:hover rule */
/* Lock provider button text color against global a:hover */
.tm-btn {
  text-decoration: none;
}

.tm-btn:hover,
.tm-btn:active,
.tm-btn:visited {
  text-decoration: none;
}

/* Explicit provider colors (wins over generic a:hover) */
.tm-btn--google,
.tm-btn--google:hover {
  color: #111827;
}

.tm-btn--apple,
.tm-btn--apple:hover {
  color: #ffffff;
}

.tm-btn--facebook,
.tm-btn--facebook:hover {
  color: #ffffff;
}


/* If your global a:hover changes background too, we explicitly lock it for provider buttons */
.tm-btn:hover {
  background: inherit !important;
}

/* Keep provider buttons' hover behavior limited to the slight lift/shadow you already have */
.tm-btn--google:hover { background: #ffffff !important; }
.tm-btn--apple:hover  { background: #111827 !important; }
.tm-btn--facebook:hover { background: #1877F2 !important; }

/********************JOIN**************************/

 .tm-join__card {
    background: #faf9f7;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
    border: 1px solid rgba(17, 24, 39, 0.06);
  }

 .tm-join-inner__card {
    padding: 18px 22px;
   
  }

  .tm-join-inner__card h2 {
    margin: 0 0 14px 0;
    font-size: 18px;
    color: #111827;
  }


.join-header {
    background-image: url('/images/thrive-join-head.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    height: 450px;
    position: relative;
}

.join-footer-overlay {
    width: 100%;
    height: 200px;
    margin-top: -150px;
    position: relative;
    z-index: 1;
}

.join-footer-overlay__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.join-foot {
    background-image: url('/images/thrive-join-foot.png');
    width: 100%;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
	margin-top: -150px;
	z-index: 1;
	position: relative;
	
}
/*
.join-header {
    background-image: url('/images/thrive-join.png');
    background-size: 100% 500px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    height: 500px;
}

@media (max-width: 640px) {
    .join-header {
        height: 400px;
        background-size: 100% 400px;
    }
}

/*
.join-header {
    background-image: url('/images/thrive-join.png');
    /*background-size: cover;
    /*background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px 12px 0 0;
    padding: 20px;
    margin-bottom: 24px;
	/*height: 500px;
	
	height: 100vh;
  object-fit: cover; /* Fill container, crop overflow 
  object-position: center;
}
*/
.join-header__title {
    text-align: right;
    padding-right: 16px;
    font-size: clamp(10rem, 5vw, 12rem);
  color: #ec1d79; 
	padding-top: 2%;
	font-family: "Rouge Script", cursive;
  font-weight: 800;
	font-style: italic;
}

.join-header__subtitle {
    text-align: right;
    padding-right: 16px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.5;
    color: #fff;
    margin-top: 8px;
    margin-left: auto;
    width: 50%;
}

.join-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.join-features__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.join-features__row:not(:last-child) {
   /* border-bottom: 1px solid #6b7280; */
}

.join-features__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
	margin-bottom: 5px;
}

.join-features__item:first-child {
    border-right: 2px solid #c3c3c2;
	
}

.join-features__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.join-features__text {
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
}

@media (max-width: 640px) {
    .join-features__row {
        grid-template-columns: 1fr;
    }
    
    .join-features__item:first-child {
        border-right: none;
        border-bottom: 1px solid #c3c3c2;
    }
    
    .join-features__row:last-child .join-features__item:first-child {
        border-bottom: 1px solid #c3c3c2;
    }
}

.join-buttons {
    display: flex;
    gap: 16px;
	margin: 24px 10px 0 10px; 
}

.join-buttons__link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: linear-gradient(135deg, #ec1d79 0%, #923690 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-buttons__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 157, 173, 0.3);
}

.join-buttons__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.join-buttons__text {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

@media (max-width: 640px) {
    .join-buttons {
        flex-direction: column;
    }
}

/* --- Join page button layout --- */
.tm-join__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

/* Big join buttons: icon on top, text below */
.tm-joinbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  width: 100%;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid rgba(17, 24, 39, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease;
  user-select: none;
  text-align: center;
  min-height: 132px;
}

.tm-joinbtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.10);
}

.tm-joinbtn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
}

.tm-joinbtn__text {
  font-size: 15px;
  line-height: 1.1;
}

/* Provider colors */
.tm-joinbtn--google {
  background: #ffffff;
  color: #111827;
}

.tm-joinbtn--facebook {
  background: #1877F2;
  color: #ffffff;
  border-color: rgba(24, 119, 242, 0.55);
}
.tm-joinbtn--facebook .tm-joinbtn__icon {
  background: rgba(255, 255, 255, 0.16);
}

/* Keep your global a:hover purple from affecting these */
.tm-joinbtn,
.tm-joinbtn:hover,
.tm-joinbtn:visited,
.tm-joinbtn:active {
  color: inherit;
  text-decoration: none;
}

.tm-joinbtn--facebook,
.tm-joinbtn--facebook:hover,
.tm-joinbtn--facebook:visited,
.tm-joinbtn--facebook:active {
  color: #ffffff;
}

/* Divider + heading under it */
.tm-join__alt {
  margin: 0 0 10px 0;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}

/* Join form layout */
.tm-joinform {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.tm-joinform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tm-joinform__submit {
  margin-top: 6px;
}

.tm-joinform__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #374151; /* soft gray */
}

.tm-joinform__actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:6px;
}

/* keep the button from shrinking oddly */
.tm-joinform__submit{
  white-space:nowrap;
}

.tm-hidden {
  display: none !important;
}

#joinStatus[hidden] { display: none !important; }
#resetStatus.is-hidden { display: none !important; }

/*passreset*/
.is-hidden { display:none !important; }

.tm-turnstile-wrap{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.tm-field-error .cf-turnstile{
  outline: 2px solid #dc2626;
  outline-offset: 4px;
  border-radius: 8px;
}
/* Mobile stacking */
@media (max-width: 700px) {
  .tm-join__buttons {
    grid-template-columns: 1fr;
  }
  .tm-joinform__row {
    grid-template-columns: 1fr;
  }
	
	.tm-joinform__actions{
    flex-direction:column;
    align-items:stretch;
  }
  .tm-joinform__actions .tm-submit{
    width:100%;
  }
	
 .tm-joinform__status {
    justify-content: center;
  }
}

.tm-joinform__spinner {
  width: 28px;
  height: 28px;
}

/* password reset */
.tm-resetform {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

/* Email field container grows */
.tm-resetform__field {
  flex: 1 1 70%;
  min-width: 0; /* critical for flexbox inputs */
}

/* Make sure input fills container */
.tm-resetform__field .tm-input {
  width: 100%;
}

.tm-resetform__btn {
 padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #923690;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.tm-resetform__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
  background: #71176e;
}

.tm-resetform__btn:active {
  transform: translateY(0);
  box-shadow: none;
  opacity: 0.95;
}

/* Button stays compact */
.tm-resetform__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Mobile stacking */
@media (max-width: 700px) {
  .tm-resetform {
    flex-direction: column;
  }

  .tm-resetform__btn {
    width: 100%;
  }
}


 /* error styles */
    .tm-field-error .tm-input { border-color: #dc2626 !important; }
    .tm-error-text { color:#dc2626; font-size:0.9rem; margin-top:6px; }
    .tm-error-text[hidden]{ display:none; }

    /* Join form layout */
    .tm-joinform { display:grid; gap:10px; margin-top:8px; }
    .tm-joinform__row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .tm-joinform__actions { display:flex; align-items:center; gap:12px; margin-top:6px; }
    .tm-joinform__submit { white-space:nowrap; }

    @media (max-width:700px){
      .tm-joinform__row{ grid-template-columns:1fr; }
      .tm-joinform__actions{ flex-direction:column; align-items:stretch; }
      .tm-joinform__actions .tm-joinform__submit{ width:100%; }
    }
/****************NEW***********************/
.homemid-container {
      width: 100%;
    }

    .homemid-container img.topper {
      width: 100%;
      display: block;
      position: relative;
      top: 0;
      z-index: 1;
    }

    .homemid-wrapper {
      background-color: #e4d6ed;
      width: 100%;
      padding: 40px 0;
    }

.homemid-topper-purple {
      background-color: #e4d6ed;
     
    }

.homemid-wrapper-green {
      background-color: #dbf9d7;
      width: 100%;
      padding: 40px 0;
    }

.homemid-wrapper-darkpurp {
      background-color: #d8b3f0;
      width: 100%;
      padding: 40px 0;
    }

.homemid-wrapper-darkerpurple {
      background-color: #d492fe;
      width: 100%;
      padding: 40px 0;
    }


.homemid-center-container {
	align-content: center;
	text-align: center;
	padding: 0 30px;
}


/*******LOADER*******/
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px; /* Space between dots */
  height: 15px;
}

.loader span {
  width: 10px; /* Adjust size as needed */
  height: 10px;
  background-color: #333; /* Change to your circle color */
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

/* Stagger the animation so they wave */
.loader span:nth-child(2) { animation-delay: 0.2s; }
.loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  to { transform: translateY(-5px); } /* Moves the dot up */
}

/***************** FOOTER *********/
/*
.site-footer {
	background: #565555;
  color: #fff;
  width: 100%;
  position: relative;
}
*/
footer {
      background: #565555;
      color: #d6d2cf;
      padding: 72px 48px 32px;
      position: relative;
      overflow: hidden;
    }

    /* Subtle decorative circle – top-right */
    footer::before {
      content: '';
      position: absolute;
      top: -90px;
      right: -90px;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      border: 1.5px solid rgba(255,255,255,0.06);
      pointer-events: none;
    }
    /* Smaller circle – bottom-left */
    footer::after {
      content: '';
      position: absolute;
      bottom: -60px;
      left: -60px;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.05);
      pointer-events: none;
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.4fr 0.8fr 1fr;
      gap: 48px;
      position: relative;
      z-index: 1;
    }

    /* ---------- Column: Brand ---------- */
    .footer-brand .logo-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .footer-brand .logo-icon {
      width: 42px;
      height: 42px;
    }

    .footer-brand .logo-text {
      font-size: 1.75rem;
      font-weight: 200;
      color: #fff;
      letter-spacing: 0.5px;
	  text-transform: uppercase;	
    }
    .footer-brand .logo-text span {
      color: #cfcdcf;
		font-weight: 600;
    }

    .footer-brand p {
      font-size: 0.875rem;
      line-height: 1.7;
      color: #a8a4a1;
      max-width: 280px;
      font-weight: 300;
    }

    /* Social row */
    .social-row {
      display: flex;
      gap: 14px;
      margin-top: 24px;
    }
    .social-row a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.15);
      color: #d6d2cf;
      text-decoration: none;
      transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
    }
    .social-row a:hover {
      background: #d8b3f0;
      border-color: #d8b3f0;
      color: #fff;
      transform: translateY(-2px);
    }
    .social-row a svg {
      width: 17px;
      height: 17px;
      fill: currentColor;
    }

    /* ---------- Columns: Links ---------- */
    .footer-col h4 {
      font-size: 1.05rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 18px;
      letter-spacing: 0.8px;
      text-transform: uppercase;
    }
    .footer-col ul {
      list-style: none;
    }
    .footer-col ul li {
      margin-bottom: 11px;
    }
    .footer-col ul li a {
      color: #a8a4a1;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 300;
      transition: color 0.2s, padding-left 0.2s;
      display: inline-block;
    }
    .footer-col ul li a:hover {
      color: #d8b3f0;
      padding-left: 4px;
    }

    /* ---------- Column: Contact ---------- */
    .footer-contact h4 {
      font-size: 1.05rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 18px;
      letter-spacing: 0.8px;
      text-transform: uppercase;
    }
    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 16px;
    }
    .contact-icon {
      flex-shrink: 0;
      width: 34px;
      height: 34px;
      border-radius: 8px;
      background: rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .contact-icon svg {
      width: 15px;
      height: 15px;
      fill: #d8b3f0;
    }
    .contact-text {
      font-size: 0.84rem;
      line-height: 1.6;
      color: #a8a4a1;
      font-weight: 300;
    }
    .contact-text a {
      color: #d8b3f0;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .contact-text a:hover {
      opacity: 0.8;
    }
    .contact-label {
      display: block;
      color: #7a7674;
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 1px;
    }

    /* ---------- Divider & Bottom Bar ---------- */
    .footer-divider {
      max-width: 1100px;
      margin: 48px auto 0;
      height: 1px;
      background: rgba(255,255,255,0.1);
      position: relative;
      z-index: 1;
    }

    .footer-bottom {
      max-width: 1100px;
      margin: 24px auto 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
      z-index: 1;
    }
    .footer-bottom p {
      font-size: 0.78rem;
      color: #a8a4a1;
      font-weight: 300;
    }
    .footer-bottom .bottom-links {
      display: flex;
      gap: 24px;
    }
    .footer-bottom .bottom-links a {
      font-size: 0.78rem;
      color: #a8a4a1;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-bottom .bottom-links a:hover {
      color: #d8b3f0;
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 900px) {
      .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 48px;
      }
      .footer-brand {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 560px) {
      footer {
        padding: 56px 28px 28px;
      }
      .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }
/*********** Button **********************/
.rounded-btn {
  background: #923690; /* #6a377b;*/
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
	text-decoration: none; 
}

.rounded-btn:hover {
  background: #71176e;
	color: #fff;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.rounded-btn:hover .arrow {
  transform: translateX(6px);
}



/***************************************INTEREST FORM****************************/
/* New layout + styling */
/* --- Safari/macOS select styling fix --- */

/* Put submit button + turnstile on the same row (desktop), stack on mobile */
.tm-submitrow{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

/* Make the Turnstile wrapper stay compact */
.tm-turnstile-wrap{
  display:flex;
  justify-content:flex-end;
}

/* Stack on mobile */
@media (max-width: 680px){
  .tm-submitrow{
    grid-template-columns: 1fr;
  }
  .tm-turnstile-wrap{
    justify-content:flex-start;
  }
}

/* Optional: message error style */
.tm-form-message--error{
  border-color:#dc2626 !important;
  color:#dc2626;
}

.tm-form-message{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.8);
  color:#111827;
  font-size: 14px;
}
.tm-joinform__status{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.8);
}


.tm-select {
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none;    /* Firefox */
  appearance: none;

  /* keep your existing tm-input visuals */
  background-color: rgba(255, 255, 255, 0.9);

  /* custom arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(17, 24, 39, 0.7) 50%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.7) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;

  padding-right: 40px; /* space for arrow */
}

/* optional: hide IE arrow (harmless elsewhere) */
.tm-select::-ms-expand {
  display: none;
}

.tm-charcount{
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  color: rgba(17,24,39,0.6);
}

  .tm-intake {
    max-width: 920px;
    margin: 0 auto;
  }

@media (max-width: 900px) {
    .tm-intake {
      margin: auto 20px;
    }
  }
  .tm-title {
    margin: 0 0 6px 0;
    font-size: 28px;
    line-height: 1.15;
    color: #111827;
  }

  .tm-intro {
    margin: 0 0 14px 0;
    color: rgba(17, 24, 39, 0.8);
    font-size: 15.5px;
    line-height: 1.5;
  }

  .tm-row {
    display: grid;
    gap: 10px;
  }

  .tm-2col {
    grid-template-columns: 1fr 1fr;
  }

  .tm-field {
    display: block;
  }

  .tm-full {
    grid-column: 1 / -1;
  }

  .tm-label {
    display: inline-block;
    margin: 0 0 6px 2px;
    font-size: 13px;
    color: rgba(17, 24, 39, 0.78);
  }

  .tm-textarea {
    resize: vertical;
    min-height: 110px;
  }

  .tm-fieldset {
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 12px;
    padding: 10px 12px 12px;
    background: rgba(255, 255, 255, 0.65);
  }

  .tm-check-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(17, 24, 39, 0.85);
}
  /* Checkbox grid */
  .tm-checkgrid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tm-check {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 14px;
    color: rgba(17, 24, 39, 0.9);
    cursor: pointer;
    user-select: none;
    line-height: 1.25;
  }

  .tm-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #923690;
    cursor: pointer;
  }

  /* Error styling for fieldsets (checkbox areas) */
  .tm-field-error.tm-fieldset {
    border-color: #dc2626 !important;
  }

  /* Mobile responsive: stack inputs */
  @media (max-width: 680px) {
    .tm-2col {
      grid-template-columns: 1fr;
    }
  }


/********************************** PRIVACY ***************************/
.last-updated {
      font-size: 0.875rem;
      color: #888;
      margin-bottom: 36px;
      font-style: italic;
    }

    .section-gen {
      margin-bottom: 32px;
    }

    .section-title {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 10px;
    }

    .section-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 32px;
      height: 32px;
      background-color: #4f46e5;
      color: #fff;
      border-radius: 50%;
      font-size: 0.85rem;
      font-weight: 700;
      flex-shrink: 0;
    }

  

    ul {
      list-style: none;
      padding: 0;
      margin: 10px 0 0 44px;
		font-size: 1.3em;
    }

    ul li {
      position: relative;
      padding-left: 20px;
      margin-bottom: 8px;
      color: #444;
    }

    ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 10px;
      width: 7px;
      height: 7px;
      background-color: #8c2989;
      border-radius: 50%;
    }

    ul li strong {
      color: #1a1a2e;
    }

    .highlight-box {
      background-color: #f0f0ff;
      border-left: 4px solid #8c2989;
      padding: 14px 18px;
      border-radius: 0 8px 8px 0;
      margin-top: 10px;
    }

    .highlight-box p {
      margin: 0;
      color: #3730a3;
      font-weight: 500;
    }

.contact-block {
      background-color: #f9f9f9;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 16px 20px;
      margin-top: 10px;
      color: #444;
    }

    hr {
      border: none;
      border-top: 1px solid #e5e7eb;
      margin: 40px 0;
    }
/********************************** TEXT ***************************/
/*******TEXT*******/
	  .txt_black_bold{
		  color: #000;
		  font-weight: 700;
	  }
	  
	  h3 {
		  font-size: 2.3em;
		  font-weight: 600;
	  }
	  
	  p {
		  font-size: 1.3em;
		  font-weight: 300;
	  }

h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
	  font-weight: 400;
  }

h2 {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(1.3rem, 3vw, 1.8rem);
		  font-weight: 200;
	color: #646363;
	
}
.txt_purple {
	color: #8c2989;
	font-weight: 500;
}

.txt_red {
	color: #dc2626;
	font-weight: 500;
}

.txt_small {
	font-size: 12px;
	font-weight: 500;
}

a.linkgreynone { color: #333; text-decoration: none; }
a.linkgreynone:visited { COLOR: #333; text-decoration: none; }
a.linkgreynone:hover { COLOR:#232323; text-decoration:none; }

a { color: #880691; text-decoration: underline; }
a:hover { color:#4F0560; text-decoration:none; }

a.linkblue {color: #0c21b6; text-decoration: none;}