html {
  scroll-padding-top: 84px;
}

.max-w-7xl,
.max-w-6xl {
  max-width: 1400px !important;
}

.max-w-4xl {
  max-width: 980px !important;
}

.site-container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .site-container,
  .max-w-7xl.px-5,
  .max-w-6xl.px-5 {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

@media (min-width: 1024px) {
  .site-container,
  .max-w-7xl.px-5,
  .max-w-6xl.px-5,
  nav.max-w-7xl {
    padding-left: 100px !important;
    padding-right: 100px !important;
  }
}

.animated-gradient {
  background: radial-gradient(circle at 18% 38%, rgba(64, 192, 255, .20), transparent 34%),
              linear-gradient(115deg, rgba(10, 74, 140, .10), transparent 42%, rgba(64, 192, 255, .12));
  animation: ruviraGradient 12s ease-in-out infinite alternate;
}

#home img[data-parallax] {
  animation: oceanDrift 28s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes ruviraGradient {
  from {
    opacity: .35;
    transform: translate3d(-1%, 0, 0);
  }
  to {
    opacity: .62;
    transform: translate3d(1.5%, -1%, 0);
  }
}

@keyframes oceanDrift {
  from {
    transform: scale(1.04) translate3d(-1.5%, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(1.5%, -1%, 0);
  }
}

@media (min-width: 768px) {
  .timeline-line:before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 192, 255, .85), transparent);
    box-shadow: 0 0 24px rgba(64, 192, 255, .35);
  }
}

/* Full Bleed Right Side Training Section Image */
#training-right-col {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 66.666667%;
  z-index: 10;
}

@media (min-width: 1400px) {
  #training-right-col {
    left: calc(50vw + 233px);
  }
}

/* Blueprint Grid & Timeline styles used in about pages */
.blueprint-grid {
  background-image: linear-gradient(rgba(46, 168, 255, .12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(46, 168, 255, .12) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: blueprintDrift 18s linear infinite;
}

.compliance-timeline article:after {
  content: '↓';
  position: absolute;
  right: 50%;
  bottom: -27px;
  transform: translateX(50%);
  color: #2EA8FF;
  font-size: 18px;
}

.compliance-timeline article:last-child:after {
  display: none;
}

@media (min-width: 1024px) {
  .compliance-timeline article:after {
    content: '';
    right: -24px;
    top: 34px;
    bottom: auto;
    width: 24px;
    height: 1px;
    transform: none;
    background: linear-gradient(90deg, rgba(46, 168, 255, .8), rgba(46, 168, 255, .05));
  }
}

@keyframes blueprintDrift {
  from { background-position: 0 0; }
  to { background-position: 112px 56px; }
}

@media (max-width: 1023px) {
  #mobile-menu {
    top: 84px !important;
  }
  #mobile-menu:not(.hidden) {
    display: block !important;
  }
}

/* Footer Links Hover Styles */
#site-footer ul a {
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
#site-footer ul a:hover {
  color: #0A4A8C !important;
  text-decoration: underline !important;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
