﻿/* Shared Alliance Pro logo-based heading gradient + motion */

:root {
  --apit-logo-navy: #0a3d7a;
  --apit-logo-blue: #1a5fbf;
  --apit-logo-gold: #f0b429;
  --apit-logo-orange: #ff6a3d;
  --apit-logo-gradient: linear-gradient(
    105deg,
    var(--apit-logo-navy) 0%,
    var(--apit-logo-blue) 28%,
    var(--apit-logo-gold) 62%,
    var(--apit-logo-orange) 100%
  );
}

.apit-future-title,
.apit-vision-title,
.apit-mission-title,
.apit-values-title,
.apit-locations-title,
.apit-industries-title,
.apit-partners-title,
.apit-why-title,
.apit-recog-title,
.apit-testimonials-title,
.apit-future-title-accent,
.apit-vision-title-accent,
.apit-mission-title-accent,
.apit-values-title-accent,
.apit-locations-title-brand,
.apit-locations-title-accent,
.apit-industries-title-brand,
.apit-industries-title-accent,
.apit-partners-title-brand,
.apit-partners-title-accent,
.apit-why-title-brand,
.apit-why-title-accent,
.apit-recog-title-brand,
.apit-recog-title-accent,
.apit-testimonials-title-brand,
.apit-testimonials-title-accent,
.apit-msoc-title-brand,
.apit-msoc-title-accent {
  background-image: var(--apit-logo-gradient);
  background-size: 220% 220%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: none !important;
  -webkit-text-fill-color: transparent;
  animation:
    apit-heading-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both,
    apit-heading-flow 9s ease-in-out infinite;
}

.apit-future-title-accent,
.apit-vision-title-accent,
.apit-mission-title-accent,
.apit-values-title-accent,
.apit-locations-title-accent,
.apit-industries-title-accent,
.apit-partners-title-accent,
.apit-why-title-accent,
.apit-recog-title-accent,
.apit-testimonials-title-accent,
.apit-msoc-title-accent {
  animation-delay: 0.12s, 0.12s;
  font-weight: 500;
}

.apit-locations-title-brand,
.apit-industries-title-brand,
.apit-partners-title-brand,
.apit-why-title-brand,
.apit-recog-title-brand,
.apit-testimonials-title-brand,
.apit-msoc-title-brand {
  animation-delay: 0s, 0s;
}

.apit-locations-title-accent,
.apit-industries-title-accent,
.apit-partners-title-accent,
.apit-why-title-accent,
.apit-recog-title-accent,
.apit-testimonials-title-accent,
.apit-msoc-title-accent {
  animation-delay: 0.14s, 0.14s;
}

@keyframes apit-heading-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes apit-heading-in {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-future-title,
  .apit-vision-title,
  .apit-mission-title,
  .apit-values-title,
  .apit-locations-title,
  .apit-industries-title,
  .apit-partners-title,
  .apit-why-title,
  .apit-recog-title,
  .apit-testimonials-title,
  .apit-future-title-accent,
  .apit-vision-title-accent,
  .apit-mission-title-accent,
  .apit-values-title-accent,
  .apit-locations-title-brand,
  .apit-locations-title-accent,
  .apit-industries-title-brand,
  .apit-industries-title-accent,
  .apit-partners-title-brand,
  .apit-partners-title-accent,
  .apit-why-title-brand,
  .apit-why-title-accent,
  .apit-recog-title-brand,
  .apit-recog-title-accent,
  .apit-testimonials-title-brand,
  .apit-testimonials-title-accent,
  .apit-msoc-title-brand,
  .apit-msoc-title-accent {
    animation: none;
    background-position: 30% 50%;
    filter: none;
    opacity: 1;
    transform: none;
  }
}
