.transition, .slick-prev:hover img, .slick-prev img, .slick-next:hover img, .slick-next img, .card-link .card .card-body, .card-link .card, .card-link:hover .card .card-body, .card-link:hover .card {
  transition: all 0.25s ease-in;
  transition: all 0.25s ease-out;
}

.mrs-eaves, h3, .h3, h2, .h2, h1, .h1 {
  font-family: "mrs-eaves", serif;
  font-weight: 400;
  font-style: normal;
}

.sofia-light, body {
  font-family: sofia-pro, sans-serif;
  font-weight: 300;
  font-style: normal;
}

.sofia-light-italic {
  font-family: sofia-pro, sans-serif;
  font-weight: 300;
  font-style: italic;
}

.sofia-regular {
  font-family: sofia-pro, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sofia-regular-italic {
  font-family: sofia-pro, sans-serif;
  font-weight: 400;
  font-style: italic;
}

.sofia-semi-bold, .accordion-header, h3.small, .h3.small {
  font-family: sofia-pro, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.sofia-semi-bold-italic {
  font-family: sofia-pro, sans-serif;
  font-weight: 500;
  font-style: italic;
}

.sofia-bold {
  font-family: sofia-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.sofia-bold-italic {
  font-family: sofia-pro, sans-serif;
  font-weight: 700;
  font-style: italic;
}

body {
  background: #394c3c;
  color: #dcd1ca;
  font-size: 15px;
  line-height: 25px;
}

h1, .h1 {
  font-size: 38px;
  line-height: 40px;
  margin: 0 0 20px;
}
h1 span, .h1 span {
  text-decoration: line-through;
}
h1 .underline, .h1 .underline {
  text-decoration: none;
  background: url("/wp-content/themes/lifetherapy/images/underline.svg") no-repeat 0 93%;
}
h1 .underline-green, .h1 .underline-green {
  text-decoration: none;
  background: url("/wp-content/themes/lifetherapy/images/underline-green.svg") no-repeat 0 93%;
}

h2, .h2 {
  font-size: 38px;
  line-height: 40px;
  margin: 0 0 20px;
}
h2 span, .h2 span {
  text-decoration: line-through;
}
h2 .underline, .h2 .underline {
  text-decoration: none;
  background: url("/wp-content/themes/lifetherapy/images/underline.svg") no-repeat 0 93%;
}
h2 .underline-green, .h2 .underline-green {
  text-decoration: none;
  background: url("/wp-content/themes/lifetherapy/images/underline-green.svg") no-repeat 0 93%;
}

h3, .h3 {
  font-size: 28px;
  line-height: 30px;
  margin: 0 0 15px;
}
h3 span, .h3 span {
  text-decoration: line-through;
}
h3 .underline, .h3 .underline {
  text-decoration: none;
  background: url("/wp-content/themes/lifetherapy/images/underline.svg") no-repeat 0 93%;
}
h3.small, .h3.small {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 5px;
}

.lead {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 30px;
}

legend, .caption {
  font-size: 16px;
  line-height: 26px;
  background: url("/wp-content/themes/lifetherapy/images/legend-bg.svg") no-repeat 0 0;
  padding: 8px 8px 4px;
  display: inline-block;
  width: auto;
  margin: 0 0 15px -6px;
  color: #dcd1ca;
}

.caption {
  position: absolute;
  bottom: 40px;
  left: 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 24px;
  padding: 6px 12px 3px;
}

strong {
  color: #394c3c;
  font-weight: 600;
}

a, a:hover {
  color: #a47861;
}

p {
  margin-bottom: 15px;
}

.pt0 {
  padding-top: 0 !important;
}

.pb0 {
  padding-bottom: 0 !important;
}

.pb120 {
  padding-bottom: 120px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mb24 {
  margin-bottom: 24px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.mb40 {
  margin-bottom: 40px !important;
}

.mb60 {
  margin-bottom: 60px !important;
}

img.rounded {
  border-radius: 20px !important;
}

.bg-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

[class*=col-] {
  position: relative;
}

.indent {
  padding: 60px 30px;
}

.panel {
  position: fixed;
  left: -15.625em; /*left or right and the width of your navigation panel*/
  width: 15.625em; /*should match the above value*/
  background: #394c3c;
}

#wrapper-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.navbar {
  padding: 0;
}

.nav-container {
  padding: 30px 12px;
}

#menu {
  background: #2E3C2E;
}

#menu-primary-1 {
  padding-top: 32px;
}

.nav-link {
  padding: 10px 20px;
  color: #dcd1ca;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-item {
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
}

.nav-cta {
  padding: 0 14px;
  margin-top: 20px;
}
.nav-cta .nav-link {
  border-radius: 50px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  padding: 10px 26px 12px !important;
  border: 0;
  letter-spacing: 0.25px;
  background: #B95B16 !important;
  color: #ffffff;
  text-align: center;
}

.btn {
  border-radius: 50px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  padding: 10px 56px 12px 26px;
  border: 0;
  letter-spacing: 0.25px;
}
.btn.btn-primary {
  background: #B95B16;
  color: #ffffff;
  background: #B95B16 url("/wp-content/themes/lifetherapy/images/arrow-white.svg") no-repeat 88% 50%;
}
.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active {
  background: #B95B16;
  color: #ffffff;
  background: #B95B16 url("/wp-content/themes/lifetherapy/images/arrow-white.svg") no-repeat 88% 50%;
}
.btn.btn-secondary {
  background: #ffffff;
  color: #394c3c;
  background: #ffffff url("/wp-content/themes/lifetherapy/images/arrow-green.svg") no-repeat 88% 50%;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus, .btn.btn-secondary:active {
  background: #ffffff;
  color: #394c3c;
  background: #ffffff url("/wp-content/themes/lifetherapy/images/arrow-green.svg") no-repeat 88% 50%;
}

.wpcf7 input[type=submit] {
  border-radius: 50px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  padding: 10px 26px 12px;
  border: 0;
  letter-spacing: 0.25px;
  background: #B95B16;
  color: #ffffff;
  width: auto;
}
.wpcf7 input[type=submit]:hover, .wpcf7 input[type=submit]:focus, .wpcf7 input[type=submit]:active {
  background: #B95B16;
}

.card-link {
  color: #394c3c;
  text-decoration: none;
}
.card-link:hover {
  color: #394c3c;
  text-decoration: none;
}
.card-link:hover .card {
  transform: scale(1.01);
}
.card-link:hover .card .card-body {
  background: transparent url("/wp-content/themes/lifetherapy/images/arrow-green.svg") no-repeat 90% 90%;
}

.card-link .card {
  transform: scale(1);
}
.card-link .card .card-body {
  padding-bottom: 50px;
  background: transparent url("/wp-content/themes/lifetherapy/images/arrow-white.svg") no-repeat 85% 90%;
}

.card {
  border: none;
  border-radius: 20px;
}

.card-img-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.card-body {
  padding: 30px;
}

#logo {
  width: 200px;
}

.contact-details span {
  margin: 0 10px 15px;
  display: inline-block;
}

.quote {
  background: url("/wp-content/themes/lifetherapy/images/speech-marks.svg") no-repeat 50% 0;
  background-size: 60px;
  padding-top: 70px;
  margin-top: 30px;
}

.main-content li {
  margin-bottom: 15px;
}
.main-content .img_text img {
  margin-bottom: 30px;
}

.share {
  text-align: center;
}
.share h3 {
  margin-bottom: 12px;
}
.share ul {
  padding: 0;
  list-style: none;
  float: left;
  margin-bottom: 0;
}
.share li {
  display: inline-block;
  margin-right: 30px;
  margin-bottom: 0;
}
.share li:last-child {
  margin-right: 0;
}
.share .btn {
  margin-top: 30px;
}

#accordion {
  --bs-accordion-border-color: #dcd1ca;
  margin: 30px 0;
}
#accordion .accordion-item:last-child .accordion-button {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.accordion-item:first-of-type, .accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.accordion-item:last-of-type, .accordion-item:last-of-type .accordion-button {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.accordion-header .accordion-button {
  color: #394c3c;
}

