/* Show reel section fixes */
section.show_reel_section .inner {
  position: relative;
}

section.show_reel_section .inner video {
  display: block;
  background: var(--dark-navy, #000033);
}

section.show_reel_section .inner .play_button::after {
  -webkit-mask-image: url("../images/icons/ic_play.svg");
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open {
  transform: translateX(0);
}

/* Keep overlay/close button visible (header overflow was clipping it) */
.MainHeader_header__qzXFh:has(.MainHeader_overlay__MPMUi.open),
.MainHeader_header__qzXFh.nav-open {
  overflow: visible;
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li a {
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li:nth-child(1) a { transition-delay: 0.05s; }
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li:nth-child(2) a { transition-delay: 0.1s; }
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li:nth-child(3) a { transition-delay: 0.15s; }
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li:nth-child(4) a { transition-delay: 0.2s; }
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li:nth-child(5) a { transition-delay: 0.25s; }
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi.open nav ul li:nth-child(6) a { transition-delay: 0.3s; }

/* Close button — CSS X (mask was not showing reliably) */
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi nav .MainHeader_close_btn__wH4Y_ {
  position: absolute;
  top: 0;
  left: 1.2vw;
  z-index: 20;
  height: 44px;
  width: 44px;
  border: 0;
  outline: 0;
  padding: 0;
  cursor: pointer;
  background: transparent !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi nav .MainHeader_close_btn__wH4Y_::before,
.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi nav .MainHeader_close_btn__wH4Y_::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--nav-text, #f7f8fc);
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi nav .MainHeader_close_btn__wH4Y_::before {
  transform: rotate(45deg);
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi nav .MainHeader_close_btn__wH4Y_::after {
  transform: rotate(-45deg);
}

.MainHeader_header__qzXFh .MainHeader_overlay__MPMUi nav .MainHeader_close_btn__wH4Y_:hover {
  transform: rotate(90deg);
}

/* Fix paths from second stylesheet chunk */
.ServiceItem_item__aMjW9 .ServiceItem_content__um_ye .ServiceItem_desc__W8odi .ServiceItem_title__yxsdz .ServiceItem_arrow__LEtp1::after,
.ServiceItem_item__aMjW9 .ServiceItem_content__um_ye .ServiceItem_desc__W8odi .ServiceItem_title__yxsdz .ServiceItem_arrow__LEtp1::before {
  mask-image: url("../images/icons/ic_arrow_yellow.svg");
  -webkit-mask-image: url("../images/icons/ic_arrow_yellow.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

/* Industries reel duplicate columns */
section.industries_section .inner .content_wrapper .reel_wrapper .reel-col.second {
  animation: industries-reel-second 24s linear infinite;
}

@keyframes industries-reel-second {
  0% { transform: translateY(35%); }
  100% { transform: translateY(-100%); }
}

/* Visible content without GSAP */
section.future_section .inner .content .para_wrapper p {
  opacity: 1 !important;
  transform: none !important;
}

/* Without GSAP, don't clip hero/future headings */
.home_hero_section .inner .content .big > span,
section.future_section .inner .content .big > span {
  overflow: visible !important;
}

/* Making Life Easier watermark — softer so content stays readable */
section.future_section .inner .backdrop img {
  opacity: 0.42 !important;
  filter:
    brightness(1.2)
    drop-shadow(0 0 1px rgba(247, 248, 252, 0.55)) !important;
}

section.future_section .inner .backdrop img:nth-child(1) { opacity: 0.55 !important; }
section.future_section .inner .backdrop img:nth-child(2) { opacity: 0.4 !important; }
section.future_section .inner .backdrop img:nth-child(3) { opacity: 0.28 !important; }
section.future_section .inner .backdrop img:nth-child(4) { opacity: 0.18 !important; }
section.future_section .inner .backdrop img:nth-child(5) { opacity: 0.1 !important; }

[data-theme="light"] section.future_section .inner .backdrop img {
  opacity: 0.28 !important;
  filter:
    brightness(0.7)
    drop-shadow(0 0 1px rgba(0, 0, 51, 0.2)) !important;
}

[data-theme="light"] section.future_section .inner .backdrop img:nth-child(1) { opacity: 0.36 !important; }
[data-theme="light"] section.future_section .inner .backdrop img:nth-child(2) { opacity: 0.26 !important; }
[data-theme="light"] section.future_section .inner .backdrop img:nth-child(3) { opacity: 0.18 !important; }
[data-theme="light"] section.future_section .inner .backdrop img:nth-child(4) { opacity: 0.12 !important; }
[data-theme="light"] section.future_section .inner .backdrop img:nth-child(5) { opacity: 0.07 !important; }

/* Tighter mobile hero spacing */
@media (max-width: 910px) {
  .home_hero_section .inner {
    min-height: auto;
  }

  .home_hero_section .inner > div {
    flex: 0 0 auto !important;
  }

  .home_hero_section .inner .content {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  body main {
    padding-top: 0;
  }
}
