/* Hero Section Immersive */
.hero-immersive {
  min-height: 100vh;
  position: relative;
  background-image: url('../assets/images/hero-bg-immersive.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  /* This pushes the content container to the bottom */
  padding-top: 120px;
  /* Space for navbar */
  padding-bottom: 2rem;
  /* Small padding at the very bottom */
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark overlay fading right */
  background: linear-gradient(to right, rgba(26, 43, 76, 0.85) 0%, rgba(26, 43, 76, 0.4) 60%, rgba(26, 43, 76, 0.1) 100%);
  z-index: 1;
}

.hero-map-overlay {
  position: absolute;
  right: -2%;
  top: 15%;
  width: 32%;
  height: auto;
  z-index: 2;
  mix-blend-mode: multiply; /* Multiplies dark dots onto the white container, making the white background disappear */
  opacity: 0.7;
  transform-origin: left center;
  transform: perspective(1000px) rotateY(25deg) skewY(3deg);
  pointer-events: none;
}

@keyframes pulse-marker {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}


.hero-immersive-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left-content {
  max-width: 750px;
  padding-right: 2rem;
  margin-top: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 680px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--text-dark);
}

/* Inline Stats */
.hero-inline-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.inline-stat-item {
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
}

.inline-stat-item:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .hero-immersive {
    padding-top: 100px;
    align-items: flex-start;
  }

  .hero-left-content {
    margin-top: 2rem;
    padding-right: 0;
  }

  .hero-map-overlay {
    top: auto;
    bottom: 10%;
    right: 5%;
    width: 90%;
    transform: none;
    opacity: 0.2;
  }

  .hero-inline-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .inline-stat-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .hero-inline-stats {
    grid-template-columns: 1fr;
  }

  .inline-stat-item {
    border-left: none;
    padding-left: 0;
  }
}