/* vaariables */
:root {
	--breakpoint-sm: 576px;
	--breakpoint-lg: 992px;
	--breakpoint-xl: 1200px;
}

@media only screen and (max-width: 576px) {
	:root {
		--breakpoint-sm: 576px;
		--breakpoint-lg: 992px;
		--breakpoint-xl: 1200px;
	}
}

html {
	scroll-behavior: smooth;
	font-size: 20px;
	font-weight: 500;
}

@media only screen and (max-width: 576px) {
	html {
		font-size: 10px;
	}
}

body {
	margin: 0px;
	font-size: 16px;
	background-color: #14234e;
	--header-h: 77px;
	--linewidth: 8px;
	font-family: "DM Sans", sans-serif;
	overscroll-behavior: none;
}

.container {
	box-sizing: border-box;
	padding: 0 5.4rem;
}

a {
	text-decoration: none;
	color: inherit;
}

#menu {
	z-index: 2;
	height: var(--header-h);
	display: flex;
	align-items: center;
	position: fixed;
	width: 100%;
	top: 0;
	padding-top: 24px;
	padding-bottom: 24px;
	background-color: #01030766;
}

#logo {
	margin-right: auto;
	transition: opacity 0.5s ease;
}

#logo-container {
	position: relative;
	z-index: 2;
	width: 126px;
	margin-right: auto;
}

#logo-container svg {
	user-select: none;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hidden {
	visibility: hidden;
	opacity: 0;
}

nav {
	display: flex;
	gap: 3.2rem;
	font-size: 1.125rem;
	line-height: 1;
	color: white;
}

nav a {
	transition: color 0.3s ease;
}

nav a:hover {
	color: #00e8ac;
}

.nav__button {
	display: none;
}

section {
	display: contents;
}
div {
	/* scroll-margin-top: var(--header-h); */
}

#home {
	display: block;
	height: 100vh;
	background-image: url("hero-photo.png");
	background-size: cover;
}

.home__container {
	padding-top: 13rem;
}

#home h1 {
	display: block;
	margin: 0;
	font-size: 5.8rem;
	line-height: 1;
	font-weight: 500;
	color: white;
}

.mission-id-container {
	height: 80px;
	border-left: 4px solid #26cbab;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 180px;
}

.mission-id-text {
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 5%;
	text-transform: uppercase;
	line-height: 19px;
	font-family: "DM Mono";
}

#mission1 {
	margin: 124px 108px 0 108px;
	position: relative;
	color: white;
	padding-top: 32px;
	border: 1px solid transparent;
}
.mission__wrap {
	padding-top: 120px;
	background-color: #020e27;
}

#mission1-text {
	display: flex;
	flex-direction: row;
}

.description-container {
	flex: 1;
}

.description-container p {
	margin-block: 0px;
	/* max-width: 520px; */
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.7;
}

#mission1-phrase {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 32px;
	padding-right: 80px;
	padding-bottom: 110px;
}

.time-header {
	font-size: 3.25rem;
	min-width: 5ch;
	margin-top: 0px;
	margin-bottom: 0px;
	letter-spacing: -3%;
	line-height: 2.6rem;
}

#cursor {
	display: inline-block;
	width: 0.7ch;
	height: 1ch;
	background-color: #26cbab;
}

#strike {
	border-top: double;
	position: relative;
	top: -1rem;
	padding-top: 1rem;
	left: -15rem;
	color: cadetblue;
	width: 0px;
	/*to limit strike*/
}

#td {
	display: block;
	flex: 1;
	box-sizing: border-box;
}

.time-header-container {
	padding-left: 103px;
}

#mission1-image {
	height: 686px;
	background-image: url("mission.png");
	background-size: cover;
	background-position: bottom;
	display: flex;
	justify-content: center;
}

#statistics-card {
	align-self: flex-end;
	width: 90%;
	margin: -100px auto 0 auto;
	height: 325px;
	display: flex;
	background-color: #14234e;
}

.card {
	display: flex;
	flex-direction: column;
	width: calc(100% / 3);
	box-sizing: border-box;
	padding-inline: 64px;
	justify-content: center;
	gap: 16px;
	background: #020e27;
}

