.dr1hero3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* Background gradient */
.dr1hero3 .hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4f46e5, #3b82f6); /* tech/web vibe */
  z-index: 1;
}

/* Overlay */
.dr1hero3 .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* Hero Content */
.dr1hero3 .hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 1200px;
  width: 90%;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Left Section */
.dr1hero3 .hero-left {
  flex: 1;
  animation: fadeInLeft 1s ease-out forwards;
}

.dr1hero3 .hero-left h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.dr1hero3 .hero-left p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Right Section */
.dr1hero3 .hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease-out forwards;
}

.dr1hero3 .hero-right img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: floatImage 6s ease-in-out infinite;
}

/* Button Group (Vertical) */
.dr1hero3 .hero-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .dr1hero3 .hero-buttons-vertical {
    align-items: center;
  }
}

/* Buttons */
.dr1hero3 .btn-secondary,
.dr1hero3 .btn-arattai {
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  transition: 0.3s;
  text-align: center;
  white-space: nowrap;
  max-width: 250px; /* ✅ prevent too-wide buttons */
}

/* WhatsApp Button */
.dr1hero3 .btn-secondary {
  border: 2px solid #25d366;
  color: #25d366;
  background: transparent;
}
.dr1hero3 .btn-secondary i {
  font-size: 20px;
}
.dr1hero3 .btn-secondary:hover {
  background: #25d366;
  color: white;
}

/* Arattai Button */
.dr1hero3 .btn-arattai {
  border: 2px solid #f0c000;
  color: #f0c000;
  background: transparent;
}
.dr1hero3 .btn-arattai .btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}
.dr1hero3 .btn-arattai:hover {
  background: #f0c000;
  color: white;
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .dr1hero3 .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 25px;
  }
  .dr1hero3 .hero-right img {
    width: 85%;
  }
  .dr1hero3 .hero-left h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .dr1hero3 .btn-secondary,
  .dr1hero3 .btn-arattai {
    font-size: 0.95rem;
    padding: 10px 22px;
    max-width: 220px; /* ✅ smaller on mobiles */
  }
}

@media (max-width: 400px) {
  .dr1hero3 .hero-buttons-vertical a {
    width: auto; /* ✅ remove full width issue */
  }
}