/* ===========================
   ✨ Fade-In Animations
=========================== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-in-up,
.animate-fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-up { transition: all 0.8s ease-out; }
.animate-fade-left { transition: all 0.8s ease-out; transform: translateX(-20px); }
.animate-fade-right { transition: all 0.8s ease-out; transform: translateX(20px); }

/* ===========================
   🌈 Gradient Animations
=========================== */
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-gradient {
  background-size: 300% 300%;
  animation: gradientBorder 5s ease infinite;
}

/* ===========================
   🔵 Back To Top Button
=========================== */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===========================
   🔥 Pulse Animations
=========================== */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===========================
   💬 WhatsApp Floating Button
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}
.whatsapp-float img {
  width: 60%;
  height: 60%;
}

/* ===========================
   FAQ Accordion
=========================== */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-content.open {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.faq-toggle svg { transition: transform 0.3s ease; }
.faq-toggle svg.rotate-180 { transform: rotate(180deg); }

/* ===========================
   Utilities
=========================== */
.animate-spin-slow { animation: spin 6s linear infinite; }
.scale-0 { transform: scale(0); }
.scale-100 { transform: scale(1); transition: transform 0.5s ease-out; }

.nav-active {
  color: white !important;
  font-weight: 700;
  border-bottom: 2px solid white;
}
