/* Body background only on index.php */
body.ai-bg {
  background-image: url("../img/ai-hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body.ai-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* HERO section with AI background inside card */
.hero-ai {
  background-image: url("../img/ai-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.75rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-ai-content {
  position: relative;
  z-index: 1;
}