/* top heading css for all pages*/
.colorful-heading {
  text-align: center;
  margin-bottom: 50px;
}

.colorful-heading h1 {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(270deg, #ff6b6b, #f7d794, #1dd1a1, #54a0ff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s ease infinite;
  position: relative;
  
}

.colorful-heading h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #ff6b6b, #1dd1a1);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(29, 209, 161, 0.7);
}

.colorful-heading h3 {
  font-size: 1.5rem;
  color: #a19393;
  margin-top: 15px;
  font-style: italic;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.2s;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
