/* ==========================================================================
   TrynixTech — Creative & Meaningful Hero Section
   Modern High-Impact Engineering Studio Design with Interactive System Canvas
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & Global Hero Base
   -------------------------------------------------------------------------- */
body {
  margin: 0 !important;
  padding: 0 !important;
}

.white-speech {
  display: none !important;
}

/* --------------------------------------------------------------------------
   2. Sticky Header & Glassmorphic Floating Center Menu Capsule
   -------------------------------------------------------------------------- */
/* Persistent Floating Top Navigation Bar (Always Visible & Floating on Scroll) */
.site-header,
header.site-header,
.wionheader-section,
.wionheader-section.hide-header,
header.hide-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transform: none !important;
  -webkit-transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.site-header.hide-on-footer,
header.site-header.hide-on-footer,
.wionheader-section.hide-on-footer {
  transform: translateY(-130%) !important;
  -webkit-transform: translateY(-130%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
}

.wionheader-section {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.wionheader-section.sticky-menu {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.65) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
  padding: 12px 0 !important;
}

/* Center Menu Flex Alignment */
.wionheader-section .wionmain-menu-item {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Glassmorphism Floating Pill Container (Only for Navigation Menu) */
.wionheader-section .main-menu {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 5px 8px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    0 8px 30px -4px rgba(15, 23, 42, 0.07),
    0 2px 6px -1px rgba(15, 23, 42, 0.03),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wionheader-section .main-menu:hover {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  box-shadow:
    0 12px 36px -4px rgba(15, 23, 42, 0.1),
    0 4px 10px -2px rgba(15, 23, 42, 0.05),
    inset 0 1px 2px 0 #ffffff !important;
}

.wionheader-section.sticky-menu .main-menu {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 8px 24px -2px rgba(15, 23, 42, 0.08),
    0 2px 6px -1px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px 0 #ffffff !important;
}

/* Menu List & Items */
.wionheader-section .main-menu ul {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.wionheader-section .main-menu>ul>li,
.wionheader-section .main-menu ul li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: inline-flex !important;
}

/* Individual Pill Navigation Links */
.wionheader-section .main-menu ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 18px !important;
  font-family: SatoshiMedium, 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 550 !important;
  letter-spacing: -0.01em !important;
  color: #1e293b !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  position: relative !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wionheader-section .main-menu ul li a:hover {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
  transform: translateY(0px);
}

.wionheader-section .main-menu ul li.active>a,
.wionheader-section .main-menu ul li a.active {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.12) !important;
  font-weight: 600 !important;
}

@media (max-width: 1200px) {
  .wionheader-section .main-menu ul li a {
    padding: 6px 13px !important;
    font-size: 13.5px !important;
  }
}

/* --------------------------------------------------------------------------
   CTA Button: "Start a Project" (Black BG & Hover Effect)
   -------------------------------------------------------------------------- */
.wionheader-section .wiondefault-btn.wionheader-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-family: SatoshiMedium, 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  padding: 10px 24px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.28) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Remove default theme bottom line */
.wionheader-section .wiondefault-btn.wionheader-btn::before {
  display: none !important;
}

/* Light sweep reflection on hover */
.wionheader-section .wiondefault-btn.wionheader-btn::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -120% !important;
  width: 70% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent) !important;
  transform: skewX(-20deg) !important;
  transition: left 0.6s ease !important;
  pointer-events: none !important;
}

/* Invert arrow icons to pure white */
.wionheader-section .wiondefault-btn.wionheader-btn span.wionbutton-icon {
  margin-left: 2px !important;
  display: inline-block !important;
  position: relative !important;
  width: 14px !important;
  height: 14px !important;
  overflow: hidden !important;
}

.wionheader-section .wiondefault-btn.wionheader-btn span.wionbutton-icon img {
  filter: brightness(0) invert(1) !important;
}

/* CTA Hover Effect: Elevated Lift, Glow, Dark Slate Shift, Light Sweep */
.wionheader-section .wiondefault-btn.wionheader-btn:hover {
  background-color: #18181b !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 1.5px rgba(255, 255, 255, 0.35) !important;
  transform: translateY(0px) !important;
}

.wionheader-section .wiondefault-btn.wionheader-btn:hover::after {
  left: 160% !important;
}

.wionheader-section .wiondefault-btn.wionheader-btn:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Mobile Drawer CTA Button */
.wionmobile-menu-btn .wionheader-btn.btn2 {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 12px 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

.wionmobile-menu-btn .wionheader-btn.btn2::before {
  display: none !important;
}

.wionmobile-menu-btn .wionheader-btn.btn2 span.wionbutton-icon img {
  filter: brightness(0) invert(1) !important;
}

/* --------------------------------------------------------------------------
   3. Middle-Aligned TrynixTech Full-Screen Hero (1920 × 1080 Viewport)
   -------------------------------------------------------------------------- */
.trynix-custom-hero {
  position: relative;
  margin-top: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background-color: #ffffff !important;
  padding: clamp(90px, 12vh, 120px) 0 clamp(40px, 6vh, 60px) 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  isolation: isolate;
  border: none !important;
  box-shadow: none !important;
}

/* Background Stage Canvas */
.hero-bg-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Outer Continuous Cinematic Motion Wrapper */
.hero-bg-motion-wrapper {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  will-change: transform;
  animation: heroCinematicDrift 16s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Inner Mouse Interactive Parallax Wrapper */
.hero-bg-interactive-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.4, 1);
  will-change: transform;
}

