/* ===== HOME overlay before sticky (header that contains .glass-nav) ===== */
/* We'll add a helper class via JS: .is-home-header */
.is-home-header {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 100000 !important;           /* above video/hero */
  pointer-events: auto !important;
}

/* Kill the spacer on home while overlaying hero */
.home-overlay-spacer { min-height: 0 !important; }

/* Keep menus on top of video */
#dng-megamenu274919,
#dng-megamenu274919 .primary_structure,
#dng-megamenu274919 .primary_structure > li {
  z-index: 10050 !important;
}

/* ===== Glass pill when sticky (both HOME & INSIDE) ===== */
.floating-active .glass-nav,
.floating-active .glass-nav-inside {
  position: fixed !important;           /* stick to viewport */
  top: 10px !important; left: 10px !important; right: 10px !important;
  margin: 0 !important;
  width: auto !important;
  border-radius: 16px !important;
  background: transparent !important;   /* visual lives on ::before */
  box-shadow: 0 4px 16px rgba(0,0,0,0.24) !important;
  padding: 2px 10px !important;
}
.floating-active .glass-nav::before,
.floating-active .glass-nav-inside::before {
  content: "" !important;
  position: absolute !important; inset: 0 !important;
  border-radius: 16px !important;
  background: rgba(10,10,12,0.75) !important; /* slightly dark glass */
  -webkit-backdrop-filter: blur(8px) saturate(120%) !important;
  backdrop-filter: blur(8px) saturate(120%) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  z-index: 0 !important;
}
.floating-active .glass-nav > *,
.floating-active .glass-nav-inside > * { position: relative !important; z-index: 2 !important; }

/* Pill height (a little taller, per your note) */
.floating-active #headerrow-100549 .header-container-box,
.floating-active #headerrow-100549 .header-bg-box,
.floating-active #headerrow-100549 .hoverstyle_8 .primary_structure > li > a {
  height: 68px !important;
}

/* Logo sizing inside pill */
.floating-active .header-logo { max-height: 52px !important; height: auto !important; width: auto !important; object-fit: contain !important; }

/* ===== Menu colors (white base, red hover) ===== */
#dng-megamenu274919 .primary_structure > li > a,
#dng-megamenu274919 .primary_structure > li > a:link,
#dng-megamenu274919 .primary_structure > li > a:active,
#dng-megamenu274919 .primary_structure > li > a:visited { color: #ffffff !important; }
#dng-megamenu274919 .primary_structure > li > a > span { color: #ffffff !important; }
#dng-megamenu274919 .primary_structure > li:hover > a > span,
#dng-megamenu274919 .primary_structure > li.menu_hover > a > span,
#dng-megamenu274919 .primary_structure > li.current > a > span,
#dng-megamenu274919 .primary_structure > li > a:hover > span,
#dng-megamenu274919 .primary_structure > li > a:focus > span { color: #ec2427 !important; }
.dng-megamenu .primary_structure > li.dir > a > span:after {
  border-bottom: 1px solid #ffffff !important;
  border-right: 1px solid #ffffff !important;
}

/* Dropdown glass (no clipping) */
#dng-megamenu274919 .dnngo_menuslide { overflow: visible !important; z-index: 10060 !important; }
#dng-megamenu274919 .dnngo_menuslide .dnngo_slide_menu {
  background: rgba(10,10,12,0.75) !important;
  -webkit-backdrop-filter: blur(8px) saturate(120%) !important;
  backdrop-filter: blur(8px) saturate(120%) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28) !important;
  padding: 10px !important;
  margin-top:15px !important;
  min-width: 260px !important;
}
#dng-megamenu274919 .dnngo_slide_menu li a {
  color: #ffffff !important; line-height: 42px !important; white-space: nowrap !important; padding: 0 12px !important;
}
#dng-megamenu274919 .dnngo_slide_menu li:hover > a,
#dng-megamenu274919 .dnngo_slide_menu li > a:focus {
  color: #ec2427 !important; background: rgba(255,255,255,0.08) !important; border-radius: 8px !important;
}

