/* Full-bleed hero image override for content pages. */
.vh-full-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(24, 72, 128, 0.24), transparent 34%),
    linear-gradient(135deg, #050a1a 0%, #0f1a3d 52%, #12285a 100%);
  color: var(--light);
}

.vh-full-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  background:
    radial-gradient(circle at 82% 28%, rgba(18, 68, 128, 0.18), transparent 38%),
    linear-gradient(135deg, #050a1a 0%, #0f1a3d 56%, #12285a 100%) !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  pointer-events: none;
}

.vh-full-hero > .container,
.vh-full-hero .hero-content {
  position: static !important;
}

.vh-full-hero .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 760px) !important;
  align-items: center;
  gap: 0 !important;
  min-height: min(760px, 92vh);
}

.vh-full-hero .hero-image {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 28%, rgba(18, 68, 128, 0.16), transparent 38%),
    linear-gradient(135deg, #050a1a 0%, #0f1a3d 56%, #12285a 100%) !important;
}

.js-scroll-reveal .vh-full-hero .hero-image.scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

.vh-full-hero picture {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.vh-full-hero .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 10, 26, 0.84) 0%, rgba(15, 26, 61, 0.64) 42%, rgba(15, 26, 61, 0.2) 74%, rgba(5, 10, 26, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 10, 26, 0.1), rgba(5, 10, 26, 0.26));
  pointer-events: none;
}

.vh-full-hero .hero-img {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  filter: brightness(1.12) saturate(1.06);
  transform: none !important;
}

.vh-full-hero .hero-img:hover {
  transform: none !important;
}

.vh-full-hero .hero-text,
.vh-full-hero .section-header {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0;
  padding: 3rem 0;
  color: var(--light);
  text-align: left;
}

.vh-full-hero .section-title,
.vh-full-hero .section-subtitle,
.vh-full-hero .hero-title,
.vh-full-hero .hero-subtitle {
  color: var(--light);
}

.vh-full-hero .section-title::after {
  left: 0;
  transform: none;
}

.vh-full-hero .section-subtitle,
.vh-full-hero .hero-subtitle {
  max-width: 680px;
  margin-left: 0;
  margin-right: 0;
  opacity: 0.94;
}

.vh-full-hero .floating-elements {
  display: none;
}

.vh-full-hero#particles-js,
.vh-full-hero #particles-js {
  display: none;
}

html[dir="rtl"] .vh-full-hero .hero-text,
html[dir="rtl"] .vh-full-hero .section-header,
html[dir="rtl"] .vh-full-hero .hero-title,
html[dir="rtl"] .vh-full-hero .hero-subtitle,
html[dir="rtl"] .vh-full-hero .section-title,
html[dir="rtl"] .vh-full-hero .section-subtitle {
  text-align: right;
}

html[dir="rtl"] .vh-full-hero .section-title::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .vh-full-hero .hero-image::after {
  background:
    linear-gradient(270deg, rgba(5, 10, 26, 0.84) 0%, rgba(15, 26, 61, 0.64) 42%, rgba(15, 26, 61, 0.2) 74%, rgba(5, 10, 26, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 10, 26, 0.1), rgba(5, 10, 26, 0.26));
}