/* The uploaded image with continuous dynamic ambient float */
.hero-bg-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: contrast(103%) brightness(101%);
  animation: heroImgPulse 10s ease-in-out infinite alternate;
  will-change: transform;
}

/* Continuous multi-axis camera pan & floating keyframes */
@keyframes heroCinematicDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0) rotate(0deg);
  }

  25% {
    transform: scale(1.06) translate3d(-18px, -14px, 0) rotate(0.4deg);
  }

  50% {
    transform: scale(1.08) translate3d(16px, -22px, 0) rotate(-0.3deg);
  }

  75% {
    transform: scale(1.05) translate3d(22px, 12px, 0) rotate(0.3deg);
  }

  100% {
    transform: scale(1.03) translate3d(-12px, 16px, 0) rotate(-0.2deg);
  }
}

@keyframes heroImgPulse {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.035) translateY(-12px);
  }

  100% {
    transform: scale(1.015) translateY(8px);
  }
}

/* Horizon Moving Laser/Light Sweep Beam */
.hero-bg-light-beam {
  position: absolute;
  top: 48%;
  left: -35%;
  width: 65%;
  height: 8px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0) 10%, rgba(56, 189, 248, 0.8) 50%, rgba(129, 140, 248, 0.95) 75%, transparent 100%);
  filter: blur(5px);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.75;
  animation: heroBeamSweep 7.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}

@keyframes heroBeamSweep {
  0% {
    transform: translateX(0) scaleX(0.6);
    opacity: 0;
  }

  15% {
    opacity: 0.9;
  }

  75% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(250%) scaleX(1.4);
    opacity: 0;
  }
}

/* Floating Ambient Depth Glow Orbs */
.hero-floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: multiply;
  will-change: transform;
}

.hero-floating-orb.orb-1 {
  width: 340px;
  height: 340px;
  top: 25%;
  left: 18%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.38) 0%, transparent 70%);
  animation: orbFloat1 13s ease-in-out infinite alternate;
}

.hero-floating-orb.orb-2 {
  width: 420px;
  height: 420px;
  top: 32%;
  right: 15%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.35) 0%, transparent 70%);
  animation: orbFloat2 16s ease-in-out infinite alternate;
}

.hero-floating-orb.orb-3 {
  width: 280px;
  height: 280px;
  bottom: 22%;
  left: 42%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, transparent 70%);
  animation: orbFloat3 11s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(45px, -35px, 0) scale(1.15);
  }

  100% {
    transform: translate3d(-35px, 25px, 0) scale(0.92);
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-55px, 30px, 0) scale(1.2);
  }

  100% {
    transform: translate3d(40px, -40px, 0) scale(0.88);
  }
}

@keyframes orbFloat3 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.92);
  }

  50% {
    transform: translate3d(35px, -45px, 0) scale(1.12);
  }

  100% {
    transform: translate3d(-30px, 20px, 0) scale(1.06);
  }
}

/* Luminous Horizon Glow (Centred at vanishing point) */
.hero-horizon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(380px, 50vw, 750px);
  height: clamp(220px, 30vh, 420px);
  background: radial-gradient(ellipse at center, rgba(147, 197, 253, 0.35) 0%, rgba(196, 181, 253, 0.2) 40%, rgba(255, 255, 255, 0) 72%);
  filter: blur(48px);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
  animation: horizonShimmer 7s ease-in-out infinite alternate;
}

@keyframes horizonShimmer {
  0% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.95);
  }

  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* Soft legibility vignette so dark text is always 100% crisp */
.hero-bg-vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.38) 45%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  z-index: 2;
}

.hero-container-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Middle-Aligned Content Container */
.hero-center-content,
.hero-banner-left {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* Main Display Title (H1) — Increased Font Size */
.hero-banner-title {
  font-family: 'SatoshiBold', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(48px, 5.8vw, 92px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.038em !important;
  color: #0b132a !important;
  margin: 0 auto 30px auto !important;
  text-align: center !important;
  max-width: 1240px !important;
}

/* Value Proposition Subtitle (H2) */
.hero-banner-subtitle {
  font-family: 'SatoshiRegular', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(17px, 1.35vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.68 !important;
  letter-spacing: -0.01em !important;
  color: #475569 !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* --------------------------------------------------------------------------
   4. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 1920px) {
  .hero-container-inner {
    max-width: 1680px;
  }

  .hero-banner-title {
    font-size: 94px !important;
    max-width: 1360px !important;
    line-height: 1.08 !important;
  }

  .hero-banner-subtitle {
    font-size: 22px !important;
    max-width: 1020px !important;
  }
}

@media (max-width: 1024px) {
  .hero-banner-title {
    font-size: clamp(38px, 6.2vw, 68px) !important;
    max-width: 920px !important;
    line-height: 1.12 !important;
  }

  .hero-banner-subtitle {
    max-width: 800px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 768px) {
  .hero-banner-title {
    font-size: clamp(32px, 8.5vw, 46px) !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .trynix-custom-hero {
    padding-top: 110px !important;
    padding-bottom: 50px !important;
  }

  .hero-banner-title {
    font-size: clamp(30px, 7.5vw, 38px) !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  .hero-banner-subtitle {
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding: 0 4px;
  }
}