:root{
  --navy:#0E1A2B;
  --navy-2:#13233A;
  --ice:#DCE3EA;
  --accent:#2E5C8A;
  --accent-2:#3C6F9F;
  --silver:#B9C3CF;
  --text:#0B1220;
  --muted:#5B677A;
  --line:rgba(15,23,42,.08);
  --shadow:0 12px 30px rgba(2, 6, 23, 0.08);
  --shadow-strong:0 18px 45px rgba(2, 6, 23, 0.14);
  --radius:1rem;
  --radius-lg:1.5rem;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p, li {
  overflow-wrap: anywhere;
}

a {
  transition: all .2s ease;
}

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

.bg-navy { background: var(--navy) !important; }
.text-ice { color: var(--ice) !important; }
.text-silver { color: var(--silver) !important; }

/* Layout rhythm */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 2.75rem 0;
}

/* Navbar */
.navbar {
  backdrop-filter: saturate(180%) blur(10px);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -.01em;
}

.navbar .nav-link {
  color: rgba(220,227,234,.85);
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: rgba(220,227,234,1);
}

.navbar .nav-link.active {
  color: #fff;
  font-weight: 700;
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: .72rem 1.05rem;
  font-weight: 600;
  box-shadow: none;
}

.btn-lg {
  padding: .92rem 1.2rem;
}

.btn-accent {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  border: 0;
  box-shadow: 0 8px 24px rgba(46, 92, 138, 0.28);
}

.btn-accent:hover {
  color:#fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(46, 92, 138, 0.34);
}

.btn-outline-light:hover,
.btn-outline-dark:hover {
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.06), transparent 35%),
    linear-gradient(120deg, rgba(14,26,43,.94), rgba(14,26,43,.78)),
    url('/assets/img/hero.jpg') center/cover no-repeat;
  min-height: 76vh;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(14,26,43,.18));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .display-4 {
  max-width: 12ch;
  color: #fff;
}

.hero .lead {
  max-width: 42rem;
  font-size: 1.15rem;
}

/* Typography helpers */
.kicker {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(220,227,234,.75);
}

.hr-ice {
  border-color: rgba(220,227,234,.18);
}

/* Cards */
.card-soft {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-soft:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.card-soft h2,
.card-soft h3,
.card-soft h4 {
  margin-bottom: .8rem;
}

.card-soft ul,
.card-soft ol {
  padding-left: 1.1rem;
}

/* Video embeds */
.ratio iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ratio.rounded-4,
.rounded-4 {
  border-radius: 1.25rem !important;
}

.overflow-hidden {
  box-shadow: var(--shadow);
}

/* Form styling */
.form-control,
.form-select {
  border-radius: .9rem;
  padding: .8rem .95rem;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(46, 92, 138, .55);
  box-shadow: 0 0 0 .2rem rgba(46, 92, 138, .12);
}

.form-label {
  font-weight: 600;
  margin-bottom: .45rem;
}

.form-text {
  color: var(--muted);
}

/* Lists */
ul li,
ol li {
  margin-bottom: .38rem;
}

/* Footer */
.footer a {
  color: rgba(220,227,234,.84);
  text-decoration: none;
}

.footer a:hover {
  color: rgba(220,227,234,1);
  text-decoration: underline;
}

/* Light sections */
.bg-light {
  background: linear-gradient(180deg, #f8fafc, #f5f7fb) !important;
}

/* Utility for future image blocks */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Anchor scrolling offset for sticky nav */
:target {
  scroll-margin-top: 90px;
}

/* Mobile */
@media (max-width: 991.98px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero {
    min-height: 70vh;
    padding: 2rem 0;
    background-position: center center;
  }

  .hero .display-4 {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-tight {
    padding: 2.25rem 0;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .hero .display-4 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .hero .lead {
    font-size: 1.02rem;
  }

  .btn,
  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .navbar-brand span {
    font-size: 1rem;
  }

  .card-soft {
    border-radius: 1.15rem;
  }

  .rounded-4,
  .ratio.rounded-4 {
    border-radius: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero .display-4 {
    font-size: 1.95rem;
  }

  .kicker {
    font-size: .72rem;
    letter-spacing: .12em;
  }
}