/* Hero Section Wrapper */
.dr1016hero .hero {
  position: relative;
  width: 100%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background-color: #fff5f5; /* fallback background */
  opacity: 0;                     /* start hidden for fade-in */
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.3s;          /* slight delay for smoother effect */
}

/* Hero Image – show full image, no cropping */
.dr1016hero .hero img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* Optional: Zoom on hover */
.dr1016hero .hero:hover img {
  transform: scale(1.02);
}

/* Hero Text Overlay */
.dr1016hero .hero-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
  text-align: center;
  opacity: 0;                     /* start hidden for fade-in */
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.8s;          /* text appears after hero image */
}

.dr1016hero .hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

.dr1016hero .hero-text p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: #f8f8f8;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

/* Fade-in keyframes */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .dr1016hero .hero-text h1 {
    font-size: 2rem;
  }
  .dr1016hero .hero-text p {
    font-size: 1rem;
  }
}