/* Custom styles for Moto Charge blog - simple, editable */
:root {
  --primary: #0f766e; /* calm teal */
  --muted: #64748b;
}

html,
body {
  height: 100%;
}

/* make sure RTL form fields align nicely */
input,
textarea,
button {
  font-family: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* floating buttons subtle pulse */
#wa-btn,
#contact-stack a,
#contact-stack button {
  will-change: transform;
}
#wa-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.3);
  animation: ping 2.6s infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.25);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* small view tweaks */
@media (max-width: 640px) {
  header {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Hero tweaks */
.backdrop-brightness-50 {
  background-color: rgba(0, 0, 0, 0.06);
}

/* post card image */
.overflow-hidden img {
  transition: transform 0.45s ease;
}
.overflow-hidden:hover img {
  transform: scale(1.03);
}

/* service icons spacing */
.rounded-xl > .text-emerald-600 {
  font-size: 18px;
}
