html {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #000010; /* Safe default background color */
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Stops horizontal scrolling issues */
  
  /* CRUCIAL FIX: Ensures the body background doesn't step over your absolute video */
  background: transparent; 
}


.video-background-container {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	background-color: #000000;
	overflow: hidden;
}

.bg-video {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

body {
	background-color:#161833;
	font-family: 'JetBrains Mono', monospace;
}

.home {
  position: relative;
  width: 100%;
  height: 100vh; /* Fills exactly 100% of the viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  
  /* CRUCIAL FIX: Creates a locked layer boundary so nothing below can slide over it */
  z-index: 1; 
}


#transition-overlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #161833;
  z-index: 9999;
  pointer-events: none;
}

#transition-overlay.animate {
  animation: sweepUp 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes sweepUp {
  0% {
    bottom: -100%;
    height: 100%;
  }
  50% {
    bottom: 0;
    height: 100%;
  }
  100% {
    bottom: 100%;
    height: 0%;
  }
}


/* ======================================================================== */
/* ================================ NAVBAR ================================ */
/* ======================================================================== */
.navbar {
	border-bottom: 1px solid #BBBBBB;
	background-color: rgba(0, 0, 16, 0.6);
	position: fixed;
	width: 100%; 
	left: 0;
	top: 0;
	z-index: 100;
	display: flex;
	justify-content: space-between; 
	align-items: center;
	padding: 10px 20px;
	box-sizing: border-box;
}

.navbar-logo img {
	height: 40px;
	width: auto;
	display: block;
}

.navbar-links {
	margin-left: 20px;
	color: #333333;
	font-weight: 500;
	display: flex;
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
	list-style: none;
}

.nav-link {
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	color: white;
	padding: 0;
	margin: 0px 30px;
	position: relative;
}

.nav-link:hover {
	opacity: 1;
}

.nav-link::before {
	transition: 300ms;
	height: 3px;
	content: "";
	position: absolute;
	background-color: #4C627A;
}

.nav-link-ltr::before {
	width: 0%;
	bottom: -5px;
}

.nav-link-ltr:hover::before {
	width: 100%;
}

/* ======================================================================== */
/* ================================= HOME ================================= */
/* ======================================================================== */
.hero-text-wrapper {
	font-family: 'JetBrains Mono', monospace;
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	text-align: left;
	height: 100vh;
	width: 100%;
	padding-left: 8%;
	padding-bottom: 10vh;
	box-sizing: border-box;
}

