:root {
  --navy: #1f3f78;
  --navy-dark: #17325f;
  --gold: #f2bb38;
  --text: #233044;
  --muted: #5e6878;
  --bg: #f4f6fa;
  --white: #ffffff;
  --line: rgba(31, 63, 120, 0.10);
  --shadow: 0 20px 45px rgba(20, 36, 67, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.section {
  padding: 84px 0;
}

.centered {
  text-align: center;
}

.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 42, 83, 0.88) 0%, rgba(25, 52, 100, 0.72) 45%, rgba(25, 52, 100, 0.25) 100%),
    url('../images/hero-bg.png') center/cover no-repeat;
  overflow: hidden;
}

.hero .overlay,
.contact-cta .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.00), rgba(255,255,255,0.05));
}

.hero-inner,
.contact-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.brand-card {
  background: rgba(255,255,255,0.96);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.logo {
  width: 100%;
  border-radius: 18px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
}

.eyebrow.dark {
  color: var(--navy);
}

.hero-copy h1,
section h2 {
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 820px;
  color: var(--white);
}

.hero-copy p {
  color: rgba(255,255,255,0.9);
  font-size: 1.14rem;
  max-width: 760px;
  margin: 0 0 28px;
}

section h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  color: var(--navy);
}

.section-heading p,
.intro p,
.highlights p,
.contact-inner p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.center-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 12px 28px rgba(19, 35, 69, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary {
  background: var(--gold);
  color: #1f2c44;
}

.intro {
  background: linear-gradient(180deg, #ffffff, #f8f9fc);
}

.cards {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 28, 55, 0.07);
}

.card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 28px 24px 30px;
}

.card-body h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--navy);
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

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

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--navy-dark);
  box-shadow: 0 10px 22px rgba(15, 28, 55, 0.06);
}

.contact-cta {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 42, 83, 0.86), rgba(25, 52, 100, 0.74)),
    url('../images/contact-bg.png') center/cover no-repeat;
}

.contact-cta h2,
.contact-cta p {
  color: var(--white);
}

.contact-inner {
  max-width: 920px;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .hero-inner,
  .two-col,
  .three-up {
    grid-template-columns: 1fr;
  }

  .brand-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .btn {
    width: 100%;
  }

  .card-image {
    height: 180px;
  }
}
