/* Import fonts */
@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
	font-family: "Barlow", sans-serif;
	src: url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
}

:root {
	--biru: #012f7b;
	--merah: #ff0000;
	--biru-footer: #012f7b;

	--g-tracking-1: #002e7a;
	--g-tracking-2: #2895d0;

	--g-mengapa-1: #002d79;
	--g-mengapa-2: #2896d1;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 10px;
	font-family: "Barlow", sans-serif;
}

body {
	font-size: 1.6rem;
	position: relative;
}

body.nav-responsive {
	height: 100vh;
	overflow: hidden;
}

a {
	text-decoration: none;
	color: #fff;
}

section {
	padding: 6rem 8rem;
}

@media only screen and (max-width: 425px) {
	section {
		padding: 6rem 2rem;
	}
}

img {
	width: 100%;
}

/* Global styling */
.btn-red {
	background-color: var(--merah);
	padding: 1rem 3rem;
	font-weight: 700;
	border-radius: 0.8rem;
	/* border: 1px solid magenta; */
	transition: all 0.3s ease;
}

.btn-red:hover {
	background-color: red;
	color: white;
	transition: all 0.3s ease;
}

.backdrop {
	position: absolute;
	inset: 0;
	background-color: black;
	opacity: 0;
	z-index: 21;
	pointer-events: none;
	transition: all 0.3s ease;
}

.backdrop--active {
	opacity: 0.5;
	pointer-events: initial;
	transition: all 0.3s ease;
}

.login {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	z-index: 210;
	display: flex;
	justify-content: center;
	align-items: center;
	/* border: 1px solid blue; */
	transition: all 0.3s ease;
	width: 100%;
	max-width: 400px;
	height: 235px;
	padding: 0;
	opacity: 0;
	pointer-events: none;
	/* pointer-events: none; */
}

.login--active {
	display: block;
	opacity: 1;
	transition: all .3s ease;
	pointer-events: initial;
}

.login-wrapper {
	background-color: white;
	width: 100%;
	padding: 3rem;
	border-radius: 1rem;
}

.login-wrapper .login-title {
	font-size: 2rem;
	color: var(--biru);
	text-align: center;
	font-weight: 500;
	margin-bottom: 2rem;
}

.login-wrapper form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	/* border: 1px solid magenta; */
}

.login-wrapper .login-input {
	display: flex;
	align-items: center;
	gap: 2rem;
	width: 100%;
	/* border: 1px solid magenta; */
}

.login-wrapper .login-input label {
	min-width: 8rem;
	/* border: 1px solid magenta; */
}

.login-wrapper .login-input input {
	padding: 0.5rem;
	font-size: 1.6rem;
	border-radius: 0.5rem;
	/* border: 1px solid black; */
	width: 100%;
}

.login-wrapper form input[type="submit"] {
	padding: 1rem 3rem;
	font-weight: 700;
	border-radius: 0.8rem;
	outline: 0;
	border: 0;
	text-align: center;
	cursor: pointer;
	background-color: var(--merah);
	color: white;
	margin-top: 1rem;
}

@media only screen and (max-width: 1024px) {
	/* responsive navbar */
}

@media only screen and (max-width: 768px) {
	.header-menu-wrapper {
		display: none;
	}

	.header-btn-responsive {
		display: initial;
	}
}

