* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

/* Content container */
.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically */
  align-items: center;
  text-align: center;
}

/* Top heading */
.overlay-content h1 {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
}

/* Center heading */
.overlay-content h2 {
    position: absolute;
    top: 100px;

  font-size: 3rem;
  font-weight: 500;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  font-family: 'Georgia', serif;
  animation: fadeIn 2s ease-in-out;
  margin: 0;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .overlay-content h1 {
    font-size: 1.2rem;
    top: 20px;
  }

  .overlay-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .overlay-content h1 {
    font-size: 1rem;
    top: 15px;
    letter-spacing: 2px;
  }

  .overlay-content h2 {
    font-size: 1.5rem;
    padding: 0 10px;
  }
}
