{% require_css %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=League+Spartan:wght@400;500;600;700&display=swap" rel="stylesheet">
{% end_require_css %}

{% scope_css %}
/* ============================================
   AutomateNow Hero Sub Section Module
   ============================================ */

/* Main Container */
.automatenow-hero-sub {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 700px;
  background: linear-gradient(260.19deg, #332E61 -2.35%, #4280C7 57.32%, #87EDFC 116.01%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.automatenow-hero-sub__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 200px 40px 0px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  z-index: 1;
}

/* Section Label */
.automatenow-hero-sub__label {
  width: auto;
  height: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  line-height: 125%;
  letter-spacing: 0%;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* Main Title */
.automatenow-hero-sub__title {
  width: auto;
  max-width: 997px;
  height: auto;
  min-height: 148px;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 80px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
}

/* Content Row: Image, Description and CTA */
.automatenow-hero-sub__content {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  flex-wrap: wrap;
}

/* Text Column: Description and CTA */
.automatenow-hero-sub__text-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

/* Image Wrapper */
.automatenow-hero-sub__image-wrapper {
  flex-shrink: 0;
}

.automatenow-hero-sub__image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

/* Description Text */
.automatenow-hero-sub__description {
  width: auto;
  max-width: 450px;
  height: auto;
  min-height: 40px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  line-height: 125%;
  letter-spacing: 0%;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
}

/* CTA Button */
.automatenow-hero-sub__cta {
  margin-top: 0;
}

/* Style HubSpot CTA button */
.automatenow-hero-sub__cta .hs-cta-wrapper,
.automatenow-hero-sub__cta a.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 287px;
  height: 35px;
  border-radius: 30px;
  background: #FF6B35 !important;
  color: #FFFFFF !important;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 125%;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0 20px;
}

.automatenow-hero-sub__cta .hs-cta-wrapper:hover,
.automatenow-hero-sub__cta a.hs-button:hover {
  background: #E55A2B !important;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .automatenow-hero-sub {
    height: 700px;
    min-height: 700px;
  }

  .automatenow-hero-sub__container {
    padding: 60px 30px;
    max-width: 1200px;
  }

  .automatenow-hero-sub__title {
    font-size: 60px;
    max-width: 100%;
  }

  .automatenow-hero-sub__content {
    max-width: 100%;
  }

  .automatenow-hero-sub__description {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .automatenow-hero-sub {
    height: auto;
    min-height: 600px;
  }

  .automatenow-hero-sub__container {
    padding: 50px 20px;
    gap: 25px;
  }

  .automatenow-hero-sub__label {
    font-size: 14px;
    height: auto;
  }

  .automatenow-hero-sub__title {
    font-size: 40px;
    line-height: 100%;
    min-height: auto;
    max-width: 100%;
  }

  .automatenow-hero-sub__content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .automatenow-hero-sub__image {
    width: 120px;
    height: 120px;
  }

  .automatenow-hero-sub__description {
    max-width: 100%;
    font-size: 14px;
    line-height: 125%;
    min-height: auto;
  }

  .automatenow-hero-sub__cta .hs-cta-wrapper,
  .automatenow-hero-sub__cta a.hs-button {
    width: 100%;
    max-width: 287px;
    height: 40px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .automatenow-hero-sub {
    min-height: 550px;
  }

  .automatenow-hero-sub__container {
    padding: 40px 15px;
    gap: 20px;
  }

  .automatenow-hero-sub__label {
    font-size: 14px;
  }

  .automatenow-hero-sub__title {
    font-size: 32px;
    line-height: 100%;
  }

  .automatenow-hero-sub__image {
    width: 120px;
    height: 120px;
  }

  .automatenow-hero-sub__description {
    font-size: 14px;
    line-height: 125%;
    max-width: 100%;
  }

  .automatenow-hero-sub__text-column {
    min-width: 100%;
  }

  .automatenow-hero-sub__cta .hs-cta-wrapper,
  .automatenow-hero-sub__cta a.hs-button {
    width: 100%;
    max-width: 100%;
  }
}
{% end_scope_css %}

