/**
* Fuel Theme
* Version 5.0.0
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
  background:  url('../images/hero-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right -10em;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  color: var(--site-white);
  position: relative;
  z-index: 1;
}

.hero-small-text {
  font-family: var(--title-font);
  display: block;
  font-size: 0.95em;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);

}
.hero-large-text {
  font-family: var(--title-font);
  display: block;
  font-size: 2em;
  max-width: 7em;
  margin-bottom: 1.7rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}
.hero-shape {
  color: var(--site-white);
  position: absolute;
  bottom: -0.05em;
  left: 0;
  z-index: -1;
}

@media (min-width: 37.5em) {
  #hero {background-position: top center;}
}


@media (min-width: 68.5em) {
  #hero {
    padding-top: 8em;
    padding-bottom: 12em;
    font-size: clamp(0.7rem, 1.6vw, 1rem);
  }

  .hero-small-text {
    font-size: 2.4em;
  }
  .hero-large-text {
    font-size: 4.4em;
    max-width: 33.3rem;
    line-height: 4.9rem;
  }

}
/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/

#welcome{
  padding: 3em 1.5em 1em;
  font-size: 0.9rem;
}
.welcome-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 2em;
  max-width: 64em;
  margin: auto;
  font-size: 0.9rem;
}

.welcome-content {
  margin: auto;
  max-width: 36.1em;
}
.welcome-small-text {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}
.welcome-pic {
  max-width: 25em;
  margin: auto;
}
.welcome-text {
  line-height: 1.9em;

}

@media (min-width: 68.5em) {
  .welcome-wrap {
    flex-wrap: nowrap;
    font-size: 1em;
  }
  .welcome-content {
    margin-top: 0;
  }
  .welcome-pic {
    margin-top: 1.5em;
  }

  @media (prefers-reduced-motion:no-preference) {
    .welcome-pic img {
      transform: scale(0.5);
      opacity: 0;
    }
    .welcome-pic.js-intersected img {
      animation: popin 400ms ease 0s forwards;
      opacity: 1;
    }
  }

}

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/
#cta-section {
  padding-bottom: 2em;
  padding-top: 3.5em;
  background: linear-gradient(180deg, rgba(52, 111, 192, 0.3) 6.72%, rgba(52, 111, 192, 0) 100.03%);
  clip-path: url('#mobile-contact-shape');
  }

#cta-section .cta-box:hover {
  background: transparent;
}  

.cta-section-title {
  font-family: var(--title-font);
  font-style: italic;
  margin-bottom: 2em;
}

.cta-how {
  font-size: 1em;
  color: var(--primary-color);
}
.cta-help-today {
  display: block;
  font-style: normal;
  font-size: 1.6em;
  color: var(--primary-color);
}

.cta-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2em;
}
.cta-box {
  max-width: 17.5em;
  width: 100%;
  display: block;
  padding-bottom: 2em;
}
.cta-icon {
  margin-bottom: 0.8em;
  position: relative;
  width: fit-content;
  transition: ease all 300ms;
}
.cta-icon svg {
  transition: 500ms;
  width: 3em;
}
.cta-box:hover .cta-icon {
  transform: scale(1.1);
  transform-origin: center center;

}
.cta-title {
  font-size: 1.1em;
  margin-bottom: 0.8em;
}
.cta-text {
  color: var(--primary-color);
  margin-bottom: 0.8em;
  font-size: 0.9em;
}
.cta-button {
  color: var(--primary-color);
  padding-left: 0.8em;
  padding-right: 0.8em;
  height: 2em;
  padding-top: 0.25em;
}

.cta-btn-text {
  z-index: 1;
}

.cta-box .cta-button {
  border-left: 0.05em solid var(--light-blue);
  position: relative;
  overflow: hidden;
  width: fit-content;
}
.cta-2 .cta-button { 
  border-color: var(--site-green);
}
.cta-3 .cta-button {
  border-color: var(--site-orange);
}
.cta-4 .cta-button {
  border-color: var(--site-purple);
}
.cta-5 .cta-button {
  border-color: var(--site-violet);
}
.cta-6 .cta-button {
  border-color: var(--site-pink);
}

.cta-button svg { margin-left: 1em; transition: 1000ms;}
.cta-1 .cta-button svg { color: var(--light-blue);}
.cta-2 .cta-button svg { color: var(--site-green);}
.cta-3 .cta-button svg { color: var(--site-orange);}
.cta-4 .cta-button svg { color: var(--site-purple);}
.cta-5 .cta-button svg { color: var(--site-violet);}
.cta-6 .cta-button svg { color: var(--site-pink); }

.cta-box .cta-btn-text {
  color: var(--content-color);
  transition: 500ms;
}
.cta-box:hover .cta-btn-text {
  color: var(--site-white);
  transition: 500ms;
}

.cta-box .cta-button::after {
  position: absolute;
  content: '';
  left: -100%;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--light-blue);
  transition: 300ms;
  z-index: -1;
}

.cta-2 .cta-button::after { background: var(--site-green); }
.cta-3 .cta-button::after { background: var(--site-orange); }
.cta-4 .cta-button::after { background: var(--site-purple); }
.cta-5 .cta-button::after { background: var(--site-violet); }
.cta-6 .cta-button::after { background: var(--site-pink); }

.cta-box:hover .cta-button::after {
  transition: 300ms;
  left: 0;
  color: var(--site-white);
}

.cta-box:hover .cta-button svg {
  color: var(--site-white);
  transition: color 2000ms;
}

.cta-box:hover .cta-icon svg {
  transform: scale(1.2);
  transition: 500ms;
}

.logo-icon-cta {
  padding: 0 1.5em 2em;
  max-width: 75em;
  margin: auto;
}


@media (min-width: 68.5em) {
  #cta-section {
    padding-top: 6.5em;
    clip-path: url('#desktop-cta');
    padding-bottom: 28.5em;
}
  .cta-title {
    font-size: 1.5em;
  }
  .cta-text {
    font-size: 1em;
  }
  .logo-icon-cta {
    padding-bottom: 0;
    position: absolute;
    bottom: 11.5em;
    left: 10%;
    width: 78%;
  }
  .cta-icon svg {
    width: 6em;
  }
  .cta-how {
    font-size: 1.4em;
  }
  .cta-help-today {
    font-size: 2.4em;
  }

}
@media (min-width: 86.5em) {
  .logo-icon-cta {
    bottom: 5.5em;
  }
}


/**
 * NOTE: If map and/or contact form styling appears on secondary pages, place styles in style.css
 */