.accordion-button:not(.collapsed) {
  background-color: #EDE8E5;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  width: 30px;
  background-position: 50%;
}

.accordion-button {
  font-size: 18px;
  line-height: 28px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.insights-feed-home {
  padding-bottom: 30px;
}

.modal {
  color: #394c3c;
}

.modal-header {
  border-bottom: 0;
}

.modal-body {
  padding-top: 0;
}

.slick-slide {
  margin: 0 7.5px;
}
.slick-slide div {
  height: 100%;
}
.slick-slide .bg-image {
  height: auto;
}

.slick-arrow {
  position: absolute;
  bottom: -90px;
  border: none;
  padding: 0;
  background: transparent;
  background: #CEBFB6;
  width: 60px;
  height: 60px;
  border-radius: 50px;
}

.slick-next {
  right: 38%;
  z-index: 2;
}
.slick-next img {
  margin-right: 25px;
  float: right;
}
.slick-next:hover img {
  margin-right: 14px;
}

.slick-prev {
  left: 38%;
  z-index: 2;
}
.slick-prev img {
  margin-top: -5px;
  margin-left: 25px;
}
.slick-prev:hover img {
  margin-left: 14px;
}

.slick-slider {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.slick-slider .card-text {
  font-size: 14px;
  line-height: 24px;
}
.slick-slider .slick-slide {
  height: inherit !important;
}

.slick-track {
  display: flex !important;
  overflow: visible;
}

.hero-home {
  background-position: 60% 50%;
}
.hero-home img {
  margin-bottom: 0 !important;
}

.video-wrapper {
  position: relative;
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Prevent scroll bars */
}

.video-container {
  --videoRatio: calc(16 / 9); /* CHANGE THIS IF THE VIDEO CHANGES */
  background-color: #2E3C2E;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.video-container iframe {
  padding: 0;
  margin: 0;
  position: relative;
  --w: 100vw;
  --h: calc(var(--w) / var(--videoRatio));
  height: var(--h);
  width: var(--w);
  top: calc(50% - var(--h) / 2);
  left: 0;
  width: var(--w);
  height: var(--h);
}
@media (max-aspect-ratio: 16/9) {
  .video-container { /*the viewport is too narrow for the full video */ }
  .video-container iframe {
    --h: 100vh;
    --w: calc(var(--h) * var(--videoRatio));
    top: 0;
    left: calc(50% - var(--w) / 2);
  }
}

.overlay-content {
  position: absolute;
  z-index: 1; /* Bring content above the video */
  color: white; /* Text color */
  text-align: center; /* Center text */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.texture-bottom {
  position: absolute;
  bottom: -1px;
  left: -20px;
  width: 100%;
}

.texture-left {
  position: absolute;
  bottom: -1px;
  left: -1px;
  height: 480px;
  display: none;
}

.img-circle-top-left {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
}

.hero {
  padding: 140px 0 80px;
  position: relative;
}
.hero a, .hero strong {
  color: #dcd1ca;
}
.hero img {
  margin-bottom: 30px;
}
.hero img.texture-bottom {
  margin-bottom: 0;
}

section {
  padding: 80px 0;
  position: relative;
}

.cream-bg {
  background: #dcd1ca;
  color: #394c3c;
}

.green-bg {
  background: #394c3c;
  color: #dcd1ca;
}

.dark-green-bg {
  background: #2E3C2E;
  color: #dcd1ca;
}

.white-bg {
  background: #ffffff;
  color: #394c3c;
}

#footer {
  padding: 100px 0;
}
#footer ul {
  padding-left: 0;
  margin-bottom: 50px;
}
#footer ul li {
  list-style: none;
  margin-bottom: 15px;
}
#footer a {
  text-decoration: none;
  color: #dcd1ca;
}
#footer a:hover {
  text-decoration: underline;
}

