.dr1040hero2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 10%;
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  flex-wrap: wrap;
}

/* TEXT CONTENT */
.hero2-content {
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
}

.hero2-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d47a1;
  margin: 0;
}

.hero2-content p {
  font-size: 1.2rem;
  margin: 12px 0 20px;
  color: #333;
}

.hero2-buttons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
}

.hero2-buttons a {
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s ease;
  display: inline-block;
}

.hero2-whatsapp {
  background: #25D366;
  color: white;
}

.hero2-whatsapp:hover {
  background: #1ebe57;
}

.hero2-call {
  background: #ffc107;
  color: #000;
}

.hero2-call:hover {
  background: #ffb300;
}

/* IMAGE */
.hero2-image {
  flex: 1;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(100px);
}

.hero2-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ANIMATIONS (trigger only when .animate is added) */
.dr1040hero2.animate .hero2-content {
  animation: fadeHeroContent 0.8s ease forwards;
}

.dr1040hero2.animate .hero2-buttons {
  animation: fadeHeroButtons 0.8s ease forwards;
  animation-delay: 0.3s;
}

.dr1040hero2.animate .hero2-image {
  animation: flyImageIn 1s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeHeroContent {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeHeroButtons {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes flyImageIn {
  from {opacity: 0; transform: translateX(100px);}
  to {opacity: 1; transform: translateX(0);}
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .dr1040hero2 {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
  }

  .hero2-content h1 {
    font-size: 2rem;
  }

  .hero2-content p {
    font-size: 1rem;
  }

  .hero2-buttons {
    justify-content: center;
  }
}