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

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

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
    background: green;
    padding-top: 10.5rem;
    padding-bottom: 9rem;
    font-size: 1.8rem;
    font-size: clamp(1.8rem, 3.6vw, 3.2rem);
    position: relative;
    z-index: 0;
}

#hero::before { 
  content:''; 
  position: absolute; 
  width: 100%; 
  height: 100%; 
  top: 0; 
  left: 0; 
  background: radial-gradient(39.45% 39.45% at 50% 50%, #050505 0%, rgba(5, 5, 5, 0.65) 100%);
  opacity: 0.8;
  z-index: -1;
}

#hero::after {
  content: '';
  width: 70%;
  height: 2.25rem;
  background: linear-gradient(103.92deg, #0D5731 38.14%, #76C043 125.53%);
  position: absolute;
  bottom: -1.125rem;
  right: 0;
}

.hero-text {
    border: 0.05rem solid var(--site-white);
    text-align: center;
    font-family: var(--title-font);
    color: var(--site-white);
    margin: auto;
    width: 9em;
    padding: 1rem 0.5rem;
    position: relative;
  }

.hero-text::after {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary-color);
  position: absolute;
  bottom: -0.75rem;
  left: -0.75rem;
}

.hero-image {
  position: absolute; 
  width: 50%;
  height: 50%; 
  object-fit: cover; 
  display: block; 
  object-position: 
  center; z-index: -2;
}

.hero-image-1 {
    top: 0;
    left: 0;
}

.hero-image-2 {
    top: 0;
    right: 0;
}

.hero-image-3 {
    bottom: 0;
    left: 0;
}

.hero-image-4 {
    bottom: 0;
    right: 0;
}

@media only screen and (min-width: 53em){
  #hero::before {  
    background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, #050505 68.81%);
    opacity: 0.65; 
    }

    #hero::after {
      width: 38%;
      height: 1.75em;
      bottom: -0.9em;
    }

  .hero-text::after{
    width: 2.5rem;
    height: 2.5rem;
    left: -1.25rem;
    bottom: -1.25rem;
  }

  .hero-image{ width: 25%; height: 100%; }

  .hero-image-1 {
      left: 0;
  }
  .hero-image-2 {
      right: auto;
      left: 25%;
  }
  .hero-image-3 {
      left: auto;
      right: 25%;
  }
  .hero-image-4 {
      right: 0;
  }
}

@media only screen and (min-width: 68.5em){
  #hero {padding-top: 4.2em;
    padding: 11.5rem;
    padding-bottom: 4.2em;
  }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/
#welcome {
  text-align: center;
  padding-bottom: 5rem;
  padding-top: 4rem;
}

.welcome p {
  font-size: 0.9rem;  
}

#welcome .welcome-content {
  max-width: 30rem;
  margin: auto;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.welcome-break { 
  display: block;
}

#welcome .button { 
  margin-bottom: 2rem;
}

.home-ctas {
  background: linear-gradient(180deg, #F6F6F6 0%, rgba(217, 217, 217, 0) 100%);
}

.home-cta { 
  display: block;
}

@media (min-width: 53em){
  #welcome{ 
    padding-top: 5.5rem; 
  }
}

@media (min-width: 68.5em){
  #welcome,
  #location {
    position: relative;
  }
  
  .main-front { overflow: hidden; }
  #location { position: relative; }

  #welcome::before, 
  #location::before {
    content: '';
    width: 30rem;
    height: 30rem;
    background-image: url(../images/logo-watermark.svg);
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    left: -1.75rem;
    position: absolute;
    z-index: 0;
}

  #location::before {
    top: -15rem;
    right: -5rem;
    left: unset;
}


  #welcome h1 {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4.5rem;
  }

  #welcome .welcome-content {
    text-align: left;
    font-size: 1rem;
  }

  .welcome-break {
    display: inline;
  }

  #welcome .button { 
    margin-bottom: 7rem;
  }
}


/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/

.ctas-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 1rem 0 2rem;
  padding-top: 0;
  max-width: 18rem;
  margin: auto;
}

.services-box {
  padding-top: 3rem;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, #F6F6F6 0%, rgba(217, 217, 217, 0) 100%);
}

.home-cta {
  height: 23rem;
  width: 18rem;
  padding: 1rem;
  position: relative;
}

.home-cta::after {
  content: ''; 
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
}

.home-cta h2 { 
  color: var(--site-white); 
}

.home-cta p {
  color: var(--primary-color-light);
}

.cta-1.load-bg {background-image: url(../images/cta-1.jpg);background-position: right;}
.cta-2.load-bg {background-image: url(../images/cta-2.jpg);}
.cta-3.load-bg {background-image: url(../images/cta-3.jpg);}
.cta-4.load-bg {background-image: url(../images/cta-4.jpg);background-position: left;}

