


/* Start CSS for demo scroll*/

/* End CSS for demo scroll*/

/* Start CSS for Associate scroll */
<style>
  .container-main {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    /* Ensures container uses the full width of the parent */
    max-width: 1200px;
    /* Adjust the maximum width to hold more cards */
    /* Hide the scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
  }

  .container-main::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }

  .card-associate {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    margin-right: 20px;
    padding: 10px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
  }

  .card-associate img {
    width: -webkit-fill-available;
  }

  .card-associate h3 {
    margin: 10px 0;
  }

  .card-associate p {
    font-size: 14px;
    color: #555;
    margin: 0;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Number of lines to show */
    -webkit-box-orient: vertical;
  }

  .card-associate:hover {
    transform: scale(1.05);
  }

  .scroll-btn {
    /* Hide the buttons initially */
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
  }

  .scroll-btn.left {
    left: 0;
  }

  .scroll-btn.right {
    right: 0;
  }

  .container-main {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 1200px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}