/* Responsive and animation-related styles extracted from style.css */

/* Milestone timeline smooth scroll for mobile */
@media (max-width: 767px) {
  .milestone-scroll {
    scroll-behavior: smooth;
  }
}

/* Loader animations */
.loader-icone{
  font-size: 4em;
  margin-bottom: 4px;
  color: var(--primary-color);
  animation: rotate 2000ms infinite;
}

.loader-ellipses{
  display: flex;
  width: 100px;
  justify-content: space-between;
}

.loader-ellipses span{
  background-color: var(--secondary-color);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  opacity: 0;
  animation: loader-grow 2000ms infinite alternate;
}

.loader-ellipses span:nth-child(2){
  animation-delay: 400ms;
}

.loader-ellipses span:nth-child(3){
  animation-delay: 800ms;
}

@keyframes loader-grow {
  to{
    transform: scale(1.2);
    background-color: var(--primary-color);
    opacity: 100%;
  }
}

@keyframes rotate{
  to{
    transform: rotate(360deg);
  }
}

/* Banner image rotation */
.banner img {
  animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate {
  100% {
    transform: rotate(360deg);
  }
}

/* Pulse animations used on small screens */
@media (max-width: 767px) {
  .banner-image-circle img {
    max-width: 320px !important;
    height: 320px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    animation: pulse 3s infinite;
  }
  .news-thumb img {
    width: 80px !important;
    height: 80px !important;
    animation: pulse 3s infinite;
  }
  .team-img-box img {
    width: 120px !important;
    height: 120px !important;
    animation: pulse 3s infinite;
  }
  .subscribe-card img {
    width: 60px !important;
    height: 60px !important;
    animation: pulse 3s infinite;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    filter: brightness(100%);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(110%);
  }
  100% {
    transform: scale(1);
    filter: brightness(100%);
  }
}