.cta-border {
  padding-left: 1em;
  border: 0.05rem solid var(--site-white);
  height: 100%;
  padding-top: 13em;
  transition: border 500ms;
  z-index: -1;
}

.ha-feature {
  background: linear-gradient(90.43deg, #0D5731 33.39%, #76C043 85.67%);
  text-align: center;
  color: var(--site-white);
  padding: 1.2rem;
  padding-bottom: 1rem;
  position: relative;
  max-width: 50rem;
  margin: auto;
  margin-bottom: 9rem;
  z-index: 1;
}

.ha-feature::before {
  content: url(../images/oticon-logo.png);
  display: block;
  position: absolute;
  bottom: -2rem;
  left: 4.5rem;
}

.ha-feature::after {
  content: '';
  background-image: url(../images/oticon-explore.png);
  background-size: cover;
  display: block;
  position: absolute;
  bottom: -4.5em;
  left: 0;
  width: 6.5em;
  height: 6em;
}

.ha-feature-content {
  padding: 2rem 1rem;
  padding-bottom: 3rem;
  font-size: 0.9rem;
  border: 0.05rem solid var(--site-white);
  border-bottom: none;
   position: relative;
}

.ha-feature-content p {
  max-width: 37.5rem;
  margin: auto
}

.ha-feature-content::before, .ha-feature-content::after { 
  content:''; 
  position: absolute;
  height: 0.05rem; 
  background: var(--site-white); 
  width: calc(50% - 6.75rem); 
  left: 0; 
  bottom: 0;
}

.ha-feature-content::after { 
  left: auto; 
  right: 0;
}


.ha-feature .button {
  color: var(--site-white);
  border-color: var(--site-white);
  width: 13.5rem;
  margin-top: -2rem;
}

.cta-small-text svg { margin-left: 0.5em; }

@media (min-width: 51.25em){
    .ctas-wrapper {
      flex-direction: row;
      flex-wrap: wrap;
      max-width: 38rem;
      justify-content: space-around;
      gap: 2rem;
    }
}

@media (min-width: 68.5em){
    
  .ha-feature::after {
    width: 11.75rem;
    height: 11.75rem;
    bottom: -3em;
    left: -3em;
  }

  .ha-feature::before {
    left: 2.5rem;
    bottom: -2.5rem;
  }

  .ctas-wrapper {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    max-width: 67.5em;
    margin-top: -9em;
    gap: unset;
  }

  .services-box {
    padding-bottom: 13.5em;
  }
  
  .home-ctas {
    font-size: 1rem;
    font-size: clamp(0.7rem, 1.2vw, 1rem);
  }

  .home-cta {
    width: 30em;
    max-width: 100%;
    height: 30em;
    padding: 2.5em;
    margin: auto;
    margin-bottom: 4em;
    position: relative;
    z-index: 0;
  }
  .home-cta::before{
      content: "";
      display: block;
      position: absolute;
      width: calc(100% - 5em);
      height: calc(100% - 5em);
      left: 2.5em;
      top:2.5em;
      border: solid .05rem var(--site-white);
      z-index: -2;
  }

  .home-cta::after {
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    transform: scale(.125);
    transform-origin: bottom left;
    transition: transform 800ms;
    z-index: -1;
  }
  .cta-border{
    border: none;
  }

  .home-cta:hover .cta-small-text svg,
  .home-cta:focus .cta-small-text svg {
    transform: translateX(0);
  }

  .home-cta:hover::after, 
  .home-cta:focus::after {
    transform: scale(1);
  }

  .home-cta h2 {font-size: 2.4em;z-index: 2;}
  .cta-small-text {max-width: 16.6rem;position: relative;}
  .cta-small-text span {position: relative; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path 800ms;	}
  .cta-small-text svg {margin-left: 0; }
  
  .home-cta:hover .cta-small-text span,
  .home-cta:focus .cta-small-text span { 
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

  .cta-small-text svg {
    right: 0;
    top: 0.45rem;
    position: absolute;
    margin-left: 0.2rem;
    transform: translateX(-15.8rem);
    transition: transform 800ms;
    }

  .cta-1.load-bg { background-image: url(../images/cta-1-lg.jpg); }
  .cta-2.load-bg { background-image: url(../images/cta-2-lg.jpg); }
  .cta-3.load-bg { background-image: url(../images/cta-3-lg.jpg); }
  .cta-4.load-bg { background-image: url(../images/cta-4-lg.jpg); }



}

/* CTA Animations */


/* Button Hover Animations */


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