/* ===================================
   ANIMATED SHAPES & PARTICLES
   =================================== */

.animated-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.08;
}

/* Individual Shapes */
.shape-1 {
  width: 40px;
  height: 40px;
  background: var(--light-blue);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation: float-bubble-1 25s infinite ease-in-out;
}

.shape-2 {
  width: 50px;
  height: 50px;
  background: var(--accent-blue);
  border-radius: 10px;
  top: 60%;
  left: 15%;
  animation: float-bubble-2 30s infinite ease-in-out;
  transform: rotate(45deg);
}

.shape-3 {
  width: 30px;
  height: 30px;
  background: var(--white);
  border-radius: 50%;
  top: 40%;
  left: 80%;
  animation: float-bubble-3 20s infinite ease-in-out;
}

.shape-4 {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
  border-radius: 50%;
  top: 10%;
  left: 70%;
  animation: float-bubble-4 28s infinite ease-in-out;
}

.shape-5 {
  width: 35px;
  height: 35px;
  background: var(--light-blue);
  border-radius: 8px;
  top: 75%;
  left: 85%;
  animation: float-bubble-5 22s infinite ease-in-out;
}

.shape-6 {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  top: 30%;
  left: 45%;
  animation: float-bubble-6 26s infinite ease-in-out;
}

.shape-7 {
  width: 35px;
  height: 35px;
  background: var(--light-blue);
  border-radius: 50%;
  top: 15%;
  left: 30%;
  animation: float-bubble-1 22s infinite ease-in-out;
}

.shape-8 {
  width: 42px;
  height: 42px;
  background: var(--accent-blue);
  border-radius: 8px;
  top: 55%;
  left: 50%;
  animation: float-bubble-2 27s infinite ease-in-out;
}

.shape-9 {
  width: 28px;
  height: 28px;
  background: var(--white);
  border-radius: 50%;
  top: 70%;
  left: 25%;
  animation: float-bubble-3 24s infinite ease-in-out;
}

.shape-10 {
  width: 38px;
  height: 38px;
  background: var(--light-blue);
  border-radius: 50%;
  top: 25%;
  left: 65%;
  animation: float-bubble-4 29s infinite ease-in-out;
}

.shape-11 {
  width: 32px;
  height: 32px;
  background: var(--accent-blue);
  border-radius: 6px;
  top: 50%;
  left: 90%;
  animation: float-bubble-5 21s infinite ease-in-out;
  transform: rotate(30deg);
}

.shape-12 {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  top: 85%;
  left: 60%;
  animation: float-bubble-6 23s infinite ease-in-out;
}

/* Floating Animations */
@keyframes float-bubble-1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.08;
  }
  25% {
    transform: translate(30px, -50px) rotate(90deg);
    opacity: 0.15;
  }
  50% {
    transform: translate(-20px, -80px) rotate(180deg);
    opacity: 0.08;
  }
  75% {
    transform: translate(50px, -40px) rotate(270deg);
    opacity: 0.12;
  }
}

@keyframes float-bubble-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(45deg) scale(1);
    opacity: 0.08;
  }
  33% {
    transform: translate(-40px, 60px) rotate(135deg) scale(1.1);
    opacity: 0.12;
  }
  66% {
    transform: translate(60px, 30px) rotate(225deg) scale(0.9);
    opacity: 0.15;
  }
}

@keyframes float-bubble-3 {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.08;
  }
  25% {
    transform: translate(-60px, 40px);
    opacity: 0.15;
  }
  50% {
    transform: translate(-30px, 90px);
    opacity: 0.1;
  }
  75% {
    transform: translate(-80px, 50px);
    opacity: 0.12;
  }
}

@keyframes float-bubble-4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.08;
  }
  30% {
    transform: translate(40px, 70px) scale(1.15);
    opacity: 0.14;
  }
  60% {
    transform: translate(-30px, 100px) scale(0.85);
    opacity: 0.1;
  }
}

@keyframes float-bubble-5 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.08;
  }
  40% {
    transform: translate(-50px, -60px) rotate(180deg);
    opacity: 0.15;
  }
  80% {
    transform: translate(-25px, -30px) rotate(360deg);
    opacity: 0.1;
  }
}

@keyframes float-bubble-6 {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.08;
  }
  20% {
    transform: translate(70px, -40px);
    opacity: 0.12;
  }
  40% {
    transform: translate(40px, -80px);
    opacity: 0.15;
  }
  60% {
    transform: translate(90px, -50px);
    opacity: 0.1;
  }
  80% {
    transform: translate(60px, -70px);
    opacity: 0.13;
  }
}

/* General Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated,
.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}
