/* General reset */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafc;
  color: #333;
}

/* Container styling */
.fcontainer {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Headings */
h2 {
  font-size: 2rem;
  color: #0066cc;
  margin: 20px 0 15px;
}

/* Paragraph text */
p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 10px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  background: #0066cc;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #004999;
  transform: scale(1.05);
}

/* Success icons */
.icon {
  font-size: 3rem;
  display: inline-block;
  margin-bottom: 15px;
  opacity: 0;
  transform: scale(0.5);
  animation: popIn 0.6s ease forwards;
  animation-delay: 0.2s;
}

/* Registration: 🎉 */
.page-registration .icon {
  color: #ff9800;
}

/* Contact: ✅ */
.page-contact .icon {
  color: #4caf50;
}

/* Appointment: 📅 */
.page-appointment .icon {
  color: #0066cc;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}