:root {
  --brand: #2f8ea0;
  --brand-dark: #0d2330;
  --brand-soft: #eef7fa;
  --text: #13212c;
  --muted: #5f6f7c;
  --border: rgba(19, 33, 44, 0.08);
  --shadow: 0 18px 50px rgba(13, 35, 48, 0.10);
  --radius: 22px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #f7fafb;
}
.navbar {
  padding: 0.45rem 0;
  background: rgba(13, 35, 48, 0.82);
  backdrop-filter: blur(10px);
  transition: all .2s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.brand-text { color: #fff; font-weight: 800; letter-spacing: .04em; text-decoration: none; font-size: 1.05rem; }
.brand-text:hover { color: #fff; }
.nav-link { color: rgba(255,255,255,.86); font-weight: 600; }
.nav-link:hover, .nav-link.active { color: #fff; }
.navbar-toggler { border-color: rgba(255,255,255,.25); }
.navbar-toggler-icon { filter: invert(1); }
.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 25px rgba(47,142,160,.25);
}
.btn-brand:hover, .btn-brand:focus { background: #267888; border-color: #267888; color: #fff; }
.btn-outline-brand {
  border: 1px solid rgba(47,142,160,.35);
  color: var(--brand-dark);
  background: #fff;
}
.btn-outline-brand:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand); }
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(13,35,48,.80), rgba(13,35,48,.68)),
    url('../../Content/img/w1bknd.jpg') center/cover no-repeat;
  color: #fff;
  padding: 7rem 0 4rem;
}
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--brand);
}
.hero-section .eyebrow { color: #8ddbe8; }
.lead { color: rgba(255,255,255,.82); max-width: 60ch; }
.hero-panel, .about-card, .service-card, .project-card, .contact-card, .cta-card, .metric-card {
  border-radius: var(--radius);
}
.hero-panel {
  background: rgba(255,255,255,.08);
  max-width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.animation-shell {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 2;
  background: linear-gradient(135deg, rgba(58,151,166,1), rgba(32,101,120,1));
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(58,151,166,1), rgba(32,101,120,1));
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.animation-shell canvas,
.animation-shell #dom_overlay_container {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
}

#canvas { width: 100%; height: 100%; display: block; }
#dom_overlay_container {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-panel-copy { padding: 1rem .25rem .35rem; }
.hero-panel-copy h2 { font-size: 1.35rem; font-weight: 700; }
.hero-panel-copy p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.metric-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.metric-card strong { font-size: 1rem; }
.metric-card span { color: rgba(255,255,255,.78); font-size: .93rem; }
.section-pad { padding: 5.5rem 0; }
.section-surface { background: var(--brand-soft); }
.section-heading { max-width: 760px; }
.section-title { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 800; margin-top: .4rem; }
.section-text { color: var(--muted); font-size: 1.05rem; }
.pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: .72rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand-dark);
}
.about-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-grid > div {
  padding: 1.1rem;
  background: #f9fcfd;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.about-grid h3 { font-size: 1.05rem; font-weight: 700; }
.about-grid p { margin: 0; color: var(--muted); }
.service-card, .contact-card, .project-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.service-card, .contact-card { padding: 1.5rem; }
.project-card { overflow: hidden; }
.project-copy { padding: 1.35rem; }
.project-image { width: 100%; height: 235px; object-fit: cover; display: block; }
.project-tag {
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.service-card h3, .project-card h3, .contact-card h3 { font-size: 1.2rem; font-weight: 750; }
.service-card p, .project-card p, .contact-card p { color: var(--muted); }
.icon-wrap {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.4rem; margin-bottom: 1rem;
}
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), #17384d 55%, var(--brand));
}
.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow);
}
.contact-card a, .footer-link { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.contact-card a:hover, .footer-link:hover { color: var(--brand); }
.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--border);
}
.modal-content { border-radius: 22px; border: 1px solid var(--border); }
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .8rem;
    background: rgba(13,35,48,.96);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 1rem;
  }
  .hero-section { padding-top: 6.5rem; min-height: auto; }
}
@media (max-width: 767.98px) {
  .section-pad { padding: 4rem 0; }
  .about-grid { grid-template-columns: 1fr; }
  .project-image { height: 210px; }
  .brand-text { color: #fff; font-weight: 800; letter-spacing: .04em; text-decoration: none; font-size: 1.05rem; }
.brand-text:hover { color: #fff; }
}


.hero-copy-wrap { max-width: 980px; }
.hero-copy-wrap .lead { max-width: 780px; }
.hero-movie-wrap { max-width: 1180px; margin-left: auto; margin-right: auto; }
.hero-panel-wide { padding: 1.25rem 1.25rem 1rem; }
.animation-shell { min-height: 0; }
.hero-panel-copy { max-width: 820px; margin: 0 auto; }
.hero-panel-copy p { max-width: 780px; margin: 0 auto; }
@media (min-width: 992px) {
  .hero-section { padding-top: 8rem; }
  .hero-movie-wrap { margin-top: 3rem !important; }
}

.brand-logo-new { height: 72px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,.10)); border-radius: 4px; }
@media (max-width: 767.98px) { .brand-logo-new { height: 48px; } }

#services,
#projects {
  scroll-margin-top: 110px;
}
