/* Service Page Specific Styles */

.page-header h1 {
  color: var(--white);
  text-align: center;
}

.page-header h1 .highlight {
  color: var(--tactical-blue-light);
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }
}

/* Reduce h2 size to make h1 more prominent */
.content-wrapper h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-top: var(--spacing-2xl);
}

/* Content wrapper alignment */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper > * {
  margin-left: 0;
  margin-right: 0;
}

/* Animated list items for "This may include:" sections */
.content-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin-top: var(--spacing-md);
}

.content-wrapper ul li {
  position: relative;
  padding-left: var(--spacing-xl);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 450;
}

/* Animated underline effect */
.content-wrapper ul li::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tactical-blue-light), transparent);
  animation: slideIn 1.5s ease-out forwards;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* Bullet point */
.content-wrapper ul li::after {
  content: '•';
  position: absolute;
  left: var(--spacing-md);
  top: 0;
  color: var(--tactical-blue-light);
  font-size: 1.2em;
  line-height: 1.6;
}

/* Stagger animation for each list item */
.content-wrapper ul li:nth-child(1) { --animation-order: 1; }
.content-wrapper ul li:nth-child(2) { --animation-order: 2; }
.content-wrapper ul li:nth-child(3) { --animation-order: 3; }
.content-wrapper ul li:nth-child(4) { --animation-order: 4; }
.content-wrapper ul li:nth-child(5) { --animation-order: 5; }
.content-wrapper ul li:nth-child(6) { --animation-order: 6; }

@keyframes slideIn {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: 60%;
    opacity: 1;
  }
}

/* Fade in animation for list text */
.content-wrapper ul li {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Strong tag styling for "This may include:" */
.content-wrapper p strong {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1em;
}

/* Ensure proper spacing and alignment */
.content-wrapper p {
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.content-wrapper h2 + p {
  margin-top: var(--spacing-md);
}

.page-subtitle {
  text-align: center;
  max-width: 800px;
  margin: var(--spacing-md) auto 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .content-wrapper {
    max-width: 100%;
  }

  .content-wrapper ul li {
    padding-left: var(--spacing-lg);
    font-size: 0.875rem;
  }

  .page-subtitle {
    font-size: 0.9375rem;
  }
}
