.hero-fx-shell {
  position: relative;
  overflow: hidden;
}

.hero-fx-shell:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/Sliderimage.jpg") center center / cover no-repeat;
  transform-origin: center center;
  animation: heroFxBgZoom 18s ease-in-out infinite;
  will-change: transform;
}

.hero-fx-shell:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 8, 14, 0.62);
  pointer-events: none;
}

.hero-fx-shell .bannar-full,
.hero-fx-shell .home-content,
.hero-fx-shell .home-text {
  position: relative;
  z-index: 3;
}

.hero-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-fx-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 17, 28, 0.58) 8%, rgba(11, 17, 28, 0.28) 45%, rgba(122, 181, 66, 0.13) 100%);
  animation: heroFxOverlayShift 12s ease-in-out infinite;
}

.hero-fx-card {
  position: absolute;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  letter-spacing: 0.2px;
  opacity: 0.9;
  animation: heroFxCardFloat 8s ease-in-out infinite;
}

.hero-fx-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-fx-card--role {
  left: 8%;
  top: 20%;
  animation-delay: 0.2s;
  border-radius: 16px 16px 16px 4px;
}

.hero-fx-card--hire {
  right: 10%;
  top: 26%;
  animation-delay: 1.8s;
  border-radius: 999px;
  padding-left: 16px;
  padding-right: 16px;
}

.hero-fx-card--salary {
  left: 15%;
  bottom: 8%;
  animation-delay: 3.1s;
  transform: rotate(-2deg);
}

.hero-fx-card--speed {
  right: 16%;
  bottom: 6%;
  animation-delay: 2.4s;
  border-radius: 14px;
  padding-left: 14px;
  padding-right: 14px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
}

.hero-fx-chip {
  position: absolute;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(9, 16, 27, 0.42);
  color: #f4f7fb;
  font-size: 12px;
  font-weight: 600;
  animation: heroFxChipDrift 9s ease-in-out infinite;
}

.hero-fx-chip--a {
  left: 34%;
  top: 18%;
  animation-delay: 0.6s;
}

.hero-fx-chip--b {
  right: 12%;
  top: 12%;
  animation-delay: 2.1s;
}

.hero-fx-chip--c {
  left: 14%;
  top: 10%;
  animation-delay: 3.4s;
}

.hero-fx-blinker {
  position: absolute;
  right: 8%;
  top: 50%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 72, 72, 0.2);
  border: 1px solid rgba(255, 112, 112, 0.68);
  color: #fff4f4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 0 0 rgba(255, 74, 74, 0.5);
  animation: heroFxBlinkPulse 1.4s ease-in-out infinite;
}

.hero-fx-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c5c;
  margin-right: 7px;
  vertical-align: middle;
  animation: heroFxDotPulse 1s ease-in-out infinite;
}

/* Keep a clean visual zone around CTA buttons */
.hero-fx-safe-zone {
  position: absolute;
  left: 31%;
  top: 47%;
  width: 38%;
  height: 40%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(11, 17, 28, 0.36) 0%, rgba(11, 17, 28, 0) 72%);
}

.hero-fx-shell .home-text h3 {
  animation: heroFxClassicText 6s ease-in-out infinite;
}

.hero-fx-shell .home-text .banner-text {
  animation: none;
}

.hero-fx-shell .bannar-buttons .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-fx-shell .bannar-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

@keyframes heroFxCardFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  35% { transform: translateY(-12px) translateX(4px); }
  65% { transform: translateY(-6px) translateX(-3px); }
}

@keyframes heroFxChipDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.86; }
  50% { transform: translateY(-10px) scale(1.03); opacity: 1; }
}

@keyframes heroFxOverlayShift {
  0%, 100% { opacity: 0.86; }
  50% { opacity: 1; }
}

@keyframes heroFxHeading {
  0%, 100% { transform: translateY(0); text-shadow: 0 0 0 rgba(122, 181, 66, 0); }
  50% { transform: translateY(-2px); text-shadow: 0 0 18px rgba(122, 181, 66, 0.26); }
}

@keyframes heroFxSubheading {
  0%, 100% { opacity: 0.92; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

@keyframes heroFxBgZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes heroFxBlinkPulse {
  0%, 100% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 rgba(255, 74, 74, 0.42);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(255, 74, 74, 0);
  }
}

@keyframes heroFxDotPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes heroFxClassicText {
  0%, 100% {
    opacity: 0.92;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.26);
  }
}

@media (max-width: 991.98px) {
  .hero-fx-card {
    min-width: 132px;
    font-size: 12px;
    padding: 8px 11px;
  }

  .hero-fx-blinker {
    right: 7%;
    top: 14%;
  }
}

@media (max-width: 767.98px) {
  .hero-fx-card--salary,
  .hero-fx-card--speed,
  .hero-fx-chip--c,
  .hero-fx-safe-zone,
  .hero-fx-blinker {
    display: none;
  }
}
