/* =========================
   LAYOUT
   ========================= */

.top_banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.top_banner .top_content * {
  color: #fff;
}

.top_banner .graph_image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
}

.top_banner .mobile_bg {
  display: none;
}

.top_banner .graph_image.full_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_banner .graph_image img,
.top_banner .graph_image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1420px) {
  .top_banner .graph_image {
    width: auto;
  }
}

.top_banner .inner-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.top_banner .inner-content h1 {
  color: #fff;
}

.top_banner .inner-content p.lead {
  color: #fff;
  max-width: 570px;
}

.top_banner .button_group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.top_banner .inner-content .banner-image {
  max-width: 468px !important;
  height: auto;
  margin-left: auto;
  display: block;
}

.top_banner .inner-content .col {
  flex: 1;
}

.top_banner .trustpilot_image,
.top_banner .trustpilot_widget {
  padding-bottom: 32px;
}

@media (max-width: 868px) {
  .top_banner {
    padding: 66px 0 30px;
  }

  .top_banner .inner-content {
    flex-direction: column;
    gap: 40px;
  }

  .top_banner .inner-content .banner-image {
    max-width: 100% !important;
  }

  .top_banner .graph_image {
    width: 100%;
    bottom: -50px;
    top: auto;
    height: 60%;
  }

  .top_banner .graph_image.full_image {
    width: 100%;
    bottom: -50px;
    top: auto;
    height: 60%;
    object-fit: unset;
  }

  .top_banner .graph_image img,
  .top_banner .graph_image video {
    object-fit: cover;
  }

  .top_banner .mobile_bg {
    display: block;
  }

  .top_banner .desktop_bg {
    display: none;
  }
}

/* =========================
   SUBSCRIBE FORM
   ========================= */

.sub_form form {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: baseline;
  background: transparent;
  border: none;
}

.sub_form input[type='email'] {
  border-radius: 50px 0 0 50px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.sub_form input[type='email']::placeholder {
  color: #fff;
}

.sub_form form input[type='submit'] {
  border-radius: 0 50px 50px 0;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 9px 20px;
}

.sub_form form input[type='submit']:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 868px) {
  .sub_form .hs_email {
    flex: 1;
  }
}

/* =========================
   BUTTON BASE (DEFAULT = RED)
   ========================= */

.top_banner .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  background-color: #d52128; /* default red */
  color: #fff;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* =========================
   SOLID BUTTON STYLES
   ========================= */

.top_banner .button.pink {
  background-color: #e91e63;
}

.top_banner .button.pink:hover {
  background-color: #d81b60;
}

.top_banner .button.purple {
  background-color: #7b61ff;
}

.top_banner .button.purple:hover {
  background-color: #6a52e8;
}

.top_banner .button.blue {
  background-color: #0052cc;
}

.top_banner .button.blue:hover {
  background-color: #0047b3;
}

.top_banner .button.white {
  background-color: #ffffff;
  color: #000;
}

.top_banner .button.white:hover {
  background-color: #f2f2f2;
}

/* =========================
   OUTLINE BUTTON STYLES
   ========================= */

.top_banner .button.white_outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.top_banner .button.white_outline:hover {
  background: #fff;
  color: #000;
}

.top_banner .button.dark_outline {
  background: transparent;
  border: 2px solid #000;
  color: #000;
}

.top_banner .button.dark_outline:hover {
  background: #000;
  color: #fff;
}

.top_banner .button.gold_solid {
  background-color: #AF8561;
  color: #fff;
  border: 1px solid #AF8561;
}

.top_banner .button.gold_solid:hover {
    background-color: transparent;
    color:#AF8561;
    border: border: 1px solid #AF8561;
}

.top_banner .button.gold_outline {
  background: transparent;
  border: 1px solid #AF8561;
  color: #86654B;
}

.top_banner .button.gold_outline:hover {
    background: #86654B;
    color: #fff;
    border: 1px solid #AF8561;
}
