/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  line-height: 1.5;
  min-height: 100vh;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  color: currentColor;
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  display: block;
  max-width: 100%;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* END OF RESET */

:root {
  --main-background-color: #e2cfea;
  --main-text-color: #062726;
  --main-font-family: "Montserrat", sans-serif;
  --main-button-color: #dfd3cc;
  --main-border-color: rgba(89, 85, 76, 0.2);

  --secondary-background-color: #4a6357;
  --secondary-text-color: #f8f6f7;

  --nav-background-color: #062726;
}

h2 {
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
  font-weight: 200;
  padding: 0;
}

p {
  font-family: var(--main-font-family);
}

a {
  color: var(--main-text-color);
}

.header {
  background-color: var(--nav-background-color);
  box-shadow: 0 2px 8px rgba(34, 51, 92, 0.06);
  display: flex;
  justify-content: space-between;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: transform 0.3s cubic-bezier(0.5, 0, 0.5, 1), box-shadow 0.18s;
  will-change: transform;
  z-index: 1000;
}
.header--hidden {
  transform: translateY(-700%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  padding: 1em 1.5em;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1em;
  width: 60%;
}

.nav-title {
  color: var(--secondary-text-color);
  font-family: "Bodoni Moda", serif;
  font-size: 1.75rem;
  font-weight: 100;
  letter-spacing: -2px;
  margin: 0;
  text-decoration: none;
}

.nav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  height: 44px;
  justify-content: center;
  width: 44px;
  z-index: 1001;
}

.nav-toggle__bar {
  background: var(--secondary-text-color);
  border-radius: 2px;
  height: 2px;
  margin: 5px 0;
  opacity: 0.7;
  transition: 0.3s;
  width: 100%;
}

.nav-list {
  display: flex;
  font-family: var(--main-font-family);
  justify-content: space-between;
  list-style: none;
  padding: 0;
  width: 100%;
}

.nav-item {
  color: var(--secondary-text-color);
  font-weight: 600;
  margin-bottom: 1em;
  text-decoration: none;
}

.nav-btn {
  font-weight: 800;
  text-decoration: none;
}

.nav-item-btn:hover {
  background-color: var(--main-text-color);
  color: #fff;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    left: 0;
    position: absolute;
    right: 0;
    top: 64px;
  }
  .nav.open {
    background-color: var(--secondary-background-color);
    box-shadow: #062726 5px 5px 20px;
    color: var(--secondary-text-color);
    display: flex;
    text-align: center;
    width: 100%;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
  }
  .header {
    display: block;
  }
  .header-container {
    position: relative;
  }
}

.cta-container {
  align-items: center;
  background: var(--secondary-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2em;
}

.cta-img {
  align-self: flex-end;
  background-image: url("images/therapist-office.jpg");
  background-position: center;
  background-size: cover;
  border: 5px solid var(--main-text-color);
  border-radius: 2em 0 0 2em;
  box-shadow: #062726 5px 5px;
  height: 300px;
  margin: 1em 0 3em 2em;
  width: 400px;
}

.cta-img * {
  color: #fff;
}

.cta-text {
  align-items: center;
  color: #eee;
  display: flex;
  flex-direction: column;
  font-family: var(--main-font-family);
  height: auto;
  justify-content: space-between;
  max-width: 400px;

  text-align: center;
}
.cta-main {
  margin: 0.5em 0;
}

.cta-subtitle {
  margin: 0 0 1em 0;
}

.cta-btn {
  background-color: var(--main-button-color);
  border-radius: 1em;
  display: inline-block;
  font-weight: 500;
  padding: 0.75em 0.5em;
  text-align: center;
  text-decoration: none;
}

.main {
  align-items: center;
  background-color: var(--main-background-color);
  border-top: 1px solid rgba(89, 85, 76, 0.2);
  color: var(--main-text-color);
  display: flex;
  flex-direction: column;
  font-family: var(--main-font-family);
}

.main img {
  background-image: url("images/willow-tree.avif");
  background-size: cover;
  border-radius: 0 0 1em 1em;
  box-shadow: #062726 5px 5px 10px;
  height: 300px;
  opacity: 0.8;
  width: 100%;
}

.main-text {
  font-weight: 500;
  max-width: 380px;
}

.main-list li {
  margin: 0.5em 0;
}

.cta-banner {
  align-items: center;
  background-size: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.cta-banner-heading {
  margin: 2em 0;
}

.cta-banner-features {
  margin: 2em 0;
}

.cta-banner-heading > span {
  font-family: "Bodoni";
  font-size: 5.5rem;
  font-style: italic;
}

.cta-banner-bg {
  background-size: contain;
  height: 100%;
  left: 0;
  opacity: 0.4;
  position: absolute;
  top: 0;
  width: 100%;
}

.cta-banner-textbox {
  background-color: var(--nav-background-color);
  border: 10px solid var(--main-background-color);
  border-radius: 1.5em;
  color: var(--secondary-text-color);
  margin: 5em 0;
  max-width: 380px;
  padding: 1em 2em;
  text-align: center;
}

.cta-btn {
  font-family: var(--main-font-family);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 2em 0 0.5em 0;
  padding: 0.75em 1em;
}

.offering-container {
  background-color: var(--secondary-background-color);
  color: var(--secondary-text-color);
  font-family: var(--main-font-family);

  padding: 2em;
  text-align: center;
}

.offering-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 2em 0;
  min-height: 450px;
}

.offering-img {
  border-radius: 50%;
  height: 200px;
  width: 200px;
}

.offering-img,
.faqs {
  background-image: url("images/faqs.jpg");
  background-position: center;
  background-size: cover;
}

.offering-btn {
  border: 1px solid var(--secondary-text-color);
  border-radius: 2em;
  color: var(--secondary-text-color);
  display: inline;
  display: block;
  font-family: var(--main-font-family);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5em 1em;

  text-decoration: none;
}

.offering-btn:hover {
  background-color: var(--main-text-color);
  border: none;
  color: #fff;
}

.about-container {
  background-color: var(--secondary-background-color);
  color: var(--secondary-text-color);
  padding: 5em 2em;
}

.therapist-image {
  background-image: url("images/lindsey-portrait.jpg");
  background-position: center;
  background-size: cover;
  border: 5px solid var(--main-text-color);
  border-radius: 7em 7em 0 0;
  box-shadow: #062726 5px 5px;
  height: 300px;
  width: 250px;
}

.about-featured {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

.about-featured img {
  border: 1px solid black;
  height: 150px;
  width: 50%;
}

footer {
  background-color: var(--main-background-color);
  color: var(--main-text-color);
  font-family: var(--main-font-family);
  font-weight: 500;
  padding: 2em;
  text-align: center;
}

footer ul {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

footer ul li {
  flex: 1;
}

.footer-section > ul a {
  text-decoration: underline;
}
