/* Updated: 14/06/2024 */
@font-face {
  font-family: "FSAlbert-IT";
  src: url("https://www.helpinghandshomecare.co.uk/wp-content/themes/helpinghands-bbchild/css/hdv-v2/FSAlbert-Italic.otf") format("opentype");
}
@font-face {
  font-family: "FSAlbert-EB";
  src: url("https://www.helpinghandshomecare.co.uk/wp-content/themes/helpinghands-bbchild/css/hdv-v2/FSAlbert-ExtraBold.otf") format("opentype");
}

.hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, var(--hero-gradient)), rgba(0, 0, 0, var(--hero-gradient))), var(--hero-extra-large-image) center/cover no-repeat;
  min-height: var(--hero-extra-large-min-height);
}
@media (max-width: 1023.98px) and (min-width: 768px) {
  .hero-container {
    background: linear-gradient(to bottom, rgba(0, 0, 0, var(--hero-gradient)), rgba(0, 0, 0, var(--hero-gradient))), var(--hero-large-image) center/cover no-repeat;
    min-height: var(--hero-large-min-height);
  }
}
@media (max-width: 767.98px) and (min-width: 480px) {
  .hero-container {
    background: linear-gradient(to bottom, rgba(0, 0, 0, var(--hero-gradient)), rgba(0, 0, 0, var(--hero-gradient))), var(--hero-medium-image) center/cover no-repeat;
    min-height: var(--hero-medium-min-height);
  }
}
@media (max-width: 479.98px) {
  .hero-container {
    background: linear-gradient(to bottom, rgba(0, 0, 0, var(--hero-gradient)), rgba(0, 0, 0, var(--hero-gradient))), var(--hero-small-image) center/cover no-repeat;
    min-height: var(--hero-small-min-height);
  }
}
.hero-container__overlay {
  display: flex;
  flex-direction: row;
  justify-content: var(--hero-overlay-align);
  align-items: center;
  margin: 0 90px;
  padding: 90px 0;
  width: 100%;
  max-width: var(--hero-overlay-max-width);
  gap: var(--hero-text-form-gap);
}
.hero-container__overlay.hero-style-3 {
  align-items: var(--hero-style-three-valign);
}
.hero-container__text {
  display: flex;
  gap: var(--hero-overlay-space-elements);
  flex-direction: column;
  flex-basis: var(--overlay-text-basis-width);
  justify-content: center;
  align-items: var(--hero-overlay-text-flex-align);
  text-align: var(--hero-overlay-text-align);
  max-width: var(--overlay-max-width);
  position: relative;
}
.hero-container__text .headline .additional-headline-text {
  color: var(--headline-additional-colour);
}
.hero-container__text .headline .additional-headline-text {
  color: var(--headline-additional-colour);
}
.hero-container__text .headline {
  color: var(--hero-overlay-headline-colour);
  font-weight: var(--hero-headline-font-weight);
  font-size: var(--hero-overlay-headline-font-size);
  line-height: 1.3;
  font-family: "FSAlbert-EB";
}
.hero-style-3 .hero-container__text .headline,
.hero-style-3 .hero-container__strapline,
.hero-style-4 .hero-container__text .headline,
.hero-style-4 .hero-container__strapline {
  font-family: "Open Sans";
}
.hero-container__overlay-quote {
  text-wrap: balance;
  text-align: var(--hero-overlay-text-align);
}
.hero-container__text .headline.headline-quote {
  display: flex;
  flex-direction: column;
  gap: var(--hero-quote-space-between);
}
.hero-container__text .hero-container__overlay-quote {
  color: var(--hero-overlay-quote-colour);
  font-size: var(--hero-overlay-quote-font-size);
  font-weight: var(--hero-quote-font-weight);
  line-height: 1;
  font-family: "FSAlbert-IT";
}
.hero-container__text .hero-container__overlay-quote span {
  font-family: "Lato";
  font-size: var(--hero-overlay-symbol-font-size);
  color: var(--hero-overlay-symbol-colour);
  font-weight: var(--hero-quote-font-weight);
}
.hero-container__text .tagline {
  color: var(--hero-overlay-tagline-colour);
  font-size: var(--hero-overlay-tagline-font-size);
  font-weight: var(--hero-tagline-font-weight);
}
.hero-container__cta {
  flex-basis: var(--overlay-form-basis-width);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 6;
}
.hero-container__cta-form-close {
  display: none;
}
.hero-container__cta-form {
  background: #fff;
  border-radius: 1rem;
  padding: 3rem 2rem;
  width: 100%;
  height: auto;
  border: 2px solid #3d195b;
}
.hero-container__cta-header {
  margin-bottom: 3rem;
}
.hero-container__cta-headline {
  font-size: 30px;
  color: #2a2a2a;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}
.hero-container__cta-summary {
  font-size: 15px;
  color: #2a2a2a;
}
.landing-page-cf7 .form-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.landing-page-cf7 .form-group label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a2a2a;
}
.landing-page-cf7 .form-group input {
  margin: 1rem 0;
  border-color: #2a2a2a;
  border-radius: 1rem;
  filter: unset;
}
.landing-page-cf7 .form-group select {
  margin: 1rem 0 2rem 0;
  border-color: #2a2a2a;
  border-radius: 1rem;
  filter: unset;
}
.page-template-template-landing-page-hds .screen-reader-response,
.page-template-template-landing-page-hds .wpcf7-response-output,
.landing-page-cf7 .wpcf7-not-valid-tip {
  display: none !important;
}
.landing-page-cf7 .form-group input.wpcf7-not-valid {
  border-color: #f30 !important;
}
.landing-page-cf7 .form-group input[type="email"],
.landing-page-cf7 .form-group input[type="tel"] {
  margin: 1rem 0;
  border-color: #2a2a2a;
  border-radius: 1rem;
  height: 4.8rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding: 0.8rem 1.6rem;
  position: relative;
  width: 100%;
  border-width: 1px;
  font-size: 1.6rem;
  filter: unset;
}
.landing-page-cf7 .form-group input[type="submit"],
.landing-page-cf7 .form-group input[type="button"] {
  margin: 1rem 0;
  border-color: #3d195b;
  background: #3d195b;
  border-radius: 1rem;
  height: 4.8rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding: 0.8rem 1.6rem;
  position: relative;
  color: #fff;
  width: 100%;
  border-width: 1px;
  font-size: 1.6rem;
  filter: unset;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.landing-page-cf7 .form-group input[type="submit"]:disabled,
.landing-page-cf7 .form-group input[type="button"]:disabled {
  opacity: 0.4;
}
.hero-container__successful-container {
  height: 100%;
}
.hero-container__successful-submission {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-direction: column;
  height: 100%;
}
.successful-submission__header {
  font-size: 26px;
  color: #3b1c59;
  font-weight: 700;
}
.successful-submission__message {
  font-size: 18px;
  color: #595959;
  text-align: center;
  line-height: 2;
}
.hero-container__strapline {
  font-size: var(--hero-strap-font-size);
  color: var(--hero-strap-colour);
  font-weight: var(--hero-strap-weight);
  text-align: var(--hero-strap-align);
  width: 100%;
  font-family: "FSAlbert-EB";
}
.hero-container__button {
  display: none;
}
@media (max-width: 767.98px) {
  .hero-container__text .hero-container__overlay-quote {
    font-size: calc(var(--hero-overlay-quote-font-size) - 2rem);
  }
  .hero-container__text .hero-container__overlay-quote span {
    font-size: calc(var(--hero-overlay-symbol-font-size) - 2rem);
  }
  .hero-container__text .tagline {
    font-size: calc(var(--hero-overlay-tagline-font-size) - 8px);
  }
  .hero-container__cta {
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    transform: translate(0, 0);
    background: #fff;
    display: block;
  }
  .hero-container__cta-form {
    border: 0 !important;
  }
  .hero-container__trustpilot.no-mobile {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-container__cta {
    width: 80%;
  }
  .hero-container__text .hero-container__overlay-quote {
    font-size: calc(var(--hero-overlay-quote-font-size) - 1rem);
  }
  .hero-container__text .hero-container__overlay-quote span {
    font-size: calc(var(--hero-overlay-symbol-font-size) - 1rem);
  }
  .hero-container__text .tagline {
    font-size: calc(var(--hero-overlay-tagline-font-size) - 6px);
  }
}
@media (max-width: 1023.98px) {
  .hero-container__button {
    display: block;
  }
  .hero-container__cta {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .hero-container__cta-form-close {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem 2rem;
    font-size: 2rem;
  }
  .hero-container__cta-overlay {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    z-index: 9998;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
  }
  .hero-container__cta-overlay.active {
    visibility: visible;
  }
  .hero-container__overlay {
    padding: 60px 0;
    margin: 0 15px;
    justify-content: center;
    gap: 30px;
  }
  .hero-container__text {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-basis: 100%;
  }
  .hero-style-3 .hero-container__text {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    flex-basis: 100%;
  }
  .hero-container__overlay.hero-style-3 .hero-container__overlay-quote,
  .hero-container__overlay.hero-style-3 .hero-container__strapline {
    text-align: left;
  }
  .hero-container__overlay .hero-container__overlay-quote,
  .hero-container__overlay .hero-container__strapline {
    text-align: center;
  }
}
