/* Ticker Section */
#ticker {
    width: 100%;
    overflow: hidden; /* Hide overflow for smooth scrolling */
    background-color: #f5f5f5; /* Optional background color */
  }
  
  .ticker-container-right {
    display: flex;
    align-items: center;
    width: 200%; /* Double the width for seamless looping */
    animation: move-right 40s linear infinite; /* Smooth right-to-left animation */
  }
  
  .ticker-container-left {
    display: flex;
    align-items: center;
    width: 200%; /* Double the width for seamless looping */
    animation: move-left 40s linear infinite; /* Smooth left-to-right animation */
  }
  
  .ticker-content {
    display: flex;
    flex: 0 0 50%; /* Ensure each set of images takes half the total width */
  }
  
  .ticker-image {
    height: 300px; /* Adjust image size */
    width: auto; /* Maintain aspect ratio */
    object-fit: cover;
  }
  
  /* Animation */
  @keyframes move-right {
    0% {
      transform: translateX(0); /* Start position */
    }
    100% {
      transform: translateX(-50%); /* Move one full width of the ticker-content */
    }
  }
  
  @keyframes move-left {
    0% {
      transform: translateX(-50%); /* Start position */
    }
    100% {
      transform: translateX(0%); /* Move one full width of the ticker-content */
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .ticker-image {
      height: 150px; /* Adjust image height for smaller screens */
    }
  }
  