.hero-section {
  position: relative;
  height: 452px;
  overflow: hidden;
}

.hero-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
}

.hero-section-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-section-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(221, 238, 255, 0.7);
  backdrop-filter: blur(4px);
  padding: 15px 21px;
  width: max-content;
  max-width: 90%;
}

.hero-section h1,
.hero-section h3 {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  text-align: center;
  color: #1E1E1E;
}

.hero-section-headline {
  font-weight: 700;
  font-size: 72px;
}

.hero-section-subheading {
  font-weight: 500;
  font-size: 32px;
  margin-top: 10px;
}

/* Responsive styles for small devices */
@media (max-width: 767px) {
  .hero-section {
    height: 300px;
  }

  .hero-section-headline {
    font-size: 42px;
  }

  .hero-section-subheading {
    font-size: 20px;
  }

  .hero-section-overlay {
    padding: 12px 18px;
  }
}

/* Extra small devices */
@media (max-width: 575px) {
  .hero-section {
    height: 250px;
  }

  .hero-section-headline {
    font-size: 32px;
  }

  .hero-section-subheading {
    font-size: 18px;
  }

  .hero-section-overlay {
    padding: 10px 15px;
  }
}
