/* Custom CSS for DigitalGuard Website
*/

/* 1. Hero Slider */
.hero-slide {
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

/* 2. Modal Popup */
.modal {
  transition: opacity 0.3s ease;
}

.modal-content {
  transition: transform 0.3s ease;
}

/* 3. Custom Prose Styles (for Modal) */
.prose h4 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
  margin-top: 1.25rem; /* mt-5 */
}
.prose p,
.prose ul {
  font-size: 0.95rem;
  color: #4b5563; /* text-gray-600 */
  margin-bottom: 1rem; /* mb-4 */
}
.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem; /* pl-6 */
}
.prose a {
  color: #2563eb; /* text-blue-600 */
  text-decoration: underline;
}

/* 4. Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* 5. Desktop Nav Link Styles */
.nav-link {
  @apply text-gray-600 hover:text-blue-600 transition-colors;
}
.nav-link.active {
  @apply text-blue-600 font-semibold;
}

/* 6. Animated Call Icon */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}
.call-icon-animated {
  animation: pulse 1.5s infinite ease-in-out;
}
