/* Custom animations and styles */
.services-hero {
  position: relative;
  background-size: cover;
  background-position: top;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.services-hero-bg {
  position: absolute;
  background-position: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(9, 0, 43, 1) 0%,
      rgba(100, 116, 160, 0.8) 50%,
      rgba(29, 78, 216, 0) 100%
    ),
    url("assets/services.jpg");
  animation: adrHeroBg 20s ease-in-out infinite alternate;
}

.service-section.animate-in,
.service-section:hover {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.service-features {
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float infinite linear;
}

.shape-1 {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-duration: 8s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  left: 80%;
  animation-duration: 10s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  left: 50%;
  animation-duration: 12s;
}

.shape-4 {
  width: 40px;
  height: 40px;
  left: 30%;
  animation-duration: 9s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes ring {
  0% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(30deg) scale(1.1);
  }
  20% {
    transform: rotate(-30deg) scale(1.1);
  }
  30% {
    transform: rotate(30deg) scale(1.1);
  }
  40% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.animate-ring {
  animation: ring 2s infinite;
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 3s infinite;
}

.slide-up {
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.slide-right {
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.slide-left {
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.slide-up.animate-in,
.slide-right.animate-in,
.slide-left.animate-in {
  opacity: 1;
  transform: translate(0, 0);
}

.timeline-line {
  background: linear-gradient(to bottom, #3b82f6, #10b981, #8b5cf6);
}

.benefit-card:hover .benefit-icon {
  animation: bounce-slow 1s ease-in-out;
}

.pulse-animation {
  transition: all 0.3s ease;
}

/* Glassmorphism effects */
.backdrop-filter {
  backdrop-filter: blur(10px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #09002b, #8a6727);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #09002b, #8a6727);
}
