/* ==========================================================================
   MY PANDIT G - UTILITIES & HELPERS ENGINE (utilities.css)
   Contains Utility Classes, Color Helpers, Badges & Animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SECTION TITLES & SUBTITLES
   -------------------------------------------------------------------------- */
.section-header-figma {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-subtitle-figma {
  display: inline-block;
  font-family: var(--font-hindi);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  background: rgba(212, 175, 55, 0.15);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-gold-subtle);
}

.section-title-figma {
  font-family: var(--font-cinzel);
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  color: var(--primary-maroon);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   2. ICON GLOW RING & BADGES
   -------------------------------------------------------------------------- */
.icon-glow-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(88, 11, 20, 0.08), rgba(212, 175, 55, 0.2));
  border: 1.5px solid var(--border-gold-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-maroon);
  margin-bottom: 18px;
  transition: var(--transition-bounce);
}

.service-card-figma:hover .icon-glow-ring {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--maroon-dark);
  transform: scale(1.12) rotate(8deg);
}

.guidance-panel-figma {
  background: linear-gradient(135deg, #4A0810 0%, #2A0409 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-24);
  color: #ffffff;
  padding: 40px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.timeline-section-figma {
  position: relative;
  padding: 30px 0;
}

.timeline-track-figma {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-maroon), var(--gold-primary), var(--primary-maroon));
  z-index: 1;
  transform: translateY(-50%);
}

.timeline-node-figma {
  position: relative;
  z-index: 2;
  background: var(--cream-surface);
  border: 3px solid var(--gold-primary);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cinzel);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-maroon);
  margin: 0 auto 16px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-bounce);
}

.timeline-step-card:hover .timeline-node-figma {
  background: var(--gold-primary);
  color: #ffffff;
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   3. FORM INPUT FOCUS STYLES
   -------------------------------------------------------------------------- */
.form-control, .form-select {
  background-color: #ffffff;
  border: 1.5px solid #EAE0D5;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--dark-brown);
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
