:root {
  --navy: #16233a;
  --charcoal: #2b2f36;
  --teal: #0f8b8d;
  --teal-dark: #0b6b6d;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --border: #e5e9ec;
  --muted: #5b6470;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--teal-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  padding: 72px 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--navy);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-dark {
  position: relative;
  background: #2e5286;
  padding: 64px 0 56px;
  overflow: hidden;
  text-align: left;
}

.hero-dark h1 {
  color: #ffffff;
  margin-left: 0;
  max-width: 540px;
}

.hero-dark p.lead {
  color: #d3dbe6;
  margin-left: 0;
  max-width: 480px;
}

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

.hero-dark .btn-row { justify-content: flex-start; }

.hero-dark .service-line-dark { text-align: left; }

.hero-graphic {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 460px;
  height: 460px;
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}

.hero-graphic svg { width: 100%; height: 100%; }
.hero-graphic svg g[stroke] { stroke: #7fd1cf; }
.hero-graphic svg g[fill] { fill: #7fd1cf; }

a.btn.btn-secondary.btn-secondary-dark {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.35);
}
a.btn.btn-secondary.btn-secondary-dark:hover { border-color: var(--teal); }

p.service-line.service-line-dark { color: #9fb0c3; }

@media (max-width: 860px) {
  .hero-graphic { display: none; }
  .hero-dark h1, .hero-dark p.lead { max-width: 100%; }
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: #fff !important;
}
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--teal); text-decoration: none; }

.service-line {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* Sections */
section.page-section {
  padding: 64px 0;
}

section.page-section.soft { background: var(--bg-soft); }

.section-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 40px;
}

.section-heading.left { text-align: left; }

/* Card grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(15, 139, 141, 0.12);
  transform: translateY(-2px);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15, 139, 141, 0.12);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.card .learn-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 20px;
}

.step .num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--navy);
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* List with checks */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--navy);
}

.check-list li::before {
  content: "\2713";
  color: var(--teal-dark);
  font-weight: 800;
  flex-shrink: 0;
}

/* About page graphic */
.about-graphic-row {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.about-graphic {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
}

.about-graphic svg { width: 100%; height: 100%; }

.about-text-card { flex: 1; background: #fff; }

@media (max-width: 720px) {
  .about-graphic-row { flex-direction: column; }
  .about-graphic { width: 160px; height: 160px; }
}

/* CTA band */
.cta-band {
  position: relative;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  overflow: hidden;
  background-image: radial-gradient(rgba(79, 209, 207, 0.18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

.cta-band .container { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: 2rem;
  margin: 0 0 16px;
}

.cta-band p {
  color: #cdd6e0;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Solution / industry detail sections */
.detail-section {
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.detail-section:last-child { border-bottom: none; }

.detail-section h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.detail-section .subtitle {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.02rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.detail-grid h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.detail-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-grid ul li { margin-bottom: 6px; }

/* Intro block for interior pages */
.page-intro {
  position: relative;
  padding: 56px 0 48px;
  text-align: left;
  background: #2e5286;
  overflow: hidden;
}

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

.page-intro h1 {
  font-size: 2.1rem;
  color: #ffffff;
  margin: 0 0 16px;
  max-width: 540px;
}

.page-intro p {
  color: #d3dbe6;
  max-width: 480px;
  margin: 0;
  font-size: 1.02rem;
}

.page-intro-graphic {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  width: 320px;
  height: 320px;
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}

.page-intro-graphic svg { width: 100%; height: 100%; }
.page-intro-graphic svg g[stroke] { stroke: #7fd1cf; }
.page-intro-graphic svg g[fill] { fill: #7fd1cf; }

@media (max-width: 860px) {
  .page-intro-graphic { display: none; }
  .page-intro {
    background: #2e5286;
  }
  .page-intro h1, .page-intro p { max-width: 100%; }
}

/* Light navy tint used on detail sections across interior pages */
.detail-section:nth-child(even) {
  background: linear-gradient(135deg, #f6f8fb 0%, #eef1f7 100%);
  border-radius: 16px;
  padding: 40px 32px;
}

/* Form */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--navy);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.form-submit:hover { background: var(--teal-dark); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a { color: var(--muted); margin: 0 10px; }

/* Expandable solution cards */
.expandable-grid .card:nth-child(odd) { background: linear-gradient(135deg, #f7f9fc 0%, #eef1f7 100%); }
.expandable-grid .card:nth-child(even) { background: linear-gradient(135deg, #f0f3f9 0%, #e8edf4 100%); }

.expandable-card { display: flex; flex-direction: column; }

.learn-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.learn-more-toggle:hover { text-decoration: underline; }

.card-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
  margin-top: 0;
  border-top: 1px dashed var(--border);
  padding-top: 0;
}

.expandable-card.open .card-detail {
  max-height: 400px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 14px;
}

.expandable-card.open {
  box-shadow: 0 8px 24px rgba(15, 139, 141, 0.16);
  border-color: var(--teal);
}

.expandable-card.open .learn-more-toggle::after {
  content: "";
}

.card-detail p {
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.card-detail p:last-child { margin-bottom: 0; }

.card-detail strong {
  color: var(--navy);
}

/* Responsive */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section-heading { font-size: 1.6rem; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }
}
