body {
  font-family: 'Cairo', sans-serif;
  padding: 20px;
  text-align: center;
  background: #f9fafb;
}

header h1 {
  color: #1e40af;
}

header p {
  color: #334155;
}

.step {
  display: none;
  margin: 20px 0;
}

.step.active {
  display: block;
}

button {
  padding: 10px 20px;
  margin: 5px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input {
  padding: 10px;
  width: 200px;
  margin-bottom: 10px;
  /* Safari iOS: prevent zoom on focus for inputs with font-size < 16px */
  font-size: 16px;
  -webkit-appearance: none;
  border-radius: 5px;
  border: 1px solid #64748b;
}
.content-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  line-height: 1.8;
  color: #334155;
}

.content-box h3 {
  color: #1e40af;
  margin-top: 20px;
}

.back-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  margin-top: 50px;
  padding: 20px;
  color: #64748b;
  font-size: 14px;
}

footer a {
  color: #64748b;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color: #2563eb;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #128c7e; /* Updated for WCAG AA 3:1 contrast with white icon */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s;
  opacity: 0;
  transform: scale(0.5);
  animation: whatsapp-pop-in 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.2) 0.05s forwards;
}

.whatsapp-widget:hover,
.whatsapp-widget:focus-visible {
  transform: scale(1.1);
  outline: 3px solid #1e40af;
  outline-offset: 4px;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1e40af;
  outline-offset: 2px;
}

.whatsapp-widget svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@keyframes whatsapp-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