.hero-audience {
	color: #FFFFFF;
	font-size: clamp(2rem, 4vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 15px 0;
	letter-spacing: -1px;
}

.hero-motto {
	color: #FFFFFF;
	font-size: clamp(1.1rem, 1.8vw, 1.5rem);
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 12px 0;
	opacity: 0.9;
}

.scroll-indicator {
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	color: #A3D2E2FF; 
	cursor: pointer;
	transition: opacity 0.2s ease;
	text-decoration: none;
}

.scroll-indicator:hover {
	opacity: 0.8;
}


/* ======================================================================== */
/* ================================ SERCIES =============================== */
/* ======================================================================== */

.services-section {
	font-family: 'JetBrains Mono', monospace;
	padding: 100px 8%;
	background-color: #FFFFFF;
	box-sizing: border-box;
}

.services-summary {
	color: #111111;	
	font-family: 'JetBrains Mono', monospace;
	font-size: clamp(1.5rem,4.5vw,3rem);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.05em;
	text-align: left;
	max-width: 90%;
	margin-top: 2vh;
	margin-left: 4vh;
	margin-bottom: 30vh;
	
}

.services-title {
	font-size: 2.9rem;
	text-transform: uppercase;
	text-align: left;
	letter-spacing: 4px;
	margin-bottom: 60px;
	font-weight: 700;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
	gap: 60px;
	margin-bottom: 10vh;
}

.service-card {
	border-top: 1px solid rgba(0, 0, 0, 0.15); 
	padding-top: 25px;
	display: flex;
	flex-direction: column;
}

.service-header {
	color: #111111; 
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 15px 0;
	letter-spacing: -0.5px;
}

.service-text {
	color: #333333; 
	font-size: 1.05rem;
	line-height: 1.6;
	font-weight: 400;
	margin: 0;
}

.commitments-section {
	padding: 80px 5%;
	background-color: #FFFFFF;
	box-sizing: border-box;
	font-family: 'JetBrains Mono', monospace;
}

.commitments-title {
	font-size: 2.9rem;
	text-transform: uppercase;
	text-align: left;
	letter-spacing: 4px;
	margin-bottom: 50px;
	font-weight: 700;
	padding-left: 15px;
}

.commitments-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.commitment-item {
	padding: 30px 15px;
	background-color: #FFFFFF;
	border-bottom: 1px solid #E0E0E0; 
	display: flex;
	flex-direction: column;
}

.commitment-item:last-child {
	border-bottom: none;
}

.commitment-header {
	color: #111111;
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	letter-spacing: -0.5px;
}

.commitment-text {
	color: #555555;
	font-size: 0.95rem;
	line-height: 1.6;
	font-weight: 400;
	margin: 0;
}

@media (min-width: 1024px) {
	.commitments-grid {
		grid-template-columns: repeat(5, 1fr); 
	}
	
	.commitment-item {
		border-bottom: none; 
		border-right: 1px solid #E5E5E5; 
		padding: 0 25px;
		min-height: 200px;
	}
	
	.commitment-item:last-child {
		border-right: none;
	}
}

/* ======================================================================== */
/* ================================ CONTACT =============================== */
/* ======================================================================== */
.contact {
	height:100vh;
	margin-left: -2vw;
	background-image: url(../img/ship7.jpg);
	background-size: 102vw 100vh;
}

.contact-box {
	position: relative;
	top: 10vh;
	left: 30vw;
	height:650px;
	width:800px;
	background-color: rgba(0, 0, 16, 0.8);
    /*background-color:#0C0C0C;*/
	color: white;
}

.contact-icon {
	width: 25%;
	height: auto;
}

.row-picture {
	padding: 15px;
	display: flex;
}

.column-picture {
	flex: 33.33%;
	padding: 5px;
	text-align: center;
}

.section-title {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 20px; 
}

.form-text-area {
	height: 200px;
}

.form-submit-btn {
	cursor: pointer;
	padding: 10px 20px;
	font-weight: bold;
}

input[type="text"], input[type="email"], select, textarea {
	width: 80%;
	padding: 12px;
	display:block;
	border: 1px solid #ccc;
	background-color: #141414;
	border-radius: 4px;
	outline: none;
	border-color: #BC9864;
	box-sizing: border-box;
	margin:auto;
	margin-top: 8px;
	color: white;
	opacity:1;
	resize: none;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1px; /* Slight breathing room below the textarea bottom line */
}

/* Transform the button into minimalist text */
.form-submit-text-btn {
  background: none;        /* Remove background box */
  border: none;            /* Remove button borders */
  padding: 10px 0;         /* Remove default button padding padding */
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;     /* Subtle elegant spacing between characters */
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Elegant color change when hovering over the send text */
.form-submit-text-btn:hover {
  color: #4C627A; /* Highlights blue to match your brand accent */
}



/***************************** NEW *****************/
.contact-section {
  width: 100%;
  background-color: #161833; /* Dark premium corporate aesthetic */
  padding: 100px 20px;
  box-sizing: border-box;
}

/* Flex Container splitting Left & Right columns */
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* Left side styling: Huge, bold typography */
.contact-left-col {
  flex: 1;
}

.contact-display-message {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

/* Right side styling: Clean stacked rows */
.contact-right-col {
  flex: 1.2; /* Gives the form a tiny bit more room than the text */
  width: 100%;
}

.contact-split-form {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Consistent spacing between input fields rows */
}

.form-row {
  width: 100%;
}

.contact-split-form input,
.contact-split-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 2px 0px;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid rgba(187, 187, 187, 0.4);
	color: white;
	font-family: 'JetBrains Mono', monospace;
	font-size: 14px;
	border-radius: 0;
	outline: none;
	transition: border-bottom-color 0.3s ease;
}

.contact-split-form input:focus,
.contact-split-form textarea:focus {
	border-bottom: 1px solid #4C627A;
}

.contact-split-form textarea {
	min-height: 120px;
	resize: vertical;
}

.form-submit-btn {
  background-color: #4C627A;
  color: white;
  border: none;
  padding: 15px 30px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
  background-color: #3b4d61;
}

/* Mobile responsive optimization: Stack them vertically on smaller monitors */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }
  .contact-display-message {
    font-size: 32px;
  }
}

.thin-gray-line {
  border: 0;
  height: 1px;
  background-color: #37384E;
  width: 100%;
  margin: 40px 0;
}


/* ======================================================================== */
/* ================================ FOOTER ================================ */
/* ======================================================================== */

footer {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	padding: 40px 10% 40px 10%; 
	background-color: #161833;
	font-family: 'JetBrains Mono', monospace;
}


.footer-columns {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 20px;
	color: #bbbbbb;
}

.col {
	flex: 1;
}

.footer-bottom {
	border-top: 1px solid rgba(187, 187, 187, 0.2);
	padding-top: 20px;
	display: flex;
	flex-direction: column; /* This forces Row 1 and Row 2 to stack vertically */
	width: 100%;
}

.footer-row-split {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.footer-bottom-left p {
	margin: 0;
	font-size: 15px;
	color: #bbbbbb;
}

/* Force this container to stick to the absolute right side */
.footer-bottom-right {
	display: flex;
	gap: 30px;
}

.footer-legal-link {
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: white;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.footer-legal-link:hover {
	color: #4C627A;
}

.footer-link-row {
	margin-top: 15px;
	width: 100%;
}

.footer-link-row p {
	margin: 0;
	font-size: 15px;
	color: #888888;
}

.footer-link-row a {
	color: #888888;
	text-decoration: none;
}

.footer-link-row a:hover {
	color: white;
	text-decoration: none;
}

@media (max-width: 768px) {
	.footer-columns {
	flex-direction: column;
}

.footer-bottom {
	flex-direction: column;
	text-align: center;
}

.footer-bottom-right {
	justify-content: center;
	width: 100%;
  }
}

.link-separator {
  margin: 0 10px;
}