.hero {
  /* position:relative;
  background-image: url('../assets/hero-img.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 40% 40%;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  color: white;
  text-align: center; */
  padding-bottom: 50px;
}

/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
} */

.hero-container {
  position: relative;
  background-image: url("../assets/hero-img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 40% 40%;
  min-height: 650px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  z-index: 2;
  width: 100%;
}

/* .hero-header,
.hero-body {
  text-align: center; 
  color: var(--secondary-text-color)
}

.hero-header {
  margin-bottom: 1rem;
} */

/* .hero-text {
  position: absolute;
  border-radius: 15px;
  min-height: 200px;
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.705);
  max-width: 85ch;
  bottom: 22%;
} */

.hero-text {
  position: absolute;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.473);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.781);
  padding: 2.5rem 3rem;
  max-width: 150ch;
  bottom: 15%;
  color: #111;
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 400;
  text-align: center;
}

/* Make the header inside more styled */
.hero-header h2 {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #000;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.301);
}

.hero-header h2::after {
  content: "";
  display: block;
  max-width: 150px;
  margin: 0.75rem auto 1rem auto;
  border-top: 2px solid rgba(0, 0, 0, 0.3);
}

/* Optional: Reduce description size slightly */
.hero-text .hero-body {
  font-size: 1.1rem;
  color: #000000;
  max-width: 100ch;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.315);
}

@media (max-width: 1050px) {
  .hero-text {
    max-width: 90ch;
    bottom: 5%;
    color: #111;
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: 400;
    text-align: center;
  }

  /* Make the header inside more styled */
  .hero-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
  }

  /* Optional: Reduce description size slightly */
  .hero-text .hero-body {
    font-size: 1rem;
    max-width: 70ch;
  }
}

@media (max-width: 750px) {
  .hero-text {
    min-height: 0;
    bottom: 2%;
    padding: 0.9rem;
    max-width: 65ch;
  }

  .hero-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    /* text-align: left; */
  }
  .hero-text .hero-body {
    font-size: 1.05rem;
    max-width: 70ch;
    text-align: left;
  }
}

@media (max-width: 365px) {
  .hero-body {
    display: none;
  }
}
