.maria-link {
  text-decoration: underline;
  color: #e67c1f !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: color 0.2s;
  display: inline;
}
.maria-link:hover, .maria-link:focus {
  color: orange !important;
  background: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: underline;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}

@media (max-width: 700px) {
  .process-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .process-step img {
    margin-bottom: 0.5rem;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


html {
    background-color: #fff;
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    min-width: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%
}

.intro {
  font-family: "Work Sans", sans-serif;
  font-style: normal;
}

h1, h2, h3, h4 {
  font-family: "Work Sans", sans-serif !important;
  font-style: normal;
  line-height: normal;
}

h1 {
  color: #203F5C !important;
}

h2 {
  font-weight: 700 !important;
  color: #203F5C !important;
}

h3 {
  font-size: 2rem;
  font-weight: 900 !important;
  margin-bottom: 20px;
  color: #203F5C !important;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3706A;
  text-align: left;
}

h5 {
  font-weight: 700;  /* Optional, to make the text more prominent */
  margin-bottom: 20px;
}

body {
  background-color: #F5EAD6;
  color: #203F5C; /* Use your logo circle color for contrast */
  font-family: 'Nunito Sans', sans-serif;
}

.left-align {
  text-align: left;
}

.hero {
  position: relative;
  /* background: url('/img/hero.png') center/cover no-repeat; */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero .content {
  position: relative;
  padding: 4rem 2rem;
}

img {
  margin-top: 0; /* prevent extra space */
  vertical-align: top;
  box-shadow: none !important;
  outline: none !important;
  border: none;
  height: auto;
  max-width: 100%;
}

hr {
  border: none;
  border-top: 2px solid rgba(32, 63, 92, 0.2);
  margin: 2rem 0;
}

a,
.button {
  background-color: transparent;
  color: #203F5C;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  text-decoration: none;
  margin: 15px;
  display: inline-block;
  border: none;  
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover,
.button:hover {
  background-color: #F3706A; /* soft light area on hover */
  color: #fff;
}

a[href="#top"] {
  background: none !important;
  box-shadow: none !important;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}
a[href="#top"]:hover, a[href="#top"]:focus {
  background: none !important;
  box-shadow: none !important;
}
a[href="#top"] .fa-arrow-up:before {
  color: #F3706A;
  transition: color 0.3s;
}
a[href="#top"]:hover .fa-arrow-up:before,
a[href="#top"]:focus .fa-arrow-up:before {
  color: #203F5C;
}

.container {
    flex-grow: 1;
    margin: 0 auto;
    position: relative;
    width: auto
}

.container.is-fluid {
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%
}

.hero{
  align-items: none !important;;
}

.hero-body{
  align-items: none !important;
  display: block !important;
}

.navbar{
  background-color: transparent !important;
}

.navbar-item, .navbar-link{
  border-radius: 4px;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #203F5C !important;
  text-transform: none !important;
}

.navbar-item:hover, .navbar-link:hover {
  color: #FFF !important;
  background-color: #F3706A !important;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

section.alt-bg {
  background-color: #f5f2ec;
  padding: 2rem 0;
}

.contact-therapist-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: .7rem;
  flex-wrap: wrap;
}

.contact-therapist-button {
  background-color: #F3706A;
  display: inline-flex;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;;
  padding: 0.75rem 2rem;
  border: 2px solid #F3706A;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

/* Hover state */
.contact-therapist-button:hover {
  background-color: #203F5C;
  border: 0;
  color: #fff;
  border: 2px solid #203F5C;
}

.contact-therapist-button svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}
.contact-therapist-button:hover svg {
  stroke: #fff;
}

.flowchart-flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}

.flowchart-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

/* Arrow container between steps */

.flowchart-arrow-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.flowchart-arrow-icon .fa-arrow-down {
  font-size: 2rem;
  color: #F3706A;
  background: none;
  box-shadow: none;
  border-radius: 0;
  transition: none;
}
.flowchart-arrow-icon .fa-arrow-down:hover,
.flowchart-arrow-icon .fa-arrow-down:focus {
  color: #F3706A;
  background: none;
  box-shadow: none;
}

.flowchart-image {
  width: 100px;
  height: auto;
  display: block;
  box-shadow: none;
}

.stage-title {
  position: absolute;
  left: 68%; /* Adjust closer to edge of circle */
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #343623;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}

.back-button {
  display: inline-block;
  background-color: #322e18;
  color: #e8e6dd;
  padding: 0.4rem 0.8rem;  /* Reduced padding */
  border-radius: 6px;
  text-decoration: none;
}

.back-button:hover {
  background-color: #504c2c;
  color: #e8e6dd;
}

/* Contact Section */
#contact {
  padding: 4rem 2rem;
  text-align: center;
}

/* Container */
#contact .container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* Labels */
#contact form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

/* Inputs and Textarea */
#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  margin-top: 0;
  font-family: sans-serif;
}

#contact textarea.message {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  margin-top: 0.5rem;
  font-family: sans-serif;
  height: 9rem; /* roughly 3x the default input height */
}

/* Focus styling */
#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-color: #322e18;
  box-shadow: 0 0 4px rgba(50, 46, 24, 0.2);
}

/* Button */
#contact button {
  background-color: #F3706A;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border: 2px solid #F3706A;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

/* Hover state */
#contact button:hover {
  border: 2px solid #203F5C;
  background-color: #203F5C;
  color: #fff;
}

.new-logo {
  margin-bottom: 60px;
  margin-top: 60px;
  border: 0;
}


/* Dark mode styles */
/* @media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a14;
    color: #e8e6dd;
  }
} */

.spinner {
  margin-top: 1em;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #203F5C; /* your dark olive green */
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}