/*
Theme Name: IE Advance Engineering
Theme URI: https://ie.jextures.com
Author: IE Advance Engineering Services
Description: Custom WordPress theme for IE Advance Engineering Services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: ie-advance
*/

:root {
  --ie-navy: #030b2d;
  --ie-ink: #252944;
  --ie-muted: #858997;
  --ie-soft: #eef7fa;
  --ie-line: #e7e9ee;
  --ie-orange: #ff6b2b;
  --ie-orange-dark: #d95422;
  --ie-white: #ffffff;
  --ie-max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ie-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

html.iee-intro-lock,
html.iee-intro-lock body {
  overflow: hidden;
}

.iee-video-intro {
  position: fixed;
  top: var(--ie-intro-y, 0);
  left: var(--ie-intro-x, 0);
  width: var(--ie-intro-w, 100vw);
  height: var(--ie-intro-h, 100vh);
  z-index: 999999;
  overflow: hidden;
  background: #050505;
  transform-origin: top left;
  border-radius: var(--ie-intro-radius, 0);
  box-shadow: 0 22px 70px rgba(0,0,0,.34);
  will-change: top, left, width, height, border-radius;
}

.iee-video-intro__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iee-video-intro__cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 11px;
  color: #fff;
  font-family: "Strichpunkt Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  opacity: var(--ie-intro-cue-opacity, 1);
  transform: translateX(-50%);
  transition: opacity .18s ease;
  cursor: ns-resize;
}

.iee-video-intro__cue i {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), rgba(255,255,255,.95));
  position: relative;
  overflow: hidden;
}

.iee-video-intro__cue i::after {
  position: absolute;
  top: -18px;
  left: -3px;
  width: 7px;
  height: 18px;
  border-radius: 99px;
  background: #fff;
  content: "";
  animation: iee-scroll-cue 1.28s cubic-bezier(.65, 0, .35, 1) infinite;
}

.iee-video-intro__skip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.iee-video-intro.is-complete {
  opacity: 0;
  transition: opacity .22s ease;
}

@keyframes iee-scroll-cue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(70px);
    opacity: 0;
  }
}

.iee-hero-media {
  position: relative;
  overflow: hidden;
  background-color: #050505;
}

.iee-hero-bg-video,
.iee-hero-media .elementor-background-video-container,
.iee-hero-media .elementor-background-video-hosted {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.iee-hero-media > .elementor-container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .iee-video-intro {
    display: none;
  }
}

.ie-container {
  width: min(var(--ie-max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 3;
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.site-logo img {
  width: 182px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #33384b;
  font-size: 13px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ie-line);
  border-radius: 6px;
  background: #fff;
  color: var(--ie-ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.hero {
  background: #fff;
}

.hero__headline {
  max-width: 1082px;
  margin: 0 auto 36px;
  color: var(--ie-ink);
  font-size: clamp(34px, 4.1vw, 56px);
  font-weight: 700;
  line-height: 1.18;
}

.hero__headline strong {
  color: var(--ie-orange);
  font-weight: 700;
}

.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #131723;
}

.hero__media img {
  width: 100%;
  height: 634px;
  object-fit: cover;
}

.hero__copy {
  position: absolute;
  left: max(390px, calc((100vw - var(--ie-max)) / 2));
  top: 90px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.hero__actions {
  position: absolute;
  left: max(390px, calc((100vw - var(--ie-max)) / 2));
  bottom: 142px;
  display: flex;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.button--primary {
  color: #fff;
  background: var(--ie-orange);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.18);
}

.trust-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(90deg, rgba(3, 11, 45, 0.2), rgba(3, 11, 45, 0.72), rgba(3, 11, 45, 0.25));
  backdrop-filter: blur(10px);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 28px;
  align-items: center;
  font-size: 13px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-dot {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 96px 0;
}

.section--dark {
  color: #fff;
  background: var(--ie-navy);
}

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

.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ie-orange);
  font-size: 13px;
  font-weight: 700;
}

.section h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.14;
}

.section h2 .muted {
  color: #9296a2;
}

.section p {
  margin: 0;
  color: var(--ie-muted);
  font-size: 16px;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.challenge-image {
  width: min(100%, 1530px);
  margin: 42px auto 0;
}

.solutions-list {
  margin-top: 56px;
  border-top: 1px solid var(--ie-line);
}

.solution-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ie-line);
}

.solution-row h3 {
  margin: 0 0 12px;
  color: var(--ie-orange);
  font-size: 16px;
}

.solution-row img {
  width: 100%;
  border-radius: 6px;
}

.partners {
  padding: 56px 0 64px;
  background: #edf7fb;
}

.partners h3,
.clients h3 {
  margin: 0 0 28px;
  text-align: center;
  color: #4c5265;
  font-size: 16px;
}

.partners img,
.clients img {
  margin: 0 auto;
}

.results {
  padding: 88px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.metric {
  min-height: 160px;
  padding: 28px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--ie-orange), #ffbd69);
}

.metric span {
  display: block;
  max-width: 240px;
  font-size: 15px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 46px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.process {
  text-align: center;
}

.process__intro {
  max-width: 700px;
  margin: 14px auto 72px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 160px;
  text-align: left;
}

.step {
  min-height: 150px;
  border-top: 1px solid var(--ie-line);
  padding-top: 18px;
}

.step__label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--ie-orange);
  background: #fff0e9;
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  color: var(--ie-ink);
  font-size: 18px;
}

.industries {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 572px;
  gap: 90px;
  align-items: start;
}

.industries__visual {
  border-radius: 6px;
  box-shadow: 0 24px 55px rgba(217, 84, 34, 0.2);
}

.clients {
  padding: 70px 0 40px;
  background: #f5fbfd;
}

.cta-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ie-navy);
}

.cta-footer__image {
  width: 100%;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.58);
  background: var(--ie-navy);
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 960px) {
  .site-header__inner {
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--ie-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(3, 11, 45, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero__headline {
    margin-top: 14px;
  }

  .hero__media {
    min-height: 640px;
  }

  .hero__media img {
    height: 640px;
  }

  .hero__copy,
  .hero__actions {
    left: 20px;
    right: 20px;
  }

  .hero__actions {
    bottom: 210px;
    flex-wrap: wrap;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .section__grid,
  .solution-row,
  .industries,
  .metrics,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section__grid,
  .solution-row,
  .industries,
  .process-grid {
    gap: 34px;
  }

  .industries {
    align-items: stretch;
  }

  .industries__visual {
    width: min(100%, 572px);
    margin: 0 auto;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .ie-container {
    width: min(100% - 28px, var(--ie-max));
  }

  .site-logo img {
    width: 148px;
  }

  .hero__media,
  .hero__media img {
    height: 700px;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section {
    padding: 68px 0;
  }

  .metric {
    min-height: 130px;
  }
}
