/* styles.css */

/* Ensure hero header has full height and image background */
.hero-header {
  background: url('https://rahulsharmahere.com/assets/img/home-bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
}

/* Overlay effect (optional, can remove if not desired) */
.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Make sure the inner content is above the overlay */
.hero-header > .relative {
  position: relative;
  z-index: 2;
}

/* Typing text appearance */
#typed {
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid #fff;
  animation: blink-caret 0.75s step-end infinite;
}

/* Caret blink animation */
@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}