@media (min-width: 769px) {
  .vh-full-hero {
    min-height: 100vh;
  }

  .vh-full-hero > .container {
    width: min(100% - clamp(4.5rem, 8vw, 9rem), 1680px);
    max-width: 1680px;
    margin-inline: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vh-full-hero .hero-content {
    width: min(900px, 58vw) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-items: start !important;
  }

  .vh-full-hero .hero-text,
  .vh-full-hero .section-header {
    max-width: min(900px, 58vw) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .vh-full-hero .hero-title,
  .vh-full-hero .section-title,
  .vh-full-hero .hero-subtitle,
  .vh-full-hero .section-subtitle {
    text-align: left !important;
  }

  .vh-full-hero .hero-cta,
  .vh-full-hero .contact-mode-selector,
  .vh-full-hero .trust-badges {
    justify-content: flex-start !important;
  }

  .vh-full-hero .section-title::after {
    left: 0 !important;
    transform: none !important;
  }

  .vh-full-hero .hero-image::after {
    background:
      linear-gradient(90deg, rgba(5, 10, 26, 0.88) 0%, rgba(15, 26, 61, 0.72) 36%, rgba(15, 26, 61, 0.26) 64%, rgba(5, 10, 26, 0.12) 100%),
      linear-gradient(180deg, rgba(5, 10, 26, 0.06), rgba(5, 10, 26, 0.18));
  }

  .services-hero.vh-full-hero .hero-text,
  .process-hero.vh-full-hero .hero-text {
    transform: translateY(clamp(2rem, 4vh, 3.2rem));
  }

  .services-hero.vh-full-hero .hero-img {
    object-position: 62% center;
  }

  .process-hero.vh-full-hero .hero-img {
    object-position: 60% center;
  }

  .contact-hero.vh-full-hero .hero-img {
    object-position: 62% center;
  }

  html[dir="rtl"] .vh-full-hero .hero-content,
  html[lang="ar"] .vh-full-hero .hero-content {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-items: end !important;
  }

  html[dir="rtl"] .vh-full-hero .hero-text,
  html[dir="rtl"] .vh-full-hero .section-header,
  html[lang="ar"] .vh-full-hero .hero-text,
  html[lang="ar"] .vh-full-hero .section-header {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
  }

  html[dir="rtl"] .vh-full-hero .hero-title,
  html[dir="rtl"] .vh-full-hero .section-title,
  html[dir="rtl"] .vh-full-hero .hero-subtitle,
  html[dir="rtl"] .vh-full-hero .section-subtitle,
  html[lang="ar"] .vh-full-hero .hero-title,
  html[lang="ar"] .vh-full-hero .section-title,
  html[lang="ar"] .vh-full-hero .hero-subtitle,
  html[lang="ar"] .vh-full-hero .section-subtitle {
    text-align: right !important;
  }

  html[dir="rtl"] .vh-full-hero .hero-cta,
  html[dir="rtl"] .vh-full-hero .contact-mode-selector,
  html[dir="rtl"] .vh-full-hero .trust-badges,
  html[lang="ar"] .vh-full-hero .hero-cta,
  html[lang="ar"] .vh-full-hero .contact-mode-selector,
  html[lang="ar"] .vh-full-hero .trust-badges {
    justify-content: flex-end !important;
  }

  html[dir="rtl"] .vh-full-hero .section-title::after,
  html[lang="ar"] .vh-full-hero .section-title::after {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .vh-full-hero .hero-content {
    min-height: 680px;
  }

  .vh-full-hero .hero-text,
  .vh-full-hero .section-header {
    max-width: 680px;
    padding: 2.5rem 0;
  }
}

@media (max-width: 768px) {
  .vh-full-hero,
  body:not(.home-page) .hero.vh-full-hero,
  .contact-hero.vh-full-hero {
    box-sizing: border-box;
    min-height: calc(100vh + 82px) !important;
    min-height: calc(100svh + 82px) !important;
    min-height: calc(100dvh + 82px) !important;
    height: auto !important;
    display: flex;
    align-items: center;
    padding-top: clamp(118px, 18svh, 150px) !important;
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  .vh-full-hero .hero-content,
  body:not(.home-page) .hero.vh-full-hero .hero-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: calc(100svh - 220px);
    min-height: calc(100dvh - 220px);
    padding: 0 !important;
  }

  .vh-full-hero > .container,
  body:not(.home-page) .hero.vh-full-hero > .container {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(1.15rem, 5vw, 1.6rem) !important;
    padding-right: clamp(1.15rem, 5vw, 1.6rem) !important;
    overflow: hidden;
  }

  .vh-full-hero .hero-text,
  body:not(.home-page) .hero.vh-full-hero .hero-text,
  .vh-full-hero .section-header {
    width: 100%;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-wrap: anywhere;
  }

  .vh-full-hero .hero-subtitle,
  body:not(.home-page) .hero.vh-full-hero .hero-subtitle,
  .vh-full-hero .section-subtitle {
    width: 100%;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .vh-full-hero .hero-cta,
  body:not(.home-page) .hero.vh-full-hero .hero-cta,
  .vh-full-hero .contact-mode-selector {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .vh-full-hero .hero-cta .btn,
  body:not(.home-page) .hero.vh-full-hero .hero-cta .btn,
  .vh-full-hero .contact-mode-selector .mode-btn {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .vh-full-hero .trust-badges,
  body:not(.home-page) .hero.vh-full-hero .trust-badges {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    overflow: hidden;
  }

  .vh-full-hero .trust-item,
  body:not(.home-page) .hero.vh-full-hero .trust-item {
    min-width: 0;
    overflow: hidden;
  }

  .vh-full-hero .hero-image,
  body:not(.home-page) .hero.vh-full-hero .hero-image {
    position: absolute !important;
    inset: 0 !important;
    order: initial !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .vh-full-hero .hero-img,
  body:not(.home-page) .hero.vh-full-hero .hero-img {
    height: 100% !important;
  }

  .vh-full-hero .hero-text,
  .vh-full-hero .section-header {
    text-align: center;
    padding: 1.5rem 0 0;
  }

  .vh-full-hero .hero-title,
  .vh-full-hero .section-title {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.7rem) !important;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .vh-full-hero .hero-title span,
  .vh-full-hero .section-title span {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .vh-full-hero .hero-subtitle,
  .vh-full-hero .section-subtitle {
    max-width: 100%;
    font-size: 1rem;
  }

  html[dir="rtl"] .vh-full-hero .hero-text,
  html[dir="rtl"] .vh-full-hero .section-header {
    text-align: center;
  }

  .vh-full-hero .section-title::after,
  html[dir="rtl"] .vh-full-hero .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .vh-full-hero .section-subtitle,
  .vh-full-hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .vh-full-hero .hero-cta,
  .vh-full-hero .contact-mode-selector {
    justify-content: center;
  }

  .vh-full-hero .hero-image::after,
  html[dir="rtl"] .vh-full-hero .hero-image::after {
    background:
      linear-gradient(180deg, rgba(5, 10, 26, 0.58) 0%, rgba(15, 26, 61, 0.52) 42%, rgba(5, 10, 26, 0.76) 100%),
      linear-gradient(90deg, rgba(5, 10, 26, 0.36), rgba(5, 10, 26, 0.12));
  }
}

@media (max-width: 480px) {
  .vh-full-hero,
  body:not(.home-page) .hero.vh-full-hero,
  .contact-hero.vh-full-hero {
    min-height: calc(100vh + 82px) !important;
    min-height: calc(100svh + 82px) !important;
    min-height: calc(100dvh + 82px) !important;
    padding-top: clamp(110px, 16svh, 138px) !important;
  }

  .vh-full-hero .hero-content {
    min-height: calc(100svh - 210px);
    min-height: calc(100dvh - 210px);
  }

  .vh-full-hero .hero-title,
  .vh-full-hero .section-title {
    font-size: clamp(1.8rem, 8.5vw, 2.2rem) !important;
  }
}