.footer-logo {
  width: 230px;
  margin-bottom: 40px;
}

.nav-title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.tel {
  background: url("/wp-content/themes/lifetherapy/images/phone.svg") no-repeat 0 50%;
  padding-left: 20px;
}

.email {
  background: url("/wp-content/themes/lifetherapy/images/email.svg") no-repeat 0 50%;
  padding-left: 20px;
}

.location {
  background: url("/wp-content/themes/lifetherapy/images/pin.svg") no-repeat 0 50%;
  padding-left: 20px;
}

.socials {
  margin-bottom: 50px;
}
.socials a:first-of-type {
  margin-right: 20px;
}

.to-top {
  background: transparent;
  border: none;
  color: #dcd1ca;
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  margin-top: 50px;
}
.to-top img {
  margin: -3px 8px 0 0;
}
.to-top:hover {
  text-decoration: underline;
}

.wpcf7 {
  max-width: 1000px;
}

label {
  font-weight: 400;
}

.form-control:focus, .wpcf7 .wpcf7-validation-errors:focus, .wpcf7 input[type=color]:focus, .wpcf7 input[type=date]:focus, .wpcf7 input[type=datetime-local]:focus, .wpcf7 input[type=datetime]:focus, .wpcf7 input[type=email]:focus, .wpcf7 input[type=file]:focus, .wpcf7 input[type=month]:focus, .wpcf7 input[type=number]:focus, .wpcf7 input[type=range]:focus, .wpcf7 input[type=search]:focus, .wpcf7 input[type=submit]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=text]:focus, .wpcf7 input[type=time]:focus, .wpcf7 input[type=url]:focus, .wpcf7 input[type=week]:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  box-shadow: 0 0 0 0.25rem rgba(185, 91, 22, 0.15);
}

