/* ---------- Base ---------- */
html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ---------- Backgrounds ---------- */
.bg,
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay { opacity: 0.9; }

/* ---------- Foreground ---------- */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

/* ---------- Content ---------- */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;     /* centers children horizontally */
  justify-content: center;
  text-align: center;
  padding: 1rem;
  min-height: 0;
}

/* Generic images in content */
.content img {
  max-width: 80%;
  height: auto;
  margin: 0.5rem 0;
  flex-shrink: 1;
  max-height: 25vh;       /* keeps images from growing too tall */
  object-fit: contain;
}

/* ---------- Footer ---------- */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.footer-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Connect wrapper (centered) ---------- */
/* ---------- Connect wrapper (centered) ---------- */
.connect-wrapper {
  position: relative;
  display: flex;            /* turn into flex container */
  justify-content: center;  /* center horizontally */
  align-items: center;      /* center vertically */
  max-width: 80%;
  margin: 0 auto;           /* center wrapper itself */
}

/* The connect image */
.connect {
  width: auto;              /* no forced stretch */
  max-width: 100%;          /* scale down if too wide */
  height: auto;
  display: block;
}

/* ---------- Hotspots overlay ---------- */
/* Container spans across the image */
.hotspots {
  position: absolute;
  top: 70%;         /* adjust vertical placement */
  left: 0;
  width: 80%;
  gap: 30px;
transform: translateX(12.6%);
  height: 15%;      /* adjust to match the row height in the image */
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  pointer-events: none; /* container doesn’t block clicks */
  box-sizing: border-box;
}

/* Each anchor is one clickable zone */
.hotspot {
  flex: 1;          /* equal horizontal zones */
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  /* For debugging, uncomment this: */
  /* background: rgba(255, 0, 0, 0.3); */
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 420px) {
  .hotspots {
    top: 70%;        /* adjust slightly lower for small screens */
    height: 16%;     /* make row a bit taller */
  }
}
