@charset "UTF-8";
@import url('animate.min.css');

/* ==========================================================================
   Axis IT Solutions - Enterprise Animation System
   Powered by Animate.css & Modern Hardware-Accelerated CSS3
   ========================================================================== */

:root {
  --animate-duration: 0.85s;
  --animate-delay: 0.15s;
  --ease-out-cyber: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cyber: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   1. Base Scroll-Triggered Animation State
   Elements wait invisibly until IntersectionObserver triggers them
   ========================================================================== */
[data-animate],
.animate-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-cyber);
}

/* Once animated or if fallback is active */
[data-animate].is-animated,
[data-animate].animated,
.animate-on-scroll.is-animated,
.animate-on-scroll.animated {
  opacity: 1;
}

/* Fallback / Native CSS Transitions for non-Animate.css paths */
.fade-up {
  transform: translateY(35px);
}
.fade-up.animated,
.fade-up.is-animated {
  transform: translateY(0);
}

.fade-down {
  transform: translateY(-35px);
}
.fade-down.animated,
.fade-down.is-animated {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-40px);
}
.fade-left.animated,
.fade-left.is-animated {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(40px);
}
.fade-right.animated,
.fade-right.is-animated {
  transform: translateX(0);
}

.zoom-in,
.scale-in {
  transform: scale(0.92);
}
.zoom-in.animated,
.zoom-in.is-animated,
.scale-in.animated,
.scale-in.is-animated {
  transform: scale(1);
}

.scale-in-up {
  transform: scale(0.92) translateY(30px);
}
.scale-in-up.animated,
.scale-in-up.is-animated {
  transform: scale(1) translateY(0);
}

.flip-up {
  transform: perspective(600px) rotateX(25deg) translateY(20px);
}
.flip-up.animated,
.flip-up.is-animated {
  transform: perspective(600px) rotateX(0deg) translateY(0);
}

/* ==========================================================================
   2. Animate.css Tuning & Customization for Enterprise Feel
   ========================================================================== */
.animate__animated {
  -webkit-animation-duration: var(--animate-duration) !important;
  animation-duration: var(--animate-duration) !important;
  -webkit-animation-fill-mode: both !important;
  animation-fill-mode: both !important;
}

.animate__animated.animate__fast {
  --animate-duration: 0.5s !important;
}

.animate__animated.animate__slow {
  --animate-duration: 1.25s !important;
}

.animate__animated.animate__slower {
  --animate-duration: 1.8s !important;
}

/* Refined smoother fadeInUp */
@keyframes axisFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.animate__fadeInUp {
  animation-name: axisFadeInUp !important;
  animation-timing-function: var(--ease-out-cyber) !important;
}

/* Refined smoother fadeInLeft */
@keyframes axisFadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-35px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.animate__fadeInLeft {
  animation-name: axisFadeInLeft !important;
  animation-timing-function: var(--ease-out-cyber) !important;
}

/* Refined smoother fadeInRight */
@keyframes axisFadeInRight {
  from {
    opacity: 0;
    transform: translate3d(35px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.animate__fadeInRight {
  animation-name: axisFadeInRight !important;
  animation-timing-function: var(--ease-out-cyber) !important;
}

/* Refined smoother fadeInDown */
@keyframes axisFadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.animate__fadeInDown {
  animation-name: axisFadeInDown !important;
  animation-timing-function: var(--ease-out-cyber) !important;
}

/* Refined smoother zoomIn */
@keyframes axisZoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.92, 0.92, 0.92);
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
.animate__zoomIn {
  animation-name: axisZoomIn !important;
  animation-timing-function: var(--ease-out-cyber) !important;
}

/* ==========================================================================
   3. Stagger Cascade Utilities
   ========================================================================== */
.stagger-1 { animation-delay: 0.08s !important; transition-delay: 0.08s !important; }
.stagger-2 { animation-delay: 0.16s !important; transition-delay: 0.16s !important; }
.stagger-3 { animation-delay: 0.24s !important; transition-delay: 0.24s !important; }
.stagger-4 { animation-delay: 0.32s !important; transition-delay: 0.32s !important; }
.stagger-5 { animation-delay: 0.40s !important; transition-delay: 0.40s !important; }
.stagger-6 { animation-delay: 0.48s !important; transition-delay: 0.48s !important; }
.stagger-7 { animation-delay: 0.56s !important; transition-delay: 0.56s !important; }
.stagger-8 { animation-delay: 0.64s !important; transition-delay: 0.64s !important; }
.stagger-9 { animation-delay: 0.72s !important; transition-delay: 0.72s !important; }
.stagger-10 { animation-delay: 0.80s !important; transition-delay: 0.80s !important; }

/* Cascade for children inside .stagger-grid or .stagger-group */
.stagger-grid > *:nth-child(1), .stagger-group > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-grid > *:nth-child(2), .stagger-group > *:nth-child(2) { animation-delay: 0.15s; }
.stagger-grid > *:nth-child(3), .stagger-group > *:nth-child(3) { animation-delay: 0.25s; }
.stagger-grid > *:nth-child(4), .stagger-group > *:nth-child(4) { animation-delay: 0.35s; }
.stagger-grid > *:nth-child(5), .stagger-group > *:nth-child(5) { animation-delay: 0.45s; }
.stagger-grid > *:nth-child(6), .stagger-group > *:nth-child(6) { animation-delay: 0.55s; }
.stagger-grid > *:nth-child(7), .stagger-group > *:nth-child(7) { animation-delay: 0.65s; }
.stagger-grid > *:nth-child(8), .stagger-group > *:nth-child(8) { animation-delay: 0.75s; }

/* ==========================================================================
   4. High-Tech Continuous Micro-Animations
   ========================================================================== */
/* Glowing Pulse */
@keyframes cyberPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.45);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 229, 255, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    transform: scale(1);
  }
}
.pulse-cyan {
  animation: cyberPulse 2.4s infinite var(--ease-in-out-cyber);
}

