/* ========================================
   Animated Background + Layered Unique Waves + Mobile Scaling
   ======================================== */

/* Banner Section with Animated Background */
.banner.animated-bg {
  position: relative;
  min-height: 800px;
  height: auto;
  overflow: hidden;
  background: linear-gradient(
    -45deg,
    #0e7e91 0%,
    #1d2b64 25%,
    #000000 65%,
    #0c8095 70%,
    #1d43de 80%
  );
  background-size: 400% 400%;
  animation: gradientBG 20s ease infinite;
  z-index: 0;
}

/* Kill any unwanted overlay */
.banner:before {
  display: none !important;
}

/* Content always above background and waves */
.banner .container,
.banner * {
  position: relative;
  z-index: 3;
}

/* ========================================
   Wave Effect Container
   ======================================== */

.wave-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 150px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.waves-shape {
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ========================================
   Wave Layers (Different Backgrounds and Speeds)
   ======================================== */

/* Base wave style */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  background-size: auto 100%;
  transform: translateX(0);
}

.waves-shape.shape-one .wave {
  z-index: 4;
  opacity: 0.4;
  background-image: url('../images/bg-wave/wave-2.png');
  animation: move-wave 20s ease-in-out infinite alternate;
}

.waves-shape.shape-two .wave {
  z-index: 5;
  opacity: 0.6;
  background-image: url('../images/bg-wave/wave-2.png');
  animation: move-wave 14s ease-in-out infinite alternate;
}

.waves-shape.shape-three .wave {
  z-index: 6;
  opacity: 1;
  background-image: url('../images/bg-wave/wave-3.png');
  animation: move-wave 40s ease-in-out infinite alternate;
}


/* ========================================
   Keyframes
   ======================================== */

@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes move-wave {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
