/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Rimi
Author URI: https://example.com
Description: Child theme for Astra
Template: astra
Version: 1.0.0
*/

.timeline-wrapper {
  padding: 40px 0;
  position: relative;
}

.timeline-slider .timeline-slide {
  display: flex !important;
  gap: 24px;
  align-items: center;
}

/* Make image smaller and stable */
.timeline-image img {
  width: 200px;
  height: auto;
  display: block;
  transform-origin: center;
}

/* Rotate ONLY the image */
@keyframes rotateLeftRight {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

.timeline-image img {
  animation: rotateLeftRight 2s infinite ease-in-out;
}

