:root {
  --primary-blue: #0077be;
  --dark-blue: #004d7a;
  --light-blue: #e6f3fa;
  --dark-bg: #0a0e1a;
  --light-bg: #f8f9fa;
  --text-dark: #333;
  --text-light: #fff;
  --gray: #6c757d;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem 2rem;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  /* Empty logo div as in original */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

/* Hide the new navbar structure */
.navbar {
  display: none;
}

/* Hero Section - Full Window */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;  /* Adjust this to position the ship */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  max-width: 90%;
  width: 800px;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  letter-spacing: 3px;
  font-weight: bold;
}

.aboutUs {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

/* Main Content */
.main-content {
  min-height: 100vh;
}

/* Bottom Bar - Simple transparent div */
.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

/* Trusted by text */
.trusted-text {
  color: white;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Logo container wrapper */
.logo-wrapper {
  display: flex;
  gap: 3rem;
  align-items: center;
}

/* Logo container - all same size! */
.logo-item {
  width: 150px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo styling - fit within container */
.bottom-bar img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}


/* Footer - Hidden on homepage */
.footer {
  display: none;
}

/* Show footer on other pages */
body.page-team .footer,
body.page-contact .footer {
  display: block;
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left p {
  margin: 0;
}

.footer-center {
  text-align: center;
}

.footer-center a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 1rem;
}

.footer-center a:hover {
  color: var(--primary-blue);
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: var(--primary-blue);
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* Mobile footer */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-right {
    text-align: center;
  }
}

/* Team Page */
.team-hero {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.team-member {
  padding: 5rem 0;
}

.member-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  background: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 1000px;
  margin: 0 auto;
}

.member-image img {
  width: 100%;
  border-radius: 10px;
}

.member-info h2 {
  color: var(--dark-bg);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.member-info h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.member-bio p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.member-expertise {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.member-expertise h4 {
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.member-expertise ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.member-expertise li {
  padding-left: 1.5rem;
  position: relative;
}

.member-expertise li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
}

/* Contact Page */
.contact-hero {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 8rem 0 4rem;
  text-align: center;
}

.contact-content {
  padding: 5rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 0 2rem;
}

.contact-info h2,
.contact-form h2 {
  color: var(--dark-bg);
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--primary-blue);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-bg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.submit-button {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--dark-blue);
}

/* 404 Page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.error-message {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .aboutUs {
    font-size: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  .member-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .member-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}