/**
Theme Name: Astra child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*  Infinte heading animation */
 .infinite-sliding-container {
            position: relative;
            height: 33px;
	    	font-size: 66px;
			font-weight: 700;
			color: #7A4BB4;
	 		width: 430px;
			font-family: 'DM Sans';
        }

        .sliding-heading {
            position: absolute;
            width: 100%;
            opacity: 0;
            transform: translateY(30px);
            animation: slideToggle 4s infinite;
        }

        /* Specific animation timings for alternating visibility */
        .middle-man {
            animation-delay: 0s;
        }

        .health-brand {
            animation-delay: 2s; /* Starts after the first heading */
        }

        @keyframes slideToggle {
            0%, 100% {
                opacity: 0;
                transform: translateY(30px);
            }
            25%, 50% {
                opacity: 1;
                transform: translateY(0);
            }
            75% {
                opacity: 0;
                transform: translateY(-30px);
            }
        }

/* Custom Image Carousel */

/* .carousel-primary-left,
.carousel-primary-right {
  width: 100%;
  position: absolute;
  display: flex;
  gap: 20px;
}

.carousel {
	height: 80px;
    width: 160px;
    background-size: contain;
    border: 1px solid #D6D6D6;
    padding: 16px 19px;
	display: flex;    
	align-items: center;
    justify-content: center;
}

.carousel img {
	filter: grayscale(100%);
    transition: filter 0.3s ease;
	height: 100%;
    object-fit: contain;
}
.carousel img:hover {
    filter: grayscale(0%);
}

.carousel-primary-left {
  animation: scroll-left 4s linear infinite;
}

.carousel-primary-right {
  animation: scroll-right 4s linear infinite;
}

@keyframes scroll-left {
  0% {
    left: 100%;
  }

  100% {
    left: -100%;
  }
}

@keyframes scroll-right {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

 */

.scroll-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  animation: scroll-carousel 4s linear infinite;
  gap: 20px;
}

.carousel-track-left{
	animation: scroll-carousel 4s linear infinite;
}
.carousel-track-right{
	animation: scroll-carousel-reverse 4s linear infinite;
}
.carousel {
  flex: 0 0 auto;
  height: 80px;
  width: 160px;
  background-size: contain;
  border: 1px solid #D6D6D6;
  padding: 16px 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  height: 100%;
  object-fit: contain;
}

.carousel img:hover {
  filter: grayscale(0%);
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move one full set of images out */
  }
}

@keyframes scroll-carousel-reverse {
  0% {
    transform: translateX(-50%); /* Start at the end */
  }
  100% {
    transform: translateX(0); /* Move back to the beginning */
  }
}