@media only screen and (max-width: 425px) {
	.header {
		padding: 2rem;
	}

	.login {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media only screen and (max-width: 320px) {
	/* responsive navbar */
}

@media only screen and (max-width: 280px) {
	/* responsive navbar */
}


/* WHY STYLING */
.why {
	/* border: 1px solid magenta; */
	padding: 6rem 0;
	padding-top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(40deg, rgba(0,45,121,1) 0%, rgba(40,150,209,1) 100%);;
	color: white;
}

.why .why-line {
	width: 100%;
	height: 1rem;
	background-color: var(--merah);
	margin-bottom: 6rem;
}

.why .why-head {
	width: 100%;
	/* border: 1px solid magenta; */
	text-align: center;
	/* color: var(--biru); */
	margin-bottom: 4rem;
}

.why .why-head p {
	font-weight: 300;
}

.why .why-head .why-head__title {
	/* border: 1px solid magenta; */
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.why .why-items {
	display: flex;
	justify-content: center;
	/* border: 1px solid magenta; */
	gap: 3rem;
	padding: 0 8rem;
	width: 100%;
	flex-wrap: wrap;
}

.why .why-item {
	flex: 1;
	min-width: 190px;
	max-width: 25rem;
	min-height: 30rem;
	border: 1px solid white;
	border-radius: 1rem;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	padding: 2rem;
}

.why .why-item .why-item-image {
	width: 10rem;
	/* border: 1px solid magenta; */
}

.why .why-item .why-item-body {
	/* border: 1px solid magenta; */
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	text-align: center;
}

.why .why-item .why-item-body p:nth-child(1) {
	font-weight: 500;
}

.why .why-item .why-item-body p:nth-child(2) {
	font-weight: 300;
	font-size: 1.4rem;
	line-height: 2.5rem;
}

/* responsive */
@media only screen and (max-width: 1024px) {

}

@media only screen and (max-width: 768px) {

}

@media only screen and (max-width: 425px) {
	.why .why-head {
		padding: 0 2rem;
		margin-bottom: 4rem;
	}

	.why .why-head p span {
		display: none;
	}

	.why .why-head .why-head__title {
		font-size: 3rem;
	}

	.why .why-items {
		padding: 0 2rem;
	}
}

@media only screen and (max-width: 320px) {

}

@media only screen and (max-width: 280px) {

}

/* CTA STYLING */
.cta {
	/* border: 1px solid magenta; */
	padding: 0;
	position: relative;
}

.cta img {
	width: 100%;
	object-fit: cover;
}

.cta .cta-main {
	/* border: 1px solid magenta; */
	position: absolute;
	inset: 0;

	display: flex;
	justify-content: center;
	gap: 12rem;
	padding: 2rem 8rem;
}

.cta .cta-main-title {
	/* border: 1px solid blue; */
	display: flex;
	flex-direction: column;
	justify-content: center;

	font-size: 3.5rem;
	font-weight: bold;
	color: var(--biru);
}

.cta .cta-main-chat {
	/* border: 1px solid blue; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: .5rem;
	color: var(--biru);
	font-weight: 500;
}

.cta .cta-main-chat .cta-main-chat-button {
	padding: 1rem 6rem;
	font-size: 1.8rem;
	background-color: var(--biru);
	border-radius: 9rem;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
	.cta .cta-main-title {
		font-size: 3rem;
	}
}

@media only screen and (max-width: 768px) {
	.cta .cta-main {
		justify-content: initial;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2rem;
		padding: 6rem 8rem;
	}

	.cta .cta-main-title {
		text-align: center;
	}

	.cta img {
		width: 100%;
		object-fit: cover;
		height: 282px;
	}
}

@media only screen and (max-width: 540px) {
	.cta .cta-main {
		padding: 6rem 2rem;
	}

	.cta .cta-main-title span {
		display: none;
	}
}

@media only screen and (max-width: 320px) {

}

@media only screen and (max-width: 280px) {
	.cta .cta-main-title {
		text-align: center;
		font-size: 2.1rem;
	}

	.cta .cta-main-chat .cta-main-chat-button {
		padding: 1rem 4rem;
		font-size: 1.6rem;
	}
}

/* EKSPEDISI STYLING */
.ekspedisi {
	height: calc(320px + 8rem);
	width: 100%;
	/* position: relative; */
	/* border: 1px solid magenta; */
	padding: 4rem 8rem;
	/* position: absolute; */
	/* bottom: calc(-320px / 3.2 * 2); */
	/* bottom: calc(-400px / 2); */
	width: 100%;
	z-index: 1;
}

.ekspedisi .ekspedisi__image {
	background-size: cover;
	background-position: center;

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
}

/* Ketika background image card aktif */
.ekspedisi .ekspedisi__image--active {
	opacity: 1;
	transition: 1s ease;
}

.ekspedisi .ekspedisi__cards {
	display: flex;
	gap: 2rem;
	height: 100%;
	flex-wrap: wrap;
	z-index: 2;
}

.ekspedisi .ekspedisi__cards .card {
	flex: 1;
	padding: 2rem 3rem;
	background-color: var(--biru);
	border-radius: 3rem;

	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 1rem;
	cursor: pointer;
	transition: .3s ease;
	position: relative;
	overflow: hidden;
}

.ekspedisi .ekspedisi__cards .card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
}

.ekspedisi .ekspedisi__cards .card:hover {
	background-color: var(--biru);
	transition: .3s ease;
}

.ekspedisi .ekspedisi__cards .card .card__header {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 32px;
	transition: .3s ease;
	color: white;
	z-index: 1;
	/* border: 1px solid white; */
}

.ekspedisi .ekspedisi__cards .card .card__header .card__title {
	font-size: 2rem;
	font-weight: bold;
}

.ekspedisi .ekspedisi__cards .card .card__link {
	color: black;
	text-decoration: none;
	transition: .3s ease;
}

.ekspedisi .ekspedisi__cards .card .card__link:hover {
	color: blue;
	transition: .3s ease;
}

/* Ketika card aktif */
.ekspedisi .ekspedisi__cards .card--active {
	flex: 2;
	background-color: var(--biru);
	cursor: unset;
	transition: .3s ease;
	padding: 3rem;
}

.ekspedisi .ekspedisi__cards .card--active:hover {
	background-color: var(--biru);
}

.ekspedisi .ekspedisi__cards .card--active .card__header {
	height: 95px;
	transition: .3s ease;
	/* border: 1px solid white; */
}

/* responsive */
@media only screen and (max-width: 768px) {
	.ekspedisi {
		height: 700px;
		padding: 0 8rem;
		bottom: calc(-900px / 2);
	}

	.ekspedisi .ekspedisi__cards {
		flex-direction: column;
	}

	.layanan-image {
		min-height: 800px; 
	}

	.layanan-wrapper {
		padding: 0 8rem;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
	}

	.layanan-desc p span {
		display: none;
	}

	.platform {
		padding-top: calc((900px / 2) + 6rem) !important;
	}
}

@media only screen and (max-width: 540px) {
	.layanan-image {
		min-height: 1100px; 
	}
}

@media only screen and (max-width: 425px) {
	.ekspedisi {
		padding: 0 2rem;
	}

	.layanan-wrapper {
		padding: 0 2rem;
	}

	.layanan-wrapper .layanan-title {
		margin-top: 10rem;
	}
}

@media only screen and (max-width: 320px) {

}

@media only screen and (max-width: 280px) {

}