@keyframes primaryPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(28, 103, 134, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(28, 103, 134, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(28, 103, 134, 0);
  }
}
.pulse-primary {
  animation: primaryPulse 2.2s infinite;
}

/* Gentle Floating Drift for Trust Seals & Badges */
@keyframes floatDrift {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0.6deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}
.floating-element,
.float-slow {
  animation: floatDrift 4.5s ease-in-out infinite;
}

/* Subtle Shimmer Sweep across Cards */
@keyframes shimmerLight {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.shimmer-sweep {
  position: relative;
  overflow: hidden;
}
.shimmer-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.shimmer-sweep:hover::after {
  transform: translateX(100%);
}

/* Radar Sweep */
@keyframes radarSweepRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.radar-spin {
  animation: radarSweepRing 8s linear infinite;
}

/* Counter Pop effect */
@keyframes counterPopScale {
  0% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.counter-value.counted {
  display: inline-block;
  animation: counterPopScale 0.6s var(--ease-spring);
}

/* ==========================================================================
   5. Interactive Hover Effects
   ========================================================================== */
.hover-lift {
  transition: transform 0.35s var(--ease-out-cyber), box-shadow 0.35s var(--ease-out-cyber);
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.15);
}

.hover-glow-cyan {
  transition: all 0.35s var(--ease-out-cyber);
}
.hover-glow-cyan:hover {
  border-color: rgba(0, 229, 255, 0.65) !important;
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.22) !important;
  transform: translateY(-5px);
}

/* Service Card Interactive Polish */
.service-card {
  transition: transform 0.35s var(--ease-out-cyber), box-shadow 0.35s var(--ease-out-cyber), border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(28, 103, 134, 0.16) !important;
  border-color: rgba(28, 103, 134, 0.3) !important;
}
.service-card .cyber-icon-badge {
  transition: transform 0.4s var(--ease-spring);
}
.service-card:hover .cyber-icon-badge {
  transform: scale(1.12) rotate(4deg);
}

/* Button Micro-Interactions */
.btn-primary,
.btn-warning,
.btn-info,
.btn-outline-primary,
.btn-outline-light {
  transition: transform 0.25s var(--ease-out-cyber), box-shadow 0.25s var(--ease-out-cyber), background-color 0.2s ease, border-color 0.2s ease !important;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn i.fa-arrow-right,
.btn i.fa-chevron-right {
  transition: transform 0.25s ease;
}
.btn:hover i.fa-arrow-right,
.btn:hover i.fa-chevron-right {
  transform: translateX(4px);
}

/* Brand & Client Logo Interactive Hover */
.brand-card,
.client-logo-card {
  transition: all 0.35s var(--ease-out-cyber) !important;
}
.brand-card:hover,
.client-logo-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================================================
   6. Hero Slider Swiper Transitions
   ========================================================================== */
.hero-slider .swiper-slide .hero-content [data-hero-anim] {
  opacity: 0;
  transition: none;
}
.hero-slider .swiper-slide-active .hero-content [data-hero-anim] {
  opacity: 1;
}

/* ==========================================================================
   7. Parallax Background
   ========================================================================== */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ==========================================================================
   8. Reduced Motion Accessibility
   Respect user's system preferences strictly
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate],
  .animate-on-scroll,
  .hero-slider .swiper-slide .hero-content [data-hero-anim] {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-element,
  .float-slow,
  .pulse-cyan,
  .pulse-primary,
  .radar-spin {
    animation: none !important;
  }
}
