.dr1040hero4 {
  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 */
.hero4-content {
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
}

.hero4-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d47a1;
  margin: 0;
}

.hero4-content p {
  font-size: 1.2rem;
  margin: 12px 0 20px;
  color: #333;
}

.hero4-buttons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
}

.hero4-buttons a {
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s ease;
  display: inline-block;
}

.hero4-whatsapp {
  background: #25D366;
  color: white;
}

.hero4-whatsapp:hover {
  background: #1ebe57;
}

.hero4-call {
  background: #ff9800;
  color: white;
}

.hero4-call:hover {
  background: #fb8c00;
}

/* IMAGE STYLING */
.hero4-image {
  flex: 1;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(120px);
}

.hero4-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* SCROLL TRIGGERED ANIMATIONS */
.dr1040hero4.animate .hero4-content {
  animation: fadeHero4Content 0.8s ease forwards;
}

.dr1040hero4.animate .hero4-buttons {
  animation: fadeHero4Buttons 0.8s ease forwards;
  animation-delay: 0.3s;
}

.dr1040hero4.animate .hero4-image {
  animation: flyHero4Image 1s ease forwards;
  animation-delay: 0.2s;
}

/* KEYFRAMES */
@keyframes fadeHero4Content {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeHero4Buttons {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes flyHero4Image {
  from {opacity: 0; transform: translateX(120px);}
  to {opacity: 1; transform: translateX(0);}
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .dr1040hero4 {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
  }

  .hero4-content h1 {
    font-size: 2rem;
  }

  .hero4-content p {
    font-size: 1rem;
  }

  .hero4-buttons {
    justify-content: center;
  }
}