/* HERO SLIDER */

.hero-slider{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  opacity:0;
  visibility:hidden;
  transition:1s ease;
}

.slide.active{
  opacity:1;
  visibility:visible;
}

.slide img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.08);
  animation:zoom 8s linear infinite;
}

@keyframes zoom{
  from{
    transform:scale(1.08);
  }
  to{
    transform:scale(1.15);
  }
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background:linear-gradient(
    rgba(1,56,120,0.75),
    rgba(1,56,120,0.85)
  );
}

.slide-content{
  position:relative;
  z-index:10;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
  max-width:850px;
  margin:0 auto;
  animation:fadeUp 1s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.slide-content h4{
  color:#f8b400;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:18px;
  font-size:18px;
}

.slide-content h1{
  font-size:72px;
  line-height:1.1;
  margin-bottom:25px;
  font-weight:800;
}

.slide-content p{
  font-size:18px;
  line-height:1.8;
  max-width:700px;
  margin:0 auto 35px auto;
  color:#e7eef8;
}

.hero-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}

.slider-nav{
  position:absolute;
  width:100%;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  justify-content:space-between;
  padding:0 30px;
  z-index:20;
}

.slider-nav button{
  width:60px;
  height:60px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.18);
  color:#fff;
  font-size:24px;
  cursor:pointer;
  transition:0.4s ease;
  backdrop-filter:blur(8px);
}

.slider-nav button:hover{
  background:#f8b400;
  color:#000;
}

.slider-dots{
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  z-index:20;
}

.dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:rgba(255,255,255,0.4);
  cursor:pointer;
  transition:0.4s ease;
}

.dot.active{
  width:40px;
  border-radius:20px;
  background:#f8b400;
}

/* RESPONSIVE */

@media(max-width:992px){

  .slide-content h1{
    font-size:54px;
  }

}

@media(max-width:768px){

  .hero-slider{
    height:90vh;
  }

  .slide-content{
    text-align:center;
    align-items:center;
  }

  .slide-content h1{
    font-size:40px;
  }

  .slide-content p{
    font-size:16px;
  }

  .slider-nav{
    padding:0 10px;
  }

  .slider-nav button{
    width:50px;
    height:50px;
    font-size:20px;
  }

}

