body {
	background-color: #07101B;
	color: #fff;
	font-family: "Work Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	padding: 32px;
	line-height: 125%;
}
a, a:hover, a:active {
	color: #fff;
}
div {
	box-sizing: border-box;
}
h1 {
	margin: 0;
}
main {
	max-width: 1400px;
	margin: 0 auto;
}
.btn {
	display: inline-block;
	border-radius: 200px;
	background-color: rgba(51, 0, 153, 0.01);
	text-decoration: none;
	padding: 16px 48px;
	border: 0.5px solid #fff;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn:hover {
	background-color: rgba(51, 0, 153, 0.8);
}

/* utility */

.display-flex {
	display: flex;
}
.flex-direction-row {
	display: flex;
	flex-direction: row;
}
.flex-direction-col {
	display: flex;
	flex-direction: column;
}
.disabled {
	opacity: 0.6 !important;
}

/* header */

header {
	gap: 40px;
	font-size: 14px;
}
header .logo img {
	height: 26px;
	width: auto;
}
header a {
	text-decoration: none;
	font-weight: 500;
}
header .wing-left a,
header .wing-right a {
	opacity: 0.6;
}
header .wing-left > a,
header .wing-left > ul > li > a,
header .wing-right a {
	padding: 4px 0;
}
header .wing-left a:hover,
header .wing-right a:hover {
	opacity: 1;
}
header .wing-left, header .wing-right {
	flex: 1;
	gap: 40px;
	align-items: center;
}
header .logo {
	flex: 0 0 auto;
	text-align: center; 
	align-items: center;
	display: flex;
}
header .wing-left {
	display: flex;
	justify-content: flex-start;
}
header .wing-right {
	display: flex;
	justify-content: flex-end;
}
header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
header ul ul {
	position: absolute;
	display: none;
	background-color: rgba(0,0,0,0.1);
	padding: 0 16px;
	border-radius: 8px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	left: 16px;
	border: 0.5px solid rgba(255,255,255,0.1);
}
header ul ul a {
	padding: 16px 0;
	display: block;
}
header ul ul li + li a {
	border-top: 0.5px solid rgba(255,255,255,0.1);
}
header ul:hover ul {
	display: block;
}
header .wing-left > ul:hover > li > a,
header ul:hover svg {
	opacity: 1;
}
header .wing-left > ul {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 10;
}
header .wing-left svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}
header .wing-left > ul > li > a {
	display: flex;
	align-items: center;
	
}

/* hamburger */

  .hamburger {
	display: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	z-index: 1000;
	position: relative;
  }

  .hamburger span {
	width: 30px;
	height: 3px;
	background: #fff;
	border-radius: 2px;
	transition: 0.3s ease;
	opacity: 0.6;
  }

  .mobile-menu {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #07101B;
	z-index: 999;
	justify-content: center;
	align-items: center;
	transform: translateX(100%); 
	transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
  }

  .mobile-menu ul {
	list-style: none;
	padding: 0 32px;
	text-align: left;
  }
  .mobile-menu li + li {
	  border-top: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-menu a {
	display: block;
	font-size: 24px;
	line-height: 125%;
	font-weight: 700;
	padding: 16px !important;
	text-decoration: none;
  }

  .mobile-checkbox:checked ~ .mobile-menu {
	transform: translateX(0);
  }

  .mobile-checkbox:checked + .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .mobile-checkbox:checked + .hamburger span:nth-child(2) { opacity: 0; }
  .mobile-checkbox:checked + .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  
  .mobile-checkbox:checked + .hamburger {
	  position: fixed;
	  top: 32px; /* Adjust to match your page padding */
	  right: 32px;
	  z-index: 1001; /* Keep it above the .mobile-menu (999) */
  }

/* hero */

.hero {
	background-size: cover;
	width: 100%;
	box-shadow: 0 1px 3px rgba(255,255,255,0.15), 0 0 100px #000;
	padding: 80px 40px;
	margin: 40px 0;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: calc(100vh - 140px);
	position: relative;
	overflow: hidden;
	background-image: url('/avantis-bg.jpg');
}
.hero.home {
	background-image: none;
}
.hero-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero.home::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
	z-index: 1; 
	pointer-events: none; 
}

.hero h1, 
.hero p {
	position: relative;
	z-index: 2;
}
.hero h1 {
	font-size: clamp(38px, 10vw, 120px);
	font-style: italic;
	font-weight: 900;
	line-height: 80%;
	letter-spacing: -3px;
}
.hero p {
	max-width: 680px;
}

/* cards */

.card {
	overflow: hidden;
	border-radius: 32px;
}

/* spec-group */

.spec-group {
	gap: 56px;
	max-width: 800px;
	margin: 0 auto;
}

.spec-text {
	flex: 1;
}
.spec-image {
	flex: 0 0 250px;
}
.spec-group img {
	max-width: 100%;
	margin-bottom: 80px;
	border-radius: 16px;
	border: 16px solid #fff;
	box-sizing: border-box;
}
.rates {
	width: 100%;
	box-shadow: 0 1px 3px rgba(255,255,255,0.15), 0 0 100px #000;
	padding: 80px 40px;
	margin: 40px 0;
	position: relative;
}
.rates::after {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), url(/avantis-bg.jpg);
	filter: blur(8px);
	transform: scale(1.1); /* To hide the fuzzy edges */
	z-index: -1;
}

/* footer */

footer {
	align-items: center;
	gap: 40px;
}

/* media queries */

@media screen and (max-width: 1100px) {
	.tablet-hide {
		display: none !important;
	}
	.hamburger {
		display: flex;
	}
	.mobile-menu a {
	  padding: 20px !important;
  	}
}
@media screen and (max-width: 640px) {
	body {
		padding: 16px;
	}
	main ul {
		padding-left: 16px;
	}
	.mobile-hide {
		display: none !important;
	}
	.flex-direction-row:not(header) {
		flex-direction: column;
	}
	header .logo img {
		height: 22px;
	}
	.rates, .hero {
		padding: 24px;
	}
	.hero h1 {
		letter-spacing: 0;
	}
	.spec-group {
		gap: 8px;
  	}
	.hero {
		background-position: top;
		min-height: calc(62vh - 140px);
	} 
	.mobile-menu a {
	  padding: 16px !important;
    }
	.rates {
		margin-top: 0;
	}
}