@keyframes title {
	0% {
		opacity: 0;
		transform: rotateX(90deg) translateY(-300px);
	}

	100% {
		opacity: 100%;
		transform: none;
	}
}

@keyframes video {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 100%;
	}
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 100%;
	}
}

@font-face {
	font-family: 'Sophia pro';
	src: url('Assets/SofiaProRegular.ttf');
}

:root {
	--black: #3C486B;
	--white: #F0F0F0;
	--yellow: #F9D949;
	--red: #F45050;
}

body {
	margin: 0;
	font-family: 'Sophia pro', Calibri, sans-serif;
	background-color: white;
	color: black;
}

a {
	position: relative;
	color: black;
	text-decoration: underline;
	text-decoration-color: rgba(127, 127, 127, 0);
	transition-duration: 250ms;
}

a:hover {
	text-decoration-color: initial;
}

header {
	display: flex;
	align-content: center;
	width: 90%;
	padding: 0 5%;
	position: sticky;
	background-color: white;
	top: 0;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.199);
	z-index: 3;
}

header>a {
	padding: 1em 2em;
	text-align: center;
	font-size: 1.3em;
	display: flex;
	align-items: center;
	justify-content: center;
}

header>a:first-child {
	padding: 0;
}

header img {
	width: 3.5em;
	padding: 0.5em 2em;
}

footer {
	position: relative;
	bottom: 0;
	min-height: 5em;
	max-height: 15em;
	background-color: black;
	padding: 5em;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 60px;
}

footer>div {
	display: flex;
	flex-direction: column;
	width: fit-content;
	line-height: 1.8em;
	gap: 5px;
}

footer>div>a,
footer>div {
	color: white;
}

main {
	display: flex;
	flex-direction: column;
	min-height: 70vh;
	gap: 100px;
}

section:first-child {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

section:first-child>div {
	margin: 0;
	z-index: 2;
	background-color: rgba(255, 255, 255, 0.692);
	grid-column: 1;
	grid-row: 1;
}

section:first-child>div>h1 {
	margin: 0;
	z-index: 2;
	padding: 4em 0 0 2em;
	font-size: 4em;
	font-weight: bold;
	grid-column: 1;
	grid-row: 1;
	animation-name: title;
	animation-duration: 2s;
	animation-delay: 1s;
	opacity: 0%;
	animation-fill-mode: forwards;
}

section:first-child>video {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	opacity: 0;
	animation-name: video;
	animation-duration: 1000ms;
	animation-fill-mode: forwards;
}

section:nth-child(2) {
	display: flex;
	flex-direction: column;
	padding: 8em 2em;
	gap: 2vh;
	background-color: var(--yellow);
}

section:nth-child(2)>h2 {
	margin: 0;
	font-size: 2.2em;
	font-weight: 500;
}

section:nth-child(2)>span {
	width: 100%;
	line-height: 2em;
	text-align: justify;
	font-size: 1.2em;
	letter-spacing: 0.05em;
}


section:nth-child(3) {
	display: flex;
	flex-direction: column;
	gap: 2vh;
}

section:nth-child(3)>h2 {
	margin: 0;
	font-size: 2.2em;
	font-weight: 500;
	margin-left: 2vw;
}

section:nth-child(3)>div {
	width: 100%;
	display: flex;
	justify-content: space-around;
}

section:nth-child(3)>div>div {
	margin: 20px;
	height: 300px;
}

section:nth-child(3)>div>.value {
	flex-grow: 1;
	font-size: 2.6em;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--red);
	border-radius: 5px;
}

section:nth-child(3)>div>.desc {
	flex-grow: 2;
	width: min-content;
	text-align: justify;
	height: 200px;
	padding: 50px;
	font-size: 1.2em;
	background-color: var(--black);
	color: white;
	display: flex;
	align-items: center;
	border-radius: 5px;
	line-height: 1.8em;
}

section:nth-child(4)>h2 {
	margin: 0;
	margin-left: 2vw;
	margin-bottom: 5vh;
	font-size: 2.2em;
	font-weight: 500;
}

.carousel-container {
	width: fit-content;
	padding: 10px 0;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid black;
	border-radius: 5px;
}

.carousel-container>svg {
	margin: 0 10px;
}

.carousel-slide {
	display: flex;
	flex-direction: column;
}

.carousel-slide>img {
	width: 500px;
	height: 400px;
	object-fit: cover;
	object-position: center center;
}

.carousel-slide>h5 {
	z-index: 2;
	font-size: 2em;
	margin: 0;
}

.carousel-slide>span {
	font-size: 1.2em;
	margin: 20px 0;
}

.carousel-button {
	cursor: pointer;
	padding: 3em;
	border-radius: 50%;
	transition-duration: 200ms;
}

.carousel-button:hover {
	background-color: var(--white);
}

article {
	width: 80%;
	margin: 15px 10%;
}

article:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

article:first-child>a {
	width: fit-content;
	padding: 10px;
}

article>h1 {
	font-size: 2.4em;
}

article:nth-child(2) {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

article:nth-child(2)>a {
	padding: 20px;
	width: 15vw;
	height: 15vw;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 1.5em;
	background-color: var(--black);
	color: white;
	justify-self: center;
	border-radius: 5px;
}

article:nth-child(3)>a {
	font-size: 1.5em;
	background-color: var(--yellow);
	padding: 40px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 5px;
}

.Service {
	display: flex
}

.Service>img {
	width: 500px;
}

.services {
	gap: 0px;
	display: flex;
	animation-name: fade-in;
	animation-duration: 250ms;
	animation-fill-mode: forwards;
}

.Apply {
	margin-top: 5vh;
}

.Apply>a {
	background-color: var(--red);
	padding: 10px 20px;
	font-weight: bold;
	border-radius: 5px;
}

.ServiceDescription {
	text-align: justify;
	line-height: 1.7em;
}

.ServiceContent {
	display: flex;
	flex-direction: column;
	width: 60%;
	margin: 0 0 0 10%;
}

form {
	background-color: #f9d949;
	padding: 40px;
	width: 30vw;
	display: flex;
	flex-direction: column;
	gap: 2vh;
	border-radius: 5px;
}

form>div {
	display: flex;
	gap: 2vw;
	justify-content: space-between;
}

form>div>input {
	width: 20vw;
}

form>input {
	background-color: var(--black);
	padding: 10px 20px;
	font-weight: bold;
	border-radius: 5px;
	border: none;
	color: white;
	cursor: pointer;
}

.ContactPage {
	width: 80%;
	margin: 0 10%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	animation-name: fade-in;
	animation-duration: 250ms;
	animation-fill-mode: forwards;
}

.ContactPage>h1 {
	margin-top: 5vh;
	font-size: 2.4em;

}

.ContactPage>section>div {
	display: flex;
	justify-content: start;
}

form>div>textarea {
	width: 20vw;
	height: 20vh;
	resize: vertical;
}

.Map {
	border: 1px solid black;
	border-radius: 5px;
}