/* Hero Section */
.dr1043hero3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00796b, #26a69a);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px;
  gap: 40px;
  overflow: hidden;
}

/* Hero Image */
.dr1043hero3 .hero-image {
  flex: 1 1 550px; /* increased from 450px to 550px */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(50px);
}

/* Visible state when scrolled */
.dr1043hero3 .hero-image.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1s ease, transform 1s ease;
}

/* Image */
.dr1043hero3 .hero-image img {
  max-width: 550px; /* increased from 450px to 550px */
  width: 100%;
  border-radius: 20px;
  border: 3px solid #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: floatHero 4s ease-in-out infinite;
}

/* Float Animation */
@keyframes floatHero {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Hero Text */
.dr1043hero3 .hero-text {
  flex: 1 1 500px;
  max-width: 600px;
  opacity: 0;
  transform: translateX(50px);
}

/* Visible state for text */
.dr1043hero3 .hero-text.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1s ease, transform 1s ease;
}

.dr1043hero3 .hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.dr1043hero3 .hero-text h2 {
  font-size: 2.2rem;
  color: #ffeb3b;
  margin-bottom: 15px;
}

.dr1043hero3 .hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.dr1043hero3 .hero-text .expertise {
  font-weight: 600;
  color: #fff8c4;
}

.dr1043hero3 .hero-text .awards {
  font-size: 1rem;
  margin-top: 5px;
  color: #ffe082;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-buttons .btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.hero-buttons .btn.whatsapp {
  background: #25D366;
}

.hero-buttons .btn.call {
  background: #00796b;
}

.hero-buttons .btn:hover {
  opacity: 0.85;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  .dr1043hero3 {
    flex-direction: column;
    text-align: center;
  }
  .dr1043hero3 .hero-image {
    flex: 1 1 80%; /* scale down slightly on tablet */
  }
}

@media screen and (max-width: 768px) {
  .dr1043hero3 .hero-text h1 {
    font-size: 2.2rem;
  }
  .dr1043hero3 .hero-text h2 {
    font-size: 1.8rem;
  }
  .dr1043hero3 .hero-text p {
    font-size: 0.95rem;
  }
  .dr1043hero3 .hero-image img {
    max-width: 90%; /* allow image to fill mobile width nicely */
  }
}