.card svg {
	width: 55px;
}
.card p {
	margin-block: 0px;
	font-size: 2.25rem;
	line-height: 1;
	font-weight: 700;
}
.card .green-text {
	color: #00e8ac;
	font-weight: 400;
	font-size: 1.5rem;
	margin-bottom: 8px;
}
.card .description {
	font-size: 0.9rem;
	color: white;
	font-weight: 400;
}

#mission2 {
	height: 800px;
	margin-top: 314px;
	border: 1px solid transparent;
}

#mission2 div {
	margin: 0px 108px;
	margin-top: 118px;
	height: calc(100% - 118px);
	background-color: white;
}
#mission-photo {
	background-image: url("hannah-cauhepe-im7Tiw1OY7c-unsplash-crop2.jpg");
	background-size: cover;
	background-position: center;
}
#mission-photo {
	background-color: aquamarine;
	height: 300px;
	margin: 0px;
}
#mission-stats-cont {
	margin: 0px;
	display: flex;
	justify-content: space-around;
	height: unset;
	background-color: grey;
}
.stat-box {
	background-color: inherit;
	margin: 40px;
	text-align: center;
}
.stat-box h3 {
	font-size: 4rem;
	margin: auto;
}
.stat-box p {
	max-width: 18ch;
	margin: auto;
}

.services {
	margin-top: 120px;
}
.services .content {
	background: #e3e9fe;
	padding-top: 32px;
	padding-bottom: 120px;
}
.services h2 {
	font-size: 3.25rem;
	font-weight: 700;
	line-height: 3.1rem;
	margin-left: 4.5rem;
	color: #16285c;
}
.services__grid {
	display: grid;
	width: auto !important;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, auto);
	width: 100%;
	column-gap: 24px;
	row-gap: 32px;
	margin-left: 4.5rem;
}
.services__grid-item p {
	max-width: 500px;
	margin: 0;
}
.services ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.services li {
	margin-bottom: 32px;
}
.services h3 {
	font-size: 2rem;
	font-weight: 500;
	line-height: 100%;
	color: #16285c;
	margin-bottom: 8px;
	margin-top: 0px;
}
.services p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: #16285c;
}

#services {
	display: block;
}

#services1 {
	height: 500px;
	display: flex;
	align-items: flex-start;
	justify-content: space-evenly;
}

#services1 div {
	flex: 4;
	padding-left: 200px;
}
#services1 h1 {
	font-size: 3rem;
}
#services1 ul {
	padding: 15px;
}
#services1 li {
	list-style: circle;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 2;
}
#service-photo {
	background-image: url("thisisengineering-fr5h_07OrPI-unsplash.jpg");
	background-size: cover;
	flex: 6;
	height: 100%;
	background-position: center;
}

#services2 {
	padding-top: 232px;
	background-color: #010d25;
	background-image: url("train-line.png");
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
}

#services2 h2 {
	max-width: 21ch;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: white;
	margin: 0 0 32px 0;
}
#services2 p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: white;
	max-width: 500px;
}
#services2 .services2__wrap {
	width: 100%;
	display: flex;
}
#services2 .services2__content {
	width: 50%;
	padding: 4.5rem 4.5rem 2.25rem 4.5rem;
	background-color: rgba(1, 13, 37, 0.87);
}
#services2 .services2__image {
	width: 50%;
	flex-shrink: 0;
	flex-grow: 0;
}
#services2 .services2__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#services3 {
	background-color: #010d25;
}

#services3 .services3__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, auto);
	width: 100%;
	margin-bottom: -100px;
	gap: 0;
	background-color: #f7fbff;
	color: #010d25;
}
#services3 .services3__grid-item {
	padding: 40px;
	color: #010d25;
	background-color: #f7fbff;
}
#services3 .services3__grid-item:nth-child(2) {
	background-color: #f0f4f9;
}
#services3 .services3__grid-item svg {
	margin-bottom: 24px;
}
#services3 h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #010d25;
	margin-top: 0;
	margin-bottom: 24px;
}
#services3 p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #010d25;
}