/* ===== CTA / Call clarity ===== */
.business13-header-tel { display: flex !important; align-items: center !important; gap: 16px !important; }
.business13-header-tel .info { display: flex !important; flex-direction: column !important; line-height: 1.1 !important; }
.business13-header-tel .info p { margin: 0 0 2px 0 !important; color: #ffffff !important; font-size: 12px !important; opacity: .9 !important; }
.business13-header-tel .tel-link { color: #ffd84a !important; text-decoration: none !important; font-weight: 700 !important; }
.business13-header-tel .tel-link:hover { color: #ffb400 !important; }

/* separator before CTA */
.business13-header-tel .cta-icon-btn { margin-left: 12px !important; }
.business13-header-tel .cta-icon-btn::after {
  content: "" !important; position: absolute !important; left: -12px !important; top: 50% !important;
  transform: translateY(-50%) !important; width: 1px !important; height: 22px !important; background: rgba(255,255,255,0.22) !important;
}

/* CTA sizes */
.cta-icon-btn{
  -webkit-appearance: none !important; appearance: none !important;
  display: inline-flex !important; justify-content: center !important; align-items: center !important;
  width: 56px !important; height: 56px !important; min-width: 56px !important; min-height: 56px !important;
  padding: 0 !important; border: 0 !important; border-radius: 12px !important;
  background: transparent center/30px 30px no-repeat url("/Portals/0/ThemePluginPro/uploads/2025/10/13/cta-ico-white.png") !important;
  cursor: pointer !important; outline: none !important; position: relative !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.28), 0 6px 16px rgba(0,0,0,0.28) !important;
  transition: transform .18s ease, box-shadow .18s ease, background-image .12s linear !important;
}
.cta-icon-btn::before{ content:"" !important; position:absolute !important; inset:-3px !important; border-radius:14px !important; border:1px solid rgba(255,255,255,0.18) !important; pointer-events:none !important; }
.cta-icon-btn:hover,
.cta-icon-btn:focus-visible{
  background-image: url("/Portals/0/ThemePluginPro/uploads/2025/10/13/cta-ico-red.png") !important;
  transform: translateY(-1px) scale(1.06) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.34), 0 10px 24px rgba(0,0,0,0.38), 0 0 0 6px rgba(255,255,255,0.06) !important;
}

/* Smaller CTA inside pill so it doesn’t touch edges */
.floating-active .cta-icon-btn {
  width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important;
  background-size: 24px 24px !important; border-radius: 10px !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.24), 0 4px 12px rgba(0,0,0,0.24) !important;
}

/* your existing logo rule kept */
#logo767642 img{ max-width:500px !important; }


/* CASE STUDIES */
.video-mockup {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 12px;
}
.vm-device { position: relative; width: 100%; margin: 0 auto; }
.vm-bezel {
  position: relative;
  border-radius: 18px;
  background: #0e0f12;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.25) inset;
  overflow: hidden;
}
.vm-bezel::before { content: ""; display: block; padding-top: 56.25%; } /* 16:9 */

