/*------------------------------------------------------------------
  [Custom additions — video headers]
  Added to replace static header images with background video on
  interior pages, and the homepage slider with a single video hero.
------------------------------------------------------------------*/

/* Interior page header (was .parallax-window with a static image) */
.video-header {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background-color: #0a0a0a;
}

.video-header .video-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
}

/* Dark overlay so the white heading text stays readable over any footage */
.video-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 25, 0.45);
  z-index: 1;
}

.video-header .parallax-content {
  position: relative;
  z-index: 2;
}

/* Slight blur requested for branding.mp4, products.mp4 and the contact video */
.video-header.video-blur .video-header-bg {
  filter: blur(5px);
  transform: scale(1.08); /* avoid soft/blurred edges peeking in */
}

/* Homepage hero (was the image carousel) */
.hero-video-header {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background-color: #0a0a0a;
}

.hero-video-header .video-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
}

.hero-video-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.72) 0%, rgba(5, 10, 18, 0.6) 45%, rgba(5, 10, 18, 0.75) 100%);
  z-index: 1;
}

.hero-video-header .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding-top: 90px;
  padding-bottom: 60px;
}

/* Mobile: shorter headers, video is not downloaded at all (see video-header.js) —
   the poster frame is shown instead to save data and speed up load. */
@media (max-width: 767px) {
  .video-header {
    min-height: 320px;
  }
  .video-header .parallax-content {
    padding-top: 140px;
    padding-bottom: 50px;
  }
  .hero-video-header,
  .hero-video-header .hero-inner {
    min-height: 420px;
  }
}

@media (max-width: 480px) {
  .video-header {
    min-height: 260px;
  }
  .hero-video-header,
  .hero-video-header .hero-inner {
    min-height: 360px;
  }
}

/* Footer contact form: small spacing/consistency fix now that it is a real <form> */
.footer-contact-form {
  margin: 0;
}

/* Contact form status banner (shown after contact.php redirects back) */
.contact-status-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}
.contact-status-banner.success { background: #2e7d32; }
.contact-status-banner.error { background: #c62828; }
.contact-status-banner button {
  background: none;
  border: none;
  color: #fff;
  float: right;
  font-weight: bold;
  cursor: pointer;
  margin-left: 12px;
}

/* Footer social icon (LinkedIn only) */
.footer-social-list {
  display: flex;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd3e1;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social-link:hover,
.footer-social-link:focus {
  background: #0077b5; /* LinkedIn brand blue */
  color: #ffffff;
}

/* ------------------------------------------------------------------
   Readability: slightly larger, slightly bolder body copy site-wide.
------------------------------------------------------------------ */
body {
  font-size: 16px;
}

p {
  font-size: 16.5px;
  font-weight: 500;
}

em,
li,
li a {
  font-size: 17px;
  font-weight: 600;
}

span {
  font-size: 15px;
  font-weight: 500;
}

.link {
  font-size: 14px;
  font-weight: 700;
}

.footer-list-item,
.footer-list-link {
  font-size: 16px;
  font-weight: 600;
}

.form-control.footer-input {
  font-size: 15px;
  font-weight: 500;
}

/* =====================================================================
   DESIGN SYSTEM 2.0
   Adds a richer visual layer on top of the existing template (variables,
   section utilities, cards, process steps, CTA banners) without touching
   the base template files. Brand accent (#17bed2) and dark navy
   (#101b28) are the template's existing colors — reused everywhere for
   consistency, extended here with a few supporting tones.
===================================================================== */

:root {
  --dmr-accent: #17bed2;
  --dmr-accent-dark: #0f9aac;
  --dmr-accent-light: #63cbd7;
  --dmr-navy: #101b28;
  --dmr-navy-soft: #16283b;
  --dmr-ink: #1b2430;
  --dmr-body: #515769;
  --dmr-muted: #81848f;
  --dmr-border: #e7e9ee;
  --dmr-bg-alt: #f6f8fa;
  --dmr-shadow: 0 20px 45px -18px rgba(16, 27, 40, 0.28);
  --dmr-shadow-sm: 0 10px 25px -12px rgba(16, 27, 40, 0.22);
  --dmr-radius: 6px;
}

/* ---------- Section utilities ---------- */
.dmr-section {
  padding: 90px 0;
}
.dmr-section-sm {
  padding: 55px 0;
}
.dmr-section-alt {
  background: var(--dmr-bg-alt);
}
.dmr-section-navy {
  background: var(--dmr-navy);
  color: #cbd3e1;
}
.dmr-section-navy h2,
.dmr-section-navy h3 {
  color: #ffffff;
}
@media (max-width: 767px) {
  .dmr-section { padding: 55px 0; }
  .dmr-section-sm { padding: 36px 0; }
}

/* ---------- Eyebrow / kicker label ---------- */
.dmr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dmr-accent-dark);
  margin-bottom: 14px;
}
.dmr-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--dmr-accent);
}
.dmr-section-navy .dmr-eyebrow,
.video-header .dmr-eyebrow {
  color: var(--dmr-accent-light);
}

.dmr-section-heading {
  margin-bottom: 46px;
  max-width: 720px;
}
.dmr-section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.dmr-section-heading h2 {
  margin-bottom: 16px;
}
.dmr-section-heading p {
  margin-bottom: 0;
}

