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

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

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

.home-header { padding:  3em 1em 6em 1em; background: url('../images/home-header-bg.jpg') center/cover no-repeat;position: relative;margin-bottom: 3em;}
.home-header-text-wrapper { font-size:  1.6em; max-width: 13em; margin: 0 auto; position: relative; }
/* .home-header-text-wrapper:before { content:  ''; position: absolute; top: -1em; right: 10%; border-right: 2px solid #fff; width:  .25em; height:  13em} */
.home-header-text-wrapper:before { display: none; }
.quality {font-weight: 400; line-height: 1.5 ;font-family: var(--title-font);color:  #fff; margin-bottom: 0; }
.care {font-weight: 400; line-height: 1.5 ;font-family: var(--title-font);color:  #fff; }
.care { color: var(--primary-color) }
.home-header-meet { 
    position: absolute; 
    bottom:  -2em; 
    margin:  auto;
    background: var(--primary-color);
    color:  #fff; 
    border-radius: 0 0 0 20px;
    font-size: .8em; 
    font-style: italic;
    bottom: -2em;
    left: 0;
    right: 1em;
    padding: 2em 8em 2em 1em;
    max-width: 24em;
    width: 85%;
    margin: auto;
    transition:  background .5s ease;
}

.home-header-meet:hover, .home-header-meet:focus { background: var(--accent-color); color:  #fff; }
.home-header-meet svg { color: var(--accent-color) }
.home-header-meet:hover svg { color: #fff }
.home-header-bio-image { position: absolute; right: 0; top: 0; width: 9em; height: 9em; }
.home-header-bio-image:before { content:''; position: absolute; width: 9.5em;height: 9.5em;border: 12px solid var(--accent-color); border-radius: 50%;  left: 1.25em; top: -1.75em;}
.home-header-bio-image img { 
    position: absolute;
    left: 2em;
    border-radius: 50%;
    height: 8em;
    width: 8em;
    top: -1em;
    object-fit: contain;
    background: #804C4E; 
}

@media (min-width: 68.5em) {
    .quality, .care { padding-left: 6rem; line-height: 1.25; padding-top: .2em;  }
    .home-header { max-width: none; margin: 0 1.5em; border-radius: 0 0 150px 150px; }
    .home-header-wrapper { position: relative; }
    .home-header-wrapper:before { content: ''; position: absolute; left: 0; top: -5em; width: 100%; height: 90%; background: var(--primary-color); }
    .home-header-text-wrapper { max-width: none;  }
    .home-header-meet { 
		left: initial;  
		border-radius: 0 0 0 40px; 
		font-size: 1.2em; 
		padding: 2.5em 2em; 
		max-width: 26em; 
		opacity: 0; 
		transition: opacity 1s 1s ease, background .5s ease; ;
		z-index: 99;
	}
	.home-header.js-intersected  .home-header-meet { opacity: 1;  }
    .home-header-bio-image:before { border: 19px solid var(--accent-color); }

   .home-header-text-wrapper {
         font-size: 1.6em;
         font-size: clamp(1.6rem, 8.1vw, 7.5rem);
   }

   .home-header-text-wrapper:before { right: 5%; height: 5em; top: 12%; border-right: 4px solid #fff; opacity: 0; transition: opacity 1s 1.5s ease;}
   .home-header-text-wrapper:after { 
		content:''; 
		position: absolute; 
		right: 0; 
		height: .25em; 
		top: 155%;
		width: 90%;
		border-bottom: 3px solid #fff;
		opacity: 0; 
	   transition: opacity 1s 1.75s ease;
	}
	
	.home-header.js-intersected .home-header-text-wrapper:before, .home-header.js-intersected .home-header-text-wrapper:after { opacity: 1;  }
	
	
}

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

.sub-home-header { padding: 1em 1em 4em 1em; background: linear-gradient(360deg, #F2F2F2 0%, rgba(196, 196, 196, 0) 52.33%); position:  relative; z-index: 10;}
.sub-home-header:before { 
    content: ''; 
    position: absolute; 
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 7.5em;
    width: 13.5em;
    background: url('../images/homesubheaderdots.svg') no-repeat; 
    z-index: -1;
}

.home-heading {  text-align: center; font-size: 1.2em; margin-bottom: 1.25em; font-weight: 400 ;}
.sub-home-header p { font-size: .9em; line-height: 1.78; color:  #000; }
.sub-home-header .button { text-align: center; display: block; max-width: 8em; margin: 0 auto; }

@media (min-width: 68.5em) {
    .sub-home-header { padding-top: 5em;  }
    .home-heading { font-size: 2em; text-align: right; }
    .sub-home-header p { font-size: 1em ; line-height: 2;  }
    .sub-home-header-flex { display: flex;gap:  2em;  max-width: 58em; margin: 0 auto;   }
    .sub-home-header-flex { flex-shrink: 0; flex-basis: 33%; }
    .sub-home-header .button { margin:  0; }
    .sub-home-header-flex-left { flex-shrink: 0; flex-basis: 20em;  }
    .sub-home-header:before { left: initial; height: 16.5em; width: 26.5em; background-size: cover; }
}

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

.cta-wrapper {padding-top:  5em; }
.cta h3 { font-weight: 400; font-size: 1.2em; margin-bottom:  1.5em; }
.cta p, .cta .button { font-size: .9em ; line-height: 1.78 ; }
.cta { padding:  1em; display:  block; margin: 0 0 1em 0 ; text-align: center; color: #000;  }
.cta-image {  position: relative;  height: 12em; width:  12em; z-index: 10 ; padding: 1em; margin: 0 auto 2.5em auto;}
.cta-image img {border-radius: 50%;}
.cta-image:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: #fff ; box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25); z-index:  -1; }
.cta-image:after { content: ''; position: absolute; bottom: 1em;right: -1em;width: 5em;height: 5.5em;background: url('../images/ctaaccent.svg') no-repeat; }

.cta .button:after {
	content: '';
	position: absolute;
	left:  0;
	bottom:  0; 
	width:  100%;
	height:  100%;
	background: linear-gradient(93.64deg, #1D96CE 8.2%, #56CAFF 53.62%, #1D96CE 97.42%);
	z-index: -1;
	transform:  translateY(3em);
	transition:  transform .25s ease;
}

.cta:hover .button:after { transform:  translateY(0); }
.cta:focus .button:after { transform:  translateY(0); }

@media (min-width: 68.5em) {
    .cta-wrapper { position: relative; overflow: hidden; z-index: 10; padding-top: 0; padding-bottom: 4em; }
    .cta-wrapper:before { 
        content:  ''; 
        position:  absolute; 
        left: -16em; 
        width: 42em; 
        top:  0; 
        height:  100%; 
        background: url('../images/cta-bg.jpg') no-repeat; 
        background-position: top ;
        background-size: cover ; 
        z-index:  -1;
}
    .cta-image:after { width: 7em; height: 7.5em; bottom: 4em; right: 2em; background-size: cover; }
    .cta-image { flex-basis: 25em ; flex-shrink:  0;  height: 25em; width: 25em; padding: 1.5em; padding: 1.5em; margin: 0 ; }
    .cta-content { max-width: 30em; padding-top:  4em; }
    .cta-image img { width: 100%; } 
    .cta { text-align: left; display: flex; gap:  2em; max-width: 55em; justify-content: space-between; margin: 0 auto; }
    .cta.ha { padding-left: 8em;  }
    .cta h3 { font-size: 1.6em; margin-bottom:  1em; }
    .cta p { font-size: 1em; line-height: 2; }
    .cta-wrapper .heartbeat-heading { margin-top: 2em; margin-bottom: 2em; }
}

@media (min-width: 90.5em) {
    .cta-wrapper:before { width: 58%; }

    .cta.ha { padding-left: 16em; max-width: 71em; }

}

/*--------------------------------------------------------------
# Home Page Reviews Section
--------------------------------------------------------------*/

.home-reviews { background: url('../images/home-review-bg.jpg') center/cover no-repeat; position: relative; z-index: 10; }
.home-reviews:before {
	content: ''; 
	position: absolute;
	top: 0; 
	left: 0; 
	height: 100%;
	width: 100%; 
	background: linear-gradient(90.49deg, rgba(24, 59, 101, 0.86) 24.3%, rgba(24, 59, 101, 0) 88.01%);
	z-index: -1; 
}

p.featured-review-content { color: #fff; font-size: 1.4em; line-height: 1.61;   }
p.featured-review-name { color: #fff; font-size: 1em; margin-bottom: 3em;   }

.home-reviews p:last-child { font-size: 1em; }
.featured-review { padding: 4.5em 0 5.5em 0 ; max-width: 29em; position: relative; }

@media (min-width: 68.5em) {
	.featured-review:before {
		content: ''; 
		position: absolute;
		top: 4.5em; 
		left: -3em; 
		height: 2em;
		width: 2em; 
		background: url('../images/home-review-quote.svg') center/cover no-repeat;
		z-index: -1; 
	}	
}


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