.dr1048hero4 {
  background: linear-gradient(to right, #fffefb, #f1f8e9);
  color: #333;
  padding: 100px 20px;
  font-family: 'Noto Serif Telugu', 'Poppins', sans-serif;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
}

.hero4-content {
  max-width: 1150px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
  background: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.hero4-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero4-text {
  flex: 1 1 48%;
  text-align: left;
}

.hero4-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #3e2723;
  margin-bottom: 15px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.telugu-subtitle {
  font-family: 'Noto Serif Telugu', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2e7d32;
  margin-top: 10px;
  display: block;
}

.hero4-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #4e342e;
  margin-bottom: 25px;
}

.telugu-desc {
  font-family: 'Noto Serif Telugu', serif;
  font-size: 1.05rem;
  color: #6d4c41;
  display: block;
  margin-top: 8px;
}

.hero4-button {
  display: inline-block;
  background: linear-gradient(to right, #4caf50, #388e3c);
  color: #ffffff;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero4-button:hover {
  background: linear-gradient(to right, #2e7d32, #1b5e20);
  transform: translateY(-2px);
}

.hero4-image-wrapper {
  flex: 1 1 48%;
  display: flex;
  justify-content: center;
}

.hero4-image {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  animation: floatSoft 6s ease-in-out infinite;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
  .hero4-content {
    flex-direction: column;
    text-align: center;
  }

  .hero4-text {
    text-align: center;
  }

  .hero4-text h1 {
    font-size: 2.2rem;
  }

  .telugu-subtitle {
    font-size: 1.3rem;
  }

  .hero4-text p {
    font-size: 1rem;
  }

  .telugu-desc {
    font-size: 0.95rem;
  }

  .hero4-button {
    margin-top: 15px;
  }

  .hero4-image {
    max-width: 380px;
  }
}