.animated-underline {
    font-size: 2rem;
    font-weight: 700;
    /* color: red; */
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
  }

  .animated-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0; /* Start with 0 width */
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    border-radius: 2px;
    transition: width 2s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  /* Class added by Intersection Observer */
  .animated-underline.in-view::after {
    width: 100%;
  }








/* HIGHLIGHTED SPANS IN TEXT */
/* Redesigned Heading with Animation */

/* Redesigned Descriptive Text */
.descriptive {
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.8;
  font-size: 1.5rem;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.descriptive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--dark));
  border-radius: 15px 15px 0 0;
}

.highlighted {
  color: var(--primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.highlighted::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 204, 0, 0.3);
  z-index: -1;
  border-radius: 3px;
}

/* Animations */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes underlinePulse {
  0% { width: 100px; opacity: 1; }
  50% { width: 150px; opacity: 0.8; }
  100% { width: 100px; opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .animated-underline {
    font-size: 1.5rem;
    padding-bottom: 10px;
  }
  
  .descriptive {
    font-size: 1.2rem;
    padding: 20px;
    width: 100%;
  }
}

.descriptive {
  text-align: center;
  margin: 40px auto;
  line-height: 2.3;
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  padding: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,248,248,0.95) 100%);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
              0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
}

/* Gold Accent Border */
.descriptive::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffde59 50%, var(--primary) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Floating Effect */
.descriptive:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(1deg);
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Corner Accents */
.descriptive::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23FFCC00" d="M100 0H0L100 100V0z"/></svg>');
  top: 0;
  right: 0;
  opacity: 0.7;
}

/* Text Highlight */
.highlighted {
  color: var(--dark);
  font-weight: 700;
  position: relative;
  padding: 0 5px;
  background: linear-gradient(120deg, rgba(255,204,0,0.3) 0%, rgba(255,204,0,0.1) 100%);
  border-radius: 4px;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}

/* Floating Particles */
.particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

@media (max-width: 768px) {
  .animated-underline {
    font-size: 1.5rem;
    padding-bottom: 10px;
  }
  
  .descriptive {
    font-size: 1.2rem;
    padding: 20px;
    width: 100%;
  }
}


/* Add these particles via JavaScript */