/* ================= Hero Section ================= */
.dr1hero {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  line-height: 1.6;
  background-color: #6b7280; /* grey background */
  overflow: hidden;
}

/* Hero Section */
.dr1hero section#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Hero Content */
.dr1hero .hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
}

/* Headings & Paragraphs */
.dr1hero .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s forwards;
  animation-delay: 0.5s;
}

.dr1hero .hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s forwards;
  animation-delay: 1s;
}

/* Vertical Buttons */
.dr1hero .hero-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s forwards;
  animation-delay: 1.5s;
}

/* Buttons Common */
.dr1hero .hero-buttons-vertical a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 1rem;
  white-space: nowrap;
  max-width: 250px; /* prevents full-width on mobile */
  width: auto;
  text-align: center;
}

/* WhatsApp Button */
.dr1hero .btn-secondary {
  border: 2px solid #25d366;
  color: #25d366;
  background: transparent;
}
.dr1hero .btn-secondary i {
  font-size: 22px;
}
.dr1hero .btn-secondary:hover {
  background: #25d366;
  color: white;
}

/* Arattai Button */
.dr1hero .btn-arattai {
  border: 2px solid #f0c000;
  color: #f0c000;
  background: transparent;
}
.dr1hero .btn-arattai .btn-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}
.dr1hero .btn-arattai:hover {
  background: #f0c000;
  color: white;
}

/* Primary Button - Dark Version for Visibility */
.dr1hero .btn-primary {
  border: 2px solid #1f2937; /* dark gray border */
  color: #ffffff; /* white text */
  background: #1f2937; /* dark gray background */
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.4);
  transition: 0.3s;
}

.dr1hero .btn-primary:hover {
  background: #111827; /* darker on hover */
  border-color: #111827;
  color: #fff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.5);
}

/* Animated Shapes */
.dr1hero .hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.dr1hero .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: floatShape 15s ease-in-out infinite;
}
.dr1hero .shape1 { width: 200px; height: 200px; background: #ffffff; top: 10%; left: 15%; }
.dr1hero .shape2 { width: 150px; height: 150px; background: #fbbf24; bottom: 20%; right: 10%; animation-delay: 2s; }
.dr1hero .shape3 { width: 100px; height: 100px; background: #ec4899; top: 30%; right: 25%; animation-delay: 4s; }
.dr1hero .shape4 { width: 250px; height: 250px; background: #3b82f6; bottom: 10%; left: 20%; animation-delay: 6s; }

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive */
@media (max-width: 992px) {
  .dr1hero .hero-content h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .dr1hero .hero-content p { font-size: clamp(0.9rem, 2.5vw, 1.1rem); }
}

@media (max-width: 768px) {
  .dr1hero .hero-buttons-vertical { gap: 12px; }
  .dr1hero .hero-buttons-vertical a { max-width: 220px; }
}

@media (max-width: 480px) {
  .dr1hero .hero-buttons-vertical a {
    padding: 10px 22px;
    font-size: 0.9rem;
    max-width: 200px; /* fixed width for small mobiles */
  }
}