:root {
  --navy: #071b2f;
  --deep-blue: #0d3559;
  --sea-blue: #146b8c;
  --sand: #f4ead8;
  --paper: #fffdf8;
  --text: #17202a;
  --muted: #5d6d7e;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(7, 27, 47, 0.18);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
  border-radius: 16px;

  
  object-fit: cover;
}

.navbar-img {
  width: 15%;
  height:15%;
  background-color: transparent;
  padding: 5px;
  border: 1px solid #4CAF50;
}


a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 27, 47, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.6);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--sand);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 5px;
}

.section {
  padding: 82px 22px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 36px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7,27,47,0.92), rgba(13,53,89,0.75)),
    url('assets/images/hero-submarine.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content,
.hero-card,
.section-heading,
.content-grid,
.contact-grid,
.contact-images {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: -2px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 720px;
  color: rgba(255,255,255,0.9);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sea-blue);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1.8px;
  font-size: 0.82rem;
}

.hero .eyebrow { color: #98d9ef; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--sand); color: var(--navy); box-shadow: var(--shadow); }
.button.secondary { background: rgba(255,255,255,0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }

.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.2;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 12px;
  color: var(--navy);
}

.section-heading p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.alt { background: var(--sand); }

.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
}

.reverse .copy-card { order: 2; }
.reverse .image-grid { order: 1; }

.copy-card,
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.copy-card h3 {
  margin-top: 0;
  color: var(--deep-blue);
  font-size: 1.55rem;
}

.copy-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.copy-card li { margin: 8px 0; }

.image-grid {
  display: grid;
  gap: 18px;
}

.two-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

figure {
  margin: 0;
  background: var(--white);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 12px 28px rgba(7, 27, 47, 0.12);
}

figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 8px 4px 0;
}

.contact-section { background: #f8fbfc; }

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  font-weight: 800;
  color: var(--deep-blue);
}

input,
textarea {
  width: 100%;
  border: 1px solid #d5dde3;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fbfdff;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(20,107,140,0.18);
  border-color: var(--sea-blue);
}

.form-message,
.small-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-images { margin-top: 30px; }

.site-footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 28px 20px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 76px;
    display: none;
    flex-direction: column;
    background: var(--navy);
    padding: 16px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .hero,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 110px; }
  .reverse .copy-card,
  .reverse .image-grid { order: initial; }
}

@media (max-width: 620px) {
  .two-images { grid-template-columns: 1fr; }
  .section { padding: 62px 16px; }
  .navbar { padding: 0 16px; }
  .brand span:last-child { font-size: 0.95rem; }
}
