html, body {
	scroll-behavior: smooth;
}

:root{
	--orange: #ed6024;
}

.page-template-education-template .site-inner .wrap {
	max-width: 100%;
}

.page-template-education-template .before-footer,
.page-template-education-template .site-footer,
.page-template-education-template .footer-widgets,
.page-template-education-template .sub-header {
	display: none;
}

.page-template-education-template iframe {
	display: block;
	aspect-ratio: 9 / 16;
	width: 100%;
	height: 100%;
}

.rel img {
	display: block;
	aspect-ratio: 9 / 16;
	width: 100%;
	height: 100%;
	outline: 3px solid var(--orange);
}

#links {
	background: black;
	padding: 20px;
}

.ed-wrap {
	max-width: 1500px;
	margin: auto;
}

.links {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	border-top: 2px solid var(--orange);
}

.anchor-link {
	padding: 10px 20px;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	position: relative;
	/* transition: .3s; */
	text-align: center;
	border-right: 2px solid var(--orange);
	position: relative;
}

.anchor-link:last-of-type {
	border-right: 0px;
}

.anchor-link:nth-of-type(even) {
	background: linear-gradient(180deg, rgba(235,106,37,1) 0%, rgba(0,0,0,1) 100%);
}

.anchor-link:hover {
	color: white;
	z-index: 5;
}

.anchor-link::after {
	content: "\f358";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;

	display: block;
	margin: auto;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 50%;
	
	opacity: 0;
	transform: translate(-50%, 0%);
	transition: .3s;
}

.anchor-link:hover::after {
	transform: translate(-50%, 15px);
	opacity: 1;
}


/* badges */

#badges {
	background: black;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

#badges img {
	display: block;
	max-width: 150px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	width: 100%;
}


/* WELCOME / REVIEWS */

.rel {
	position: relative;
}

#welcome {
	background: black;
	padding: 50px 20px;
}

.ed-title {
	color: white;
	text-align: center;
	font-weight: 900;
	font-size: 48px;
	margin-bottom: 0px;
	text-transform: uppercase;
}

.ed-title::after {
	/* content: ""; */
	height: 2px;
	max-width: 1000px;
	margin: 10px auto;
	display: block;
	background: white;
}

.ed-subtitle {
	color: var(--orange);
	text-align: center;
	font-size: 30px;
	font-weight: 900;
	max-width: 1000px;
	margin: auto;
	margin-bottom: 30px;
}

#welcome .rel {
	max-width: 350px;
	margin: auto;
}

#welcome .ed-wrap {
	padding-bottom: 20px!important;
}

/* Arrows */

.arrow {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* pointer-events: none; */

	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -50px;
	z-index: 50;
}

.arrow-stem {
	height: 80px;
	width: 10px;
	background: var(--orange);
}

.arrow-point {
	height: 50px;
	width: 100px;
	background: var(--orange);
	clip-path: polygon(100% 0, 0 0, 50% 100%);
}


/* REVIEWS */

.padding {
	padding: 120px 20px;
}

.review {
	position: absolute;
	background: none;
	max-width: 350px;
	padding: 10px;
	animation: slideUp 2s;
}

@keyframes slideUp {
	0% {
		opacity: 0;
		top: 70%;
	}

	100% {
		opacity: 1;
		top: 50%;
	}
}

.review-titles {
	margin-bottom: 10px;
}

.review-title {
	color: white;
	margin: 0px;
}

.review .fa-google {
	float: left;
	margin-right: 10px;
	background: white;
	font-size: 45px;
	color: var(--orange);
	padding: 10px;
	border-radius: 100%;
}

.review .fa-star {
	color: var(--orange);
}

.review p {
	color: white;
	line-height: 22px;
	margin: 0px;
}

.left-review {
	left: 0px;
	top: 50%;
	transform: translate(-100%, -50%)
}

#testimonials {
	background: #141414;
}

/* PRICING */

#pricing {
	background: #141414;
}

.pricing {
	display: flex;
	max-width: 1000px;
	margin: auto;
	gap: 30px;
	justify-content: center;
	margin-bottom: 20px;
}

.pricing p {
	margin-bottom: 15px;
}

.pricing iframe {
	aspect-ratio: 9 / 16;
	width: 100%;
	max-height: 400px;
}

.price-item {
	width: calc(33.3% - 20px);
}

.price-title {
	color: var(--orange);
	text-align: center;
	margin: 0px;
	font-size: 30px;
}



/* ADditional Options */

#options {
	background: #141414;
}

.wpcp-all-captions h4 {
	color: var(--orange)!important;
}

.wcp-video-item img {
	aspect-ratio: 9 / 16!important;
	object-fit: cover;
}


/* Installation */

#installation {
	background: black;
}

#installation p {
	margin: 0px;
}

.video-container {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.video-container img {
	max-width: 200px;
}

/* Team */

#team {
	background: #141414;
	display: none;
}

.team {
	display: flex;
	gap: 20px;
}

