/* ===== Hero Section Base ===== */
.dr1019hero {
  position: relative;
  background-color: #0097a7;
  height: 90vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-family: 'Segoe UI', 'Noto Sans Telugu', sans-serif;
  overflow: hidden;
}

.dr1019hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 151, 167, 0.55);
  z-index: 1;
}

.dr1019hero .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 30px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* ===== Hero Image ===== */
.dr1019hero .hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.dr1019hero .hero-image img {
  max-width: 440px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  animation: floatFadeIn 1.4s ease-out forwards;
  opacity: 0;
}

.dr1019hero .hero-image img:hover {
  transform: scale(1.04);
}

/* ===== Hero Text ===== */
.dr1019hero .hero-text {
  flex: 1;
}

.dr1019hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.dr1019hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

/* ===== Telugu Line Styling ===== */
.telugu-title {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 500;
  font-family: 'Noto Sans Telugu', 'Poppins', sans-serif;
  display: block;
  margin-top: 6px;
}

.telugu-desc {
  display: block;
  color: #e0f7fa;
  font-size: 1rem;
  margin-top: 5px;
  font-family: 'Noto Sans Telugu', 'Poppins', sans-serif;
}

/* ===== Hero Button ===== */
.hero-btn {
  background: #ffffff;
  color: #00796b;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-block;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

.hero-btn:hover {
  background: #00acc1;
  color: white;
  transform: scale(1.05);
}

/* ===== Fade Animations ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .dr1019hero {
    height: auto;
    padding: 60px 0;
    text-align: center;
  }

  .dr1019hero .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .dr1019hero .hero-text {
    text-align: center;
  }

  .dr1019hero h1 {
    font-size: 2rem;
  }

  .dr1019hero p {
    font-size: 1rem;
  }

  .dr1019hero .hero-image img {
    max-width: 320px;
  }

  .telugu-title {
    font-size: 1.2rem;
  }

  .telugu-desc {
    font-size: 0.95rem;
  }
}