/* CTA section */
/* .cta {
    display: block;
    background-color: #14234E;
    padding-top: 238px;
    padding-bottom: 120px;

    .cta__wrap {
        display: flex;
        width: 100%;
        background-color: #010D25;
    }

    .cta__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 50%;
        padding: 4.5rem 2.25rem 2.25rem 4.5rem;
        color: white;
    }

    h2 {
        font-size: 52px;
        font-weight: 700;
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 16px;
    }

    p {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 54px;
    }

    .cta__button {
        display: inline-block;
        padding: 16px 24px;
        font-size: 18px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.03em;
        color: #010D25;
        background-color: #26CBAB;
        border: 1px solid #26CBAB;
        border-radius: 4px;
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    .cta__button:hover {
        color: #26CBAB;
        background-color: #010D25;
    }
    
    .cta__image {
        width: 50%;
        height: auto;
        flex-grow: 0;
        flex-shrink: 0;
    }
    
    .cta__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
} */

/* Contact section */
.contact {
	display: block;
	background-color: #14234e;
	padding-top: 238px;
	padding-bottom: 54px;
}

.contact__wrap {
	display: flex;
	padding: 4.5rem;
	background-color: #f0f4f9;
}
.contact__content {
	width: 50%;
	color: #010d25;
	padding-right: 2.25rem;
}
.contact h2 {
	font-size: 52px;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 74px;
}
.contact p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	max-width: 450px;
}
.contact__form {
	width: 50%;
}
form {
	width: 100%;
	display: flex;
	flex-direction: column;
}
label {
	display: block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	margin-bottom: 16px;
}
input:focus {
	outline: 1px solid #010d25;
}
textarea {
	height: 120px;
	resize: none;
}
input[type="text"],
select,
textarea {
	display: inline-block;
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: white;
	margin: 0px 0px 16px 0px;
	box-sizing: border-box;
	font-size: 1rem;
}
input:focus,
select:focus,
textarea:focus {
	outline: 1px solid #010d25;
}
input[type="submit"] {
	width: auto;
	padding: 16px 24px;
	margin: 60px 0 0 auto;
	background-color: #00e8ac;
	color: #010d25;
	border: 1px solid #26cbab;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	transition: color 0.3s ease, background-color 0.3s ease;
}
input[type="submit"]:hover {
	background-color: #010d25;
	color: #00e8ac;
}

#footer {
	display: block;
	background-color: #010d25;
	padding-top: 68px;
	padding-bottom: 24px;
}

#footer .footer__container {
	display: flex;
	gap: 24px;
}
.foter__left {
	width: 100%;
}
.footer__tag {
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	margin-top: 16px;
	margin-bottom: 32px;
	color: white;
}
.footer__p {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.4);
	margin: 0;
}
.footer__right {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: calc(100% / 12 * 8);
}
.footer__right-col {
	min-width: 170px;
}
.footer__cta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-bottom: 60px;
	color: white;
	font-family: Inter;
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
	transition: color 0.3s ease;
}
.footer__cta:hover {
	color: #00e8ac;
}
.footer__cta span {
	font-weight: 600;
}
#footer ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#footer li {
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	color: white;
	margin-bottom: 8px;
}
#footer li a {
	font-weight: 400;
	transform: color 0.3s linear;
}
#footer li a:hover {
	color: #00e8ac;
}