.team-member {
	width: calc(20% - 10px);
	display: flex;
	flex-direction: column;
	position: relative;
	/* height: 500px; */

	
}

.team-flip {
	position: relative;
	perspective: 150rem;
	-moz-perspective: 150rem;

	margin-bottom: 15px;
}

.card-back, .card-front {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: .8s;
    overflow: hidden;
}

.card-front {
	position: relative;
	margin: 0px;
}

.card-back {
    overflow-y: auto;
    transform: rotateY(180deg);
	background: black;
	height: 100%;
	outline: 3px solid var(--orange);
}

.card-back p {
	margin: 0px;
	font-size: 14px;
	line-height: 20px;
	padding: 10px;
}

.card-back {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.team-member:hover .card-front {
    transform: rotateY(-180deg);
}

.team-member:hover .card-back {
    transform: rotateY(0);
}


.team-member img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.team-member-name {
	color: var(--orange);
	text-align: center;
	margin: 0px;
	font-size: 24px;
}

.team-member p {
	color: white;
	text-align: center;
	margin: 0px;
}


/* HOW */

#how {
	background: black;
	display: none;
}

#how .rel {
	display: flex;
	justify-content: center;
	flex-direction: column;
	max-width: 350px;
	margin: auto;
	
}

.right-review {
	left: initial;
	right: 0px;
	top: 50%;
	transform: translate(100%, -50%)
}

.rel img {
	aspect-ratio: 9 / 16;
	object-fit: cover!important;
	margin: auto!important;
}

#team .team-member img {
	aspect-ratio: 1 / 1!important;
}

/* Return */

#return {
	background: #141414;
}

#return .rel {
	display: flex;
	justify-content: center;
	flex-direction: column;
	max-width: 350px;
	margin: auto;
	
}

.right-review {
	left: initial;
	right: 0px;
	top: 50%;
	transform: translate(100%, -50%)
}



/* Care */

#care {
	background: black;
}

#care .rel {
	display: flex;
	justify-content: center;
	flex-direction: column;
	max-width: 350px;
	margin: auto;
	
}


/* referral */

#referral {
	background: #141414;
}

#referral .rel {
	display: flex;
	justify-content: center;
	flex-direction: column;
	max-width: 350px;
	margin: auto;
	
}



/* contact */
#contact {
	background: black;
}

#contact iframe {
	max-width: 350px;
	margin: auto;
}

#contact .top_label {
	color: white;
}

#contact .ed-wrap {
	max-width: 1200px;
}












@media(max-width: 1500px) {
	.links {
		flex-wrap: wrap;
	}
	
	.anchor-link {
		padding: 10px;
		font-size: 14px;
	}
}

@media(max-width: 1350px) {
	.team {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.team-member {
		width: calc(25% - 15px);
	}
}

@media(max-width: 1200px) {
	.links {
		gap: 10px;
		align-items: stretch;
		border-top: 0px;
	}
	
	.anchor-link {
		width: calc(33.3% - 10px);
		border: 0px;
		padding: 12px 10px;
		background: var(--orange)!important;
		transition: .3s;
		flex-grow: 1;
	}

	.anchor-link::after {
		position: relative;
		transform: initial;
		left: initial;
		top: initial;
		opacity: 1;
		transition: .3s;
	}

	.anchor-link:hover::after {
		transform: initial;
		opacity: initial;
	}

	.anchor-link:hover {
		background: white!important;
		color: var(--orange);
	}

	/* reviews and welcome */

	.ed-title {
		font-size: 45px;
	}

	.ed-subtitle {
		font-size: 35px;
	}

	.review {
		display:block;
		position: relative;
	}

	.left-review, .right-review {
		top: initial;
		left: initial;
		right: initial;
		transform: none;
		margin-bottom: 20px;
	}
}

@media(max-width: 950px) {
	
	.team-member {
		width: calc(33.3% - 15px);
	}
}

@media(max-width: 768px) {
	.anchor-link{
		font-size: 14px;
		padding: 5px;
	}

	.ed-title {
		font-size: 30px;
	}

	.ed-subtitle {
		font-size: 20px;
	}

	.review-title {
		font-size: 20px;
	}

	.review .fa-google {
		font-size: 30px;
	}

	.review p {
		font-size: 14px;
	}

	.arrow {
		bottom: -25px;
	}

	.arrow-stem {
		height: 50px;
	}

	.arrow-point {
		width: 50px;
		height: 25px;
	}

	/* pricing */

	.padding {
		padding: 50px 20px;
	}

	.price-title {
		font-size: 20px;
	}

	.pricing {
		flex-wrap: wrap;
	}

	.price-item {
		width: 100%;
	}

	/* team */

	.team-member {
		width: calc(50% - 15px);
	}
}

@media(max-width: 600px) {
	.anchor-link {
		width: calc(50% - 5px);
	}

	#badges img {
		max-width: 80px;
	}

}

@media(max-width: 500px) {
	.team-member {
		width: calc(100%);
		max-width: 300px;
	}

	.card-back p {
		font-size: 16px;
	}
}