.hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 20vh 0 20vh 0;
  padding-bottom: 180px !important;
  overflow: hidden;
}

.hero h1 {
  margin-top: 0;
}

.hero.has-card {
  padding: 24vh 0 0 0 !important;
  margin-bottom: 10rem;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-content .hero-title {
  color: var(--brand-accent-color-text);
  font-size: 35px;
  line-height: 1.25em;
  -webkit-text-stroke-color: #000;
  stroke: #000;
}

.hero-content .hero-subline {
  color: var(--brand-accent-color);
}

.hero .hero-text,
.hero .hero-content-secondary {
  color: var(--white);
}

.hero .hero-text a,
.hero .hero-content-secondary a {
  color: var(--brand-accent-color);
  transition: all .3s ease;
}

.hero .hero-text a:hover,
.hero .hero-content-secondary a:hover {
  color: #bfec1e;
  transition: all .3s ease;
}

.hero .hero-text p,
.hero .hero-content-secondary p {
  margin-bottom: 15px;
  color: var(--white);
}

.hero .hero-terminbuttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero .hero-terminbuttons button {
  flex: 0 0 calc(50% - 7.5px);
  display: flex;
  flex-direction: column;
  word-break: unset;
  white-space: unset;
  min-width: 500px;
  font-weight: 400;
  font-family: 'Hind';
  font-size: 1.1rem;
  line-height: 1.5;
}

.hero .hero-terminbuttons button strong{
  font-size: 1.3rem;
  font-family: 'Montserrat';
  display:block;
}

.hero .hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero .hero-service-card {
  position: relative;
  z-index: 3;
}

.hero .hero-card-image {
  margin-left: auto;
  max-width: 400px;
}

.hero .hero-card-image img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: linear-gradient(
    90deg,
    var(--brand-secondary-color) 0%,
    var(--brand-secondary-color) 50%,
    var(--brand-secondary-color-lighter) 100%
  );
}

.hero .hero-card-content h3,
.hero .hero-card-content h4,
.hero .hero-card-content .card-title {
  word-break: break-word;
}

.hero .hero-card-content > * {
  color: white;
}

.hero .hero-card-content span {
  font-weight: 800;
  font-size: 1rem;
}

.hero .hero-person-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.hero .hero-contact-buttons {
  position: fixed;
  right: 0;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.hero .hero-contact-buttons > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 40px;
  padding: 10px 15px;
  border-radius: 30px 0 0 30px;
  background-color: var(--brand-secondary-color);
}

.hero .hero-contact-icon {
  height: 100%;
}

form.fluent_form_2 .wpf_has_custom_css.ff-btn-submit{
  transition: all .3s ease;
  color: var(--white);
  font-weight: 700;
  padding: 10px 36px 10px 36px;
  font-size: 1em;
}

form.fluent_form_2 .wpf_has_custom_css.ff-btn-submit:hover{
  background-color: color-mix(in srgb, var(--brand-accent-color) 90%, black);
  border-color: color-mix(in srgb, var(--brand-accent-color) 90%, black);
  transition: all .3s ease;
  color: var(--white);
}

.ff-default .ff-el-form-control{
  padding: 12px 15px 11px;
}

.ff-message-success{
  border-radius: 10px;
  width: max-content;
  border: 1px solid var(--brand-accent-color);
}

.ff-message-success p{
  color: var(--white);
  margin-bottom: 0;
}

.frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom{
  margin-top: 0;
}

.hero.has-card{
  padding-bottom: 125px!important;
  margin-bottom: 0;
  padding-top: 15%!important;
}

.custom-shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.custom-shape-divider--bottom {
  bottom: 0;
}

.custom-shape-divider svg {
  display: block;
  width: 100%;
  height: 28px;
  transform: rotate(180deg);
}

.custom-shape-divider path {
  fill: #fff;  
}

@media (min-width: 1921px) {
  .hero.has-card{
    padding-top: 10%!important;
  }
}

@media (max-width: 1200px) {
  .hero .hero-service-card {
    width: 75%;
    margin-left: auto;
  }

  .hero .hero-card-content {
    height: inherit;
  }

  .hero .hero-terminbuttons{
    display: grid!important;
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 991px) {
  .hero .hero-service-card {
    width: 100%;
  }

  .hero .hero-terminbuttons{
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .hero-card-image{
    margin: 40px auto 0;
  }
}

@media (max-width: 768px) {
  .logo-mobile-container {
    display: block;
  }

  .hero .hero-card-image{
    max-width: 70%;
  }

  .hero .hero-contact-buttons > * {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 30px 0 0 30px;
    opacity: 0.7;
  }

  .hero .hero-terminbuttons button {
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .hero .hero-terminbuttons{
    grid-template-columns: repeat(1, 1fr);
  }

  .hero .hero-terminbuttons button strong{
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4rem;
  }

  .hero .hero-terminbuttons button{
    min-width: 320px;
  }
}

@media (max-width: 400px) {
  
}