/* ===== HERO ===== */

.hero {
  height: calc(100dvh - 64px);
}

.hero-image {
  object-fit: cover;
  /* for people in the photo  are not cropped*/
  object-position: 40%;
  width: 100%;

  mask-image: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  max-height: 100%;
}

.hero-text {
  z-index: 10;
}

 @media screen and (max-width: 991px) {
  .hero-background {
    position: absolute;
    left: 0;
    top: 0;
  }

  .hero-image {
    mask-image: linear-gradient(
      to bottom,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    );
    max-height: 75%;
  }

  .hero-text {
    height: 100%;
    justify-content: end;
    padding-bottom: 10%;
  }
}


/* ===== TEAM ===== */

.personal-card {
  width: 100%;
  height: 50vh;
}

.personal-image-container {
  min-height: 72%;
}

.personal-image {
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

@media screen and (max-width: 991px) {
  .personal-image {
    object-fit: cover;
    object-position: center 30%;
  }
}

@media screen and (min-width: 992px) {
  .personal-card {
    height: 100%;
  }

  .personal-card--physiotherapist {
    max-width: 18%;
    flex: 0 0 20%;
  }
}

/* "Do you feel the same?" element */

.feel-section {
  position: relative;
  overflow: hidden;
  padding: 36px 24px 58px;
  background: #ffffff;
  text-align: center;
  --white-fade: 0;
}

.feel-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #ffffff;
  opacity: var(--white-fade);
  pointer-events: none;
}

.feel-title {
  position: relative;
  z-index: 2;
  margin: 0 0 42px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  color: #000;
}

.quotes-wrap {
  position: relative;
  z-index: 2;
  min-height: 470px;
  max-width: 1120px;
  margin: 0 auto;
}

.quote-card {
  position: relative;
  width: fit-content;
  max-width: 720px;
  padding: 24px 38px;
  border-radius: 18px;
  background: #f2f2f3;
  color: #505873;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
}

.card-2,
.card-4 {
  background: #e9e9ef;
}

.card-1 {
  margin-left: 110px;
}

.card-2 {
  margin-top: 16px;
  margin-left: 220px;
}

.card-3 {
  margin-top: 16px;
  margin-left: 110px;
}

.card-4 {
  margin-top: 16px;
  margin-left: 300px;
}

.card-5 {
  margin-top: 16px;
  margin-left: 340px;
}

.quote-mark {
  position: absolute;
  z-index: 1;
  color: #d9d7ff;
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.quote-start {
  top: -44px;
  left: 70px;
}

.quote-end {
  right: 240px;
  bottom: -34px;
}

/* Face icons */

.face-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 3;
}

.face-left {
  left: -62px;
  bottom: -12px;
}

.face-right {
  right: -62px;
  bottom: -12px;
}

@media (max-width: 700px) {
  .face-icon {
    width: 50px;
    height: 50px;
  }

  .face-left {
    left: -40px;
    bottom: -18px;
  }

  .face-right {
    right: -40px;
    bottom: -18px;
  }
}

/* Responsive */

@media (max-width: 991px) {
  .quotes-wrap {
    max-width: 760px;
  }

  .card-1 {
    margin-left: 70px;
  }

  .card-2 {
    margin-left: 130px;
  }

  .card-3 {
    margin-left: 70px;
  }

  .card-4 {
    margin-left: 190px;
  }

  .card-5 {
    margin-left: 150px;
  }

  .quote-end {
    right: 120px;
  }
}

@media (max-width: 700px) {
  .feel-section {
    padding: 42px 18px 74px;
  }

  .feel-title {
    max-width: 330px;
    margin: 0 auto 44px;
    font-size: 40px;
  }

  .quotes-wrap {
    min-height: auto;
    max-width: 420px;
  }

  .quote-card {
    width: 100%;
    max-width: 320px;
    padding: 28px 38px;
    font-size: 21px;
    line-height: 1.35;
    text-align: center;
  }

  .card-1,
  .card-2,
  .card-3,
  .card-4,
  .card-5 {
    margin-top: 20px;
  }

  .card-1 {
    margin-top: 0;
    margin-left: auto;
    margin-right: 28px;
  }

  .card-2,
  .card-4 {
    margin-left: 28px;
    margin-right: auto;
  }

  .card-3,
  .card-5 {
    margin-left: auto;
    margin-right: 28px;
  }

  .quote-start {
    top: -52px;
    left: 28px;
    font-size: 88px;
  }

  .quote-end {
    right: 26px;
    bottom: -66px;
    font-size: 88px;
  }
}

@media (max-width: 420px) {
  .feel-section {
    padding-left: 0;
    padding-right: 0;
  }

  .quote-card {
    max-width: 290px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 20px;
  }

  .card-1,
  .card-3,
  .card-5 {
    margin-right: 14px;
  }

  .card-2,
  .card-4 {
    margin-left: 14px;
  }
}


/* Breathment can help  */

.journey-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  --white-fade: 0;
}

.journey-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #ffffff;
  opacity: var(--white-fade);
  pointer-events: none;
}

.journey-content {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(-4vh);
}

.journey-title {
  margin: 0;
  color: #000000;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.journey-title span {
  color: #505873;
}

@media (max-width: 768px) {
  .journey-section {
    min-height: 100vh;
    padding: 64px 20px;
  }

  .journey-content {
    transform: translateY(-3vh);
  }

  .journey-title {
    max-width: 420px;
    font-size: 42px;
  }

}

@media (max-width: 420px) {
  .journey-title {
    font-size: 36px;
  }

}