#mc_embed_signup {
  background: #fff;
  width: 100%;
}
#mc_embed_signup label {
  width: 100%;
}
#mc_embed_signup .email {
  background: url(/wp-content/themes/lifetherapy/images/email.svg) no-repeat 10px 50%;
  width: 100%;
  margin-bottom: 30px;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem 0.375rem 35px;
  border-radius: 0.375rem;
}

#mc_embed_signup div.mce_inline_error {
  padding: 0 !important;
  background-color: #ffffff !important;
  color: #B95B16 !important;
  font-weight: 300 !important;
}

@media (min-width: 576px) {
  .to-top {
    margin-top: 0;
  }
  .hero-home {
    background-position: 50% 50%;
  }
}
@media (max-width: 767px) {
  #background-video {
    -o-object-fit: cover;
       object-fit: cover; /* Ensures proper aspect ratio */
    height: auto; /* Adjusts height for smaller screens */
    width: 100%; /* Full width on mobile */
  }
}
@media (min-width: 768px) {
  .hero {
    padding: 180px 0 120px;
  }
  section {
    padding: 120px 0;
  }
  .section-slim {
    padding: 80px 0;
  }
  #logo {
    width: 230px;
  }
  #menu-primary-1 {
    padding-top: 32px;
  }
  h1, .h1 {
    font-size: 46px;
    line-height: 48px;
  }
  h2, .h2 {
    font-size: 38px;
    line-height: 40px;
  }
  h3, .h3 {
    font-size: 32px;
    line-height: 34px;
  }
  h3.card-title, .h3.card-title {
    font-size: 28px;
    line-height: 30px;
  }
  .insights-feed, .services-slider {
    padding-bottom: 180px;
  }
  .insights-feed-home {
    padding-bottom: 40px;
  }
  .img_text img {
    margin-bottom: 0;
  }
}
@media (min-width: 992px) {
  h1, .h1 {
    font-size: 50px;
    line-height: 52px;
  }
  h2, .h2 {
    font-size: 42px;
    line-height: 44px;
  }
  .hero {
    padding: 150px 0 150px;
  }
  .hero .col-lg-5:last-child {
    padding-top: 40px;
  }
  .hero img {
    margin-bottom: 0;
  }
  .btn.btn-primary {
    transition: all 0.25s ease-in;
    transition: all 0.25s ease-out;
    background: #B95B16 url("/wp-content/themes/lifetherapy/images/arrow-white.svg") no-repeat 88% 50%;
  }
  .btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus {
    transition: all 0.25s ease-in;
    transition: all 0.25s ease-out;
    background: #B95B16 url("/wp-content/themes/lifetherapy/images/arrow-white.svg") no-repeat 92% 50%;
    padding-right: 70px;
  }
  .btn.btn-secondary {
    transition: all 0.25s ease-in;
    transition: all 0.25s ease-out;
    background: #ffffff url("/wp-content/themes/lifetherapy/images/arrow-green.svg") no-repeat 88% 50%;
  }
  .btn.btn-secondary:hover, .btn.btn-secondary:active, .btn.btn-secondary:focus {
    transition: all 0.25s ease-in;
    transition: all 0.25s ease-out;
    background: #ffffff url("/wp-content/themes/lifetherapy/images/arrow-green.svg") no-repeat 92% 50%;
    padding-right: 70px;
  }
  .to-top {
    float: right;
  }
  .texture-left {
    display: block;
  }
  .quote {
    margin-top: 0;
  }
  .slick-prev {
    left: 40%;
  }
  .slick-next {
    right: 40%;
  }
}
@media (max-width: 1199px) {
  li.active .nav-link {
    border-left: 4px solid #B95B16;
  }
  .dropdown-menu.show {
    position: relative !important;
    transform: translate3d(0px, 0px, 0px) !important;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .dropdown-menu.show .dropdown-item {
    color: #dcd1ca;
    padding: 10px 20px 10px 35px;
    font-weight: 300;
    opacity: 0.6;
  }
  .dropdown-menu.show .dropdown-item:hover {
    background-color: transparent;
  }
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 55px;
    line-height: 57px;
  }
  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 20px 20px 12px;
    background: url("/wp-content/themes/lifetherapy/images/nav-highlight.svg") no-repeat 50% 110%;
    transition: all 0.25s ease-in;
    transition: all 0.25s ease-out;
  }
  .navbar-expand-xl .navbar-nav li.active .nav-link {
    background: url("/wp-content/themes/lifetherapy/images/nav-highlight.svg") no-repeat 50% 100%;
  }
  .navbar-expand-xl .navbar-nav .nav-link:hover {
    background: url("/wp-content/themes/lifetherapy/images/nav-highlight.svg") no-repeat 50% 100%;
    transition: all 0.25s ease-in;
    transition: all 0.25s ease-out;
  }
  .dropdown-menu[data-bs-popper] {
    top: 50px;
  }
  .dropdown-item {
    color: #394c3c;
  }
  .dropdown-item.active, .dropdown-item:active {
    background-color: #e9ecef;
    color: #394c3c;
  }
  .nav-cta {
    margin-top: 8px;
  }
  .hero {
    padding: 200px 0 200px;
  }
  .indent {
    padding: 60px 120px;
  }
  .slick-prev {
    left: 42%;
  }
  .slick-next {
    right: 42%;
  }
  .insights-feed, .services-slider {
    padding-bottom: 240px;
  }
  .insights-feed-home {
    padding-bottom: 140px;
  }
}
@media (min-width: 1400px) {
  h1, .h1 {
    font-size: 60px;
    line-height: 62px;
  }
  h2, .h2 {
    font-size: 50px;
    line-height: 52px;
  }
  #footer ul {
    margin-bottom: 60px;
  }
  .socials {
    text-align: right;
  }
  .indent {
    padding: 120px 120px;
  }
  .share .btn {
    float: right;
    margin-top: 0;
  }
}
