:root {
  --midnight-blue: #0D1B2A;
  --steel-blue: #457B9D;
  --ice-blue: #A8DADC;
  --white: #FFFFFF;
  --muted-white: rgba(255, 255, 255, 0.75);
  --steel-dark: #2A5066;
  --steel-deep: #1A3A4A;
  --max-width: 1200px;
  --nav-height: 80px;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--midnight-blue);
  color: var(--muted-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p { margin-bottom: 1rem; }

a {
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--white); }

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { position: relative; }

.section-divider {
  border: 0;
  border-top: 1px solid rgba(168, 218, 220, 0.2);
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  backdrop-filter: blur(0px);
}

.site-header.scrolled {
  background-color: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ice-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--ice-blue);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: var(--ice-blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background-image: linear-gradient(rgba(13, 27, 42, 0.6), rgba(13, 27, 42, 0.85)),
    url('https://images.unsplash.com/photo-1507525428024-9522ce3a4f6e?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--ice-blue);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: 6rem 0;
  position: relative;
}

.content-section.alternate {
  background-color: var(--steel-deep);
}

.content-section.steel {
  background: linear-gradient(180deg, var(--midnight-blue) 0%, var(--steel-dark) 100%);
}

.content-section.ice {
  background-color: var(--ice-blue);
  color: var(--midnight-blue);
}

.content-section.ice h2,
.content-section.ice h3 {
  color: var(--midnight-blue);
}

.content-section.ice p {
  color: rgba(13, 27, 42, 0.8);
}

.content-section.ice a {
  color: var(--steel-blue);
}

.content-section.ice a:hover {
  color: var(--midnight-blue);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--ice-blue);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.card {
  background: linear-gradient(145deg, rgba(69, 123, 157, 0.15), rgba(13, 27, 42, 0.4));
  border: 1px solid rgba(168, 218, 220, 0.15);
  border-radius: 14px;
  padding: 2.5rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(168, 218, 220, 0.3);
  border-color: var(--ice-blue);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--ice-blue);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background-color: transparent;
  border: 2px solid var(--ice-blue);
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn::after {
  content: '→';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn:hover {
  background-color: var(--ice-blue);
  color: var(--midnight-blue);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(168, 218, 220, 0.35);
}

.btn:hover::after {
  transform: translateX(5px);
}

.btn-solid {
  background-color: var(--ice-blue);
  color: var(--midnight-blue);
}

.btn-solid:hover {
  background-color: var(--white);
  border-color: var(--white);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.split-layout.reverse .image-col { order: 2; }

.contact-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(145deg, rgba(69, 123, 157, 0.2), rgba(13, 27, 42, 0.5));
  border-radius: 14px;
  border: 1px solid rgba(168, 218, 220, 0.2);
}

.contact-block address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 2.2;
  color: var(--white);
}

.contact-block address a {
  color: var(--ice-blue);
}

.contact-block .nap-line {
  display: block;
}

.contact-block .nap-label {
  display: inline-block;
  width: 80px;
  text-align: right;
  margin-right: 15px;
  color: var(--ice-blue);
  font-weight: 600;
}

.site-footer {
  background-color: #050D15;
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: var(--ice-blue);
  padding-left: 5px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(168, 218, 220, 0.3);
  color: var(--ice-blue);
  font-size: 0.85rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--ice-blue);
  color: var(--midnight-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s