/* Hero 2: Centered text with background image */
.hero2 {
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 40px;
  background-image: url('img/bg1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero2-container {
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero2-content {
  text-align: center;
  max-width: 800px;
}

.hero2-title {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  line-height: 1.2;
  font-family: Arial, sans-serif;
}

.hero2-subtitle {
  font-size: 28px;
  color: #fff;
  margin: 0;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
  .hero2 {
    height: auto;
    min-height: 500px;
    padding: 100px 20px 40px;
  }

  .hero2-title {
    font-size: 36px;
  }

  .hero2-subtitle {
    font-size: 20px;
  }
}
