/* ========== Global Styles ========== */

:root {
  --navy: #1D3557;
  --sky: #457B9D;
  --light: #F1FAEE;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--white);
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  font-size: 16px;
}

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ========== Header / Nav ========== */

header {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--sky);
}

.nav-cta {
  background-color: var(--sky);
  color: var(--white) !important;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--sky);
}

.nav-cta:hover {
  background-color: var(--white);
  color: var(--sky) !important;
}

/* Responsive nav stack for very small screens */
@media (max-width: 600px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

/* ========== Hero section ========== */

.hero {
  background-color: var(--light);
  padding: 4rem 1rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-dark);
  max-width: 44ch;
  margin: 0 auto 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn-primary {
  background-color: var(--sky);
  color: var(--white);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--sky);
}
.btn-primary:hover {
  background-color: var(--white);
  color: var(--sky);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* ========== Sections ========== */

.section {
  padding: 3rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section.light {
  background-color: var(--white);
}

.section.alt {
  background-color: var(--light);
}

.section h2 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.3;
  text-align: left;
}

.section-intro {
  max-width: 700px;
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.card h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0.5rem 0 0;
}

/* ========== Contact strip / footer ========== */

.contact-strip {
  background-color: var(--navy);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

.contact-strip h2 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-details {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer {
  background-color: #0f1f33;
  color: var(--white);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  line-height: 1.4;
}

.footer a {
  color: var(--sky);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.brand img {
  vertical-align: middle;
}
.navbar img {
  vertical-align: middle;
}