/* Tablet */
@media only screen and (max-width: 992px) {
	.container {
		padding: 0 24px;
	}

	nav {
		position: absolute;
		display: flex;
		flex-direction: column;
		width: 100%;
		top: -500px;
		left: 0;
		padding: 100px 24px 32px 24px;
		gap: 24px;
		background-color: #020e27;
        font-size: 24px;
		transition: top 0.3s ease-out;
	}
	nav.active {
		top: 0px;
	}


	.nav__button {
		all: unset;
		position: relative;
		z-index: 2;
		display: block;
		width: 24px;
		height: 24px;
		background-color: transparent;
		background-image: url("nav-menu-icon.svg");
		background-position: center;
		background-repeat: no-repeat;
	}
	.nav__button.active {
		background-image: url("close-menu-icon.svg");
	}

	#home h1 {
		font-size: 40px;
	}

	#mission1 {
		margin: 3.5rem 24px 0 24px;
		padding-top: 3.2rem;
	}

	#mission1-image {
		background-image: url("mission-mobile.png");
		width: 100%;
		height: 400px;
		object-fit: cover;
		object-position: bottom;
	}
	#mission .time-header {
		font-size: 32px;
	}
	#mission1-text {
		flex-direction: column;
	}
	#mission .mission__wrap {
		padding-top: 32px;
	}
	#td .time-header-container {
		padding-left: 0;
	}
	#mission1-phrase {
		padding: 24px;
		justify-content: flex-start;
		height: unset;
	}
	#statistics-card {
		flex-direction: column;
		width: 100%;
		height: auto;
		padding: 0 0;
		margin: 0;
	}
	#statistics-card .card {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 0.8rem;
		width: 100%;
		box-sizing: border-box;
		padding: 32px 40px;
		margin-bottom: 0;
	}
	#statistics-card h1 {
		font-size: 4rem;
		font-weight: 700;
	}
	#statistics-card p {
		font-size: 40px;
	}
	#statistics-card .green-text {
		color: #00e8ac;
		font-weight: 400;
		font-size: 32px;
		line-height: 1.2;
	}
	#statistics-card .description {
		font-size: 18px;
		color: white;
		font-weight: 400;
	}
	#statistics-card svg {
		width: 40px;
	}

	.mission-id-container {
		position: static;
		justify-content: flex-start;
		padding-left: 2.4rem;
		width: unset;
		height: 3.2rem;
	}

	.mission-id-text {
		font-size: 1rem;
	}

	.description-container {
		width: 100%;
	}

	#mission1 #mission1-text .description-container p {
		font-size: 18px;
		line-height: 1.6;
		max-width: none;
	}

	.services {
		margin-top: 56px;
	}

	.services h2 {
		font-size: 32px;
		margin-left: 24px;
	}
	.services__grid {
		width: auto;
		margin-left: 0px;
		padding: 0 24px 0 24px;
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(3, auto);
	}
	.services__grid-item p {
		font-size: 18px;
	}
	.services3__grid-item p {
		max-width: none;
	}
	.services h3 {
		font-size: 20px;
	}
	.services li {
		margin-bottom: 16px;
	}
	.services .content {
		padding-bottom: 0px;
	}
	.services .services2__wrap {
		flex-direction: column;
	}

	#services2 {
		padding-top: 56px;
	}

	#services2 .services2__wrap {
		flex-direction: column;
	}
	#services2 .services2__content {
		width: auto;
		padding: 32px 24px;
	}
	#services2 h2 {
		max-width: none;
		font-size: 24px;
	}
	#services2 p {
		max-width: none;
		font-size: 18px;
	}
	#services2 .services2__image {
		width: auto;
	}

	#services3 .services3__grid {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(3, auto);
	}
	#services3 .services3__grid-item {
		padding: 32px 24px;
	}
	#services3 h2 {
		font-size: 20px;
	}
	#services3 p {
		font-size: 18px;
	}

	.contact {
		padding-top: 124px;
	}

	.contact__wrap {
		flex-direction: column;
		padding: 32px 24px;
	}
	.contact__content {
		width: auto;
		padding-right: 0;
		margin-bottom: 32px;
	}
	.contact h2 {
		margin-bottom: 32px;
		font-size: 32px;
	}
	.contact p {
		max-width: none;
		font-size: 18px;
	}
	.contact__form {
		width: auto;
	}
	label {
		font-size: 14px;
	}
	input[type="text"],
	select,
	textarea {
		font-size: 16px;
		padding: 12px 12px;
	}
	input[type="submit"] {
		margin: 32px auto 0 0;
		padding: 12px 24px;
		font-size: 16px;
	}

	.footer__container {
		flex-direction: column;
	}
	.footer__tag {
		font-size: 14px;
		margin-top: 8px;
		margin-bottom: 0px;
	}
    .footer__p {
        font-size: 16px;
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
	#home {
		background-image: url("hero-mobile.png");
	}
}