.video-el {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 12px;
  background: #000;
  object-fit: cover;
}
.vm-notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 6px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  z-index: 3;
}
.vm-glare {
  pointer-events: none;
  position: absolute; inset: 10px;
  border-radius: 12px;
  background: linear-gradient(210deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 35%);
  mix-blend-mode: screen;
  opacity: .35;
}
.video-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 84px; height: 84px; border-radius: 999px; border: 0;
  background: rgba(0,0,0,0.55);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35), 0 0 0 2px rgba(255,255,255,0.08) inset;
  cursor: pointer; display: grid; place-items: center;
  transition: transform .18s ease, background .18s ease, opacity .2s ease;
  z-index: 4;
}
.video-play:hover { transform: translate(-50%,-50%) scale(1.06); }
.video-play:active { transform: translate(-50%,-50%) scale(0.98); }
.video-play.hidden { opacity: 0; pointer-events: none; }
.video-play .vp-icon {
  display: block; width: 0; height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.video-el.playing + .video-play + .vm-glare { opacity: .25; }
.vm-stand {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -12px; width: 55%; height: 16px; border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.25), rgba(0,0,0,0) 70%);
  filter: blur(2px);
}
.video-play:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.85), 0 8px 20px rgba(0,0,0,0.35); }
@media (max-width: 640px) {
  .video-play { width: 66px; height: 66px; }
  .video-play .vp-icon { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
  .vm-notch { width: 58px; }
}

/* PARALAX SVCS */
/* ====== PMAFX: LAYOUT WRAPPER (no conflicts) ====== */
.pmafx-sec {
  position: relative;
  overflow: hidden;
}
.pmafx-wrap {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: 991px){
  .pmafx-wrap { padding-top: 44px; padding-bottom: 44px; }
}

/* ====== BACKGROUND: DOT MATRIX (crisp) ====== */
.pmafx-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* visible dots; adjust size/gap by changing the 1px / 22px numbers */
.pmafx-bg-dots {
  background-image: radial-gradient(#d2d2d2 1px, rgba(0,0,0,0) 1px);
  background-size: 22px 22px;
  background-position: 0 0;
}

/* optional: very light grid (swap in HTML if preferred) */
.pmafx-bg-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, rgba(0,0,0,0) 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, rgba(0,0,0,0) 1px);
  background-size: 34px 34px, 34px 34px;
}

/* ====== TYPOGRAPHY / DECORATIONS (clean lines) ====== */
.pmafx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .9rem;
  color: #333333;
}
.pmafx-eyebrow .fa {
  font-size: .95rem;
  color: #ec2427; /* accent red */
}

.pmafx-line {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.pmafx-line::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 2px;
  background: #ec2427; /* crisp thin underline bar */
  border-radius: 2px;
}

/* ====== SIDE CARD ====== */
.pmafx-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 20px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.pmafx-card h4 {
  margin: 0 0 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #121212;
}
.pmafx-card h4 .fa { color: #ec2427; }
.pmafx-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.pmafx-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  color: #333333;
}
.pmafx-list li .fa {
  color: #ec2427;
  margin-top: 2px;
}

/* ====== RESULTS / COUNTERS ====== */
.pmafx-counters {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pmafx-counter {
  grid-column: span 4;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 18px 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pmafx-counter:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.pmafx-counter .pmafx-counter-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #121212;
  font-weight: 800;
}
.pmafx-counter .pmafx-counter-head .fa {
  color: #ec2427;
  font-size: 1.1rem;
}
.pmafx-number {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 900;
  line-height: 1;
  color: #121212;
}
.pmafx-number .pmafx-n { font-size: 2.1rem; }
.pmafx-number .pmafx-unit { font-size: 1.05rem; color: #222222; }
.pmafx-counter .pmafx-title {
  margin: 6px 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #121212;
}
.pmafx-counter p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.5;
  color: #444444;
}

@media (max-width: 1199px) {
  .pmafx-counter { grid-column: span 6; }
}
@media (max-width: 767px) {
  .pmafx-counter { grid-column: span 12; }
}

/* ====== REVEAL ON SCROLL ====== */
.pmafx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: transform .6s ease, opacity .6s ease;
  will-change: transform, opacity;
}
.pmafx-reveal.pmafx-in {
  opacity: 1;
  transform: translateY(0);
}

/* ====== PARALLAX (subtle) ====== */
.pmafx-parallax {
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* helper spacing blocks if you need them */
.pmafx-space-24 { height: 24px; }
.pmafx-space-32 { height: 32px; }
.pmafx-space-48 { height: 48px; }



/* FOOTER DARK TEXT */
.education-footer, .education-footer p, .education-footer .row span, .education-footer a, .education-footer a:link, .education-footer a:visited, .education-footer li {
    color: #fff !important;
}