/* ---------- Buttons: add a confident CTA style ---------- */
.btn-dmr-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dmr-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--dmr-radius);
  box-shadow: var(--dmr-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-dmr-cta:hover,
.btn-dmr-cta:focus {
  background: var(--dmr-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--dmr-shadow);
  color: #fff !important;
  text-decoration: none;
}
.btn-dmr-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--dmr-radius);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: all 0.18s ease;
}
.btn-dmr-cta-outline:hover,
.btn-dmr-cta-outline:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
  text-decoration: none;
}
.btn-dmr-cta svg,
.btn-dmr-cta-outline svg,
.dmr-card-more svg,
.dmr-cta-banner .btn-dmr-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Highlight strip (qualitative, not fabricated stats) ---------- */
.dmr-highlight-strip {
  margin-top: 40px;
}
.dmr-highlight {
  height: 100%;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--dmr-border);
  border-radius: var(--dmr-radius);
  box-shadow: var(--dmr-shadow-sm);
  box-sizing: border-box;
}
.dmr-highlight .num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dmr-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.dmr-highlight .label {
  display: block;
  color: var(--dmr-ink);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.55;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ---------- Process / journey steps ---------- */
.dmr-process {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  counter-reset: dmr-step;
  margin-top: 20px;
}
.dmr-process-step {
  flex: 1 1 16%;
  min-width: 150px;
  position: relative;
  padding: 0 18px 30px 0;
  text-align: left;
}
.dmr-process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dmr-navy);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}
.dmr-process-step.is-final .step-num {
  background: var(--dmr-accent);
}
.dmr-process-step h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--dmr-ink);
}
.dmr-process-step p {
  font-size: 14px !important;
  color: var(--dmr-muted);
  margin-bottom: 0;
}
.dmr-process-step::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 46px;
  right: -18px;
  height: 2px;
  background: var(--dmr-border);
}
.dmr-process-step:last-child::after {
  display: none;
}
@media (max-width: 991px) {
  .dmr-process-step { flex: 1 1 45%; padding-right: 24px; }
  .dmr-process-step:nth-child(odd)::after { display: none; }
}
@media (max-width: 600px) {
  .dmr-process-step { flex: 1 1 100%; }
  .dmr-process-step::after { display: none; }
}

/* ---------- Benefit / feature list with check icons ---------- */
.dmr-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.dmr-check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 16.5px !important;
  font-weight: 500 !important;
  color: var(--dmr-body);
}
.dmr-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 190, 210, 0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2317bed2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 10 8 14 16 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* ---------- Service cards (used on the services/products page) ---------- */
.dmr-card {
  background: #fff;
  border: 1px solid var(--dmr-border);
  border-radius: var(--dmr-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.dmr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dmr-shadow);
}
.dmr-card .dmr-card-img {
  aspect-ratio: 970 / 647;
  overflow: hidden;
}
.dmr-card .dmr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dmr-card:hover .dmr-card-img img {
  transform: scale(1.06);
}
.dmr-card .dmr-card-body {
  padding: 28px 26px 30px;
}
.dmr-card .dmr-card-step {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dmr-accent-dark);
  margin-bottom: 10px;
}
.dmr-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.dmr-card .dmr-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dmr-ink);
  margin-top: 14px;
}
.dmr-card:hover .dmr-card-more {
  color: var(--dmr-accent-dark);
}

/* ---------- CTA banner (full width, used before the footer) ---------- */
.dmr-cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--dmr-navy) 0%, var(--dmr-navy-soft) 100%);
  color: #fff;
  padding: 70px 0;
  overflow: hidden;
}
.dmr-cta-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 190, 210, 0.25) 0%, rgba(23, 190, 210, 0) 70%);
}
.dmr-cta-banner .dmr-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dmr-cta-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}
.dmr-cta-banner p {
  color: #cbd3e1;
  margin-bottom: 0;
}
.dmr-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Approach / philosophy callout block ---------- */
.dmr-callout {
  border-left: 4px solid var(--dmr-accent);
  background: var(--dmr-bg-alt);
  padding: 30px 34px;
  border-radius: 0 var(--dmr-radius) var(--dmr-radius) 0;
  margin: 30px 0;
}
.dmr-callout p {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--dmr-ink);
  margin-bottom: 0;
  line-height: 1.55;
}

/* ---------- Hero text legibility over video ---------- */
.hero-video-header .carousel-title,
.video-header .carousel-title {
  text-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 2px 6px rgba(0, 0, 0, 0.55), 0 8px 30px rgba(0, 0, 0, 0.5);
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 767px) {
  .hero-video-header .carousel-title,
  .video-header .carousel-title {
    font-size: 34px !important;
    line-height: 1.25 !important;
  }
}
@media (max-width: 480px) {
  .hero-video-header .carousel-title,
  .video-header .carousel-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
}
.hero-video-header p,
.video-header .parallax-content p {
  color: #e7ebf0 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 14px rgba(0, 0, 0, 0.45);
}
.hero-video-header .dmr-hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Icon badge (service page intro) ---------- */
.dmr-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(23, 190, 210, 0.12);
  color: var(--dmr-accent-dark);
  margin-bottom: 22px;
}
.dmr-icon-badge svg {
  width: 28px;
  height: 28px;
}

/* ---------- Products/services grid polish (existing markup, styled only) ---------- */
.content-lg .wow.zoomIn {
  overflow: hidden;
  border-radius: var(--dmr-radius);
  box-shadow: var(--dmr-shadow-sm);
}
.content-lg .wow.zoomIn img {
  transition: transform 0.4s ease;
  aspect-ratio: 970 / 647;
  object-fit: cover;
}
.content-lg .wow.zoomIn:hover img {
  transform: scale(1.06);
}
.content-lg h3 a,
.content-lg h4 a {
  color: var(--dmr-ink);
}
.content-lg a.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dmr-accent-dark) !important;
}
.content-lg a.link:hover {
  color: var(--dmr-navy) !important;
}

/* ---------- Mobile polish ---------- */
@media (max-width: 767px) {
  .dmr-cta-banner .dmr-cta-inner { flex-direction: column; align-items: flex-start; }
  .dmr-card .dmr-card-body { padding: 22px 20px 24px; }
}
