body{
    background color: blue;
}

html {
  scroll-behavior: smooth;
}

/* Corporate hero carousel */
@keyframes slide-left {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  10%, 28% {
    opacity: 1;
    transform: translateX(0);
  }
  40%, 100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

.slide {
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.s1 { animation-name: slide-left; animation-delay: 0s; }
.slide.s2 { animation-name: slide-left; animation-delay: 6s; }
.slide.s3 { animation-name: slide-left; animation-delay: 12s; }
.slide.s4 { animation-name: slide-left; animation-delay: 18s; }

/* Center hero content */
.hero-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Typing headline */
.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  width: 0;
  max-width: 100%;
  vertical-align: bottom;
  animation:
    typing var(--t, 1.8s) steps(var(--steps, 28), end) forwards,
    blink 0.8s step-end infinite,
    cursorOff 0s linear forwards;
  animation-delay:
    var(--delay, 0.4s),
    calc(var(--delay, 0.4s) + var(--t, 1.8s)),
    calc(var(--delay, 0.4s) + var(--t, 1.8s));
}

.t1 { --steps: 28; --t: 1.8s; --delay: 0.4s; }
.t2 { --steps: 18; --t: 1.4s; --delay: 6.4s; }
.t3 { --steps: 16; --t: 1.4s; --delay: 12.4s; }
.t4 { --steps: 26; --t: 1.8s; --delay: 18.4s; }

@keyframes typing {
  to {
    width: calc(var(--steps) * 1ch);
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes cursorOff {
  to {
    border-right-color: transparent;
  }
}

/* Tech section background helpers */
.tech-bg {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tech-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(16, 185, 129, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(99, 102, 241, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.92));
  pointer-events: none;
}

.tech-bg::after {
  content: "";
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.22;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at 50% 30%,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0) 85%
  );
}

.tech-inner {
  position: relative;
  z-index: 1;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUp {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUpSmall {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpSmall {
  animation: fadeUpSmall 0.9s ease forwards;
}

/* Mobile typing safety */
@media (max-width: 640px) {
  .typing {
    max-width: 100%;
  }
}