
  
 
  
	
  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.container {

  width: 100%;
  max-width: 600px;
  padding: 15px;
  
}

.boxss {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h3 {
  text-align: center;
  color: #3a8dff; /* Dark Sky Blue */
  margin-bottom: 20px;
  font-size: 24px;
  transition: color 0.3s ease; /* Smooth color transition */
  cursor: pointer; /* Makes the heading appear interactive */
}

h3:hover {
  color: #1d3c78; /* Dark Blue */
}

.scroller-boxss{
  width: 100%;
  max-height: 250px; /* Increased for better visibility */
  overflow-y: scroll; /* Enable vertical scrolling */
  position: relative;
  background-color: #fafafa;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease; /* Smooth box-shadow transition */
  scrollbar-width: thin; /* Firefox: thin scrollbar */
  scrollbar-color: #3a8dff #f4f4f9; /* Firefox: scrollbar color */
}

.scroller-boxss:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.scroller-boxss::-webkit-scrollbar {
  width: 8px; /* Scrollbar width */
}

.scroller-boxss::-webkit-scrollbar-thumb {
  background-color: #3a8dff; /* Scrollbar thumb color */
  border-radius: 4px;
}

.scroller-boxss::-webkit-scrollbar-track {
  background-color: #f4f4f9; /* Scrollbar track color */
}

.scroll-contents {
  display: flex;
  flex-direction: column;
  animation: scroll-up 90s linear infinite;
  transition: animation-play-state 0.3s ease; /* Smooth transition for pausing */
}

/* Pause scrolling when hovering over the scroller-box */
.scroller-boxss:hover .scroll-contents {
  animation-play-state: paused; /* Pause the scroll when hovering over the scroller-box */
}

.scroll-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px; /* Adds space at the bottom of each person */
}

.scroll-items img {
  align-self: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth zoom effect */
}

.scroll-items img:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.scroll-items strong {
  margin-top: 8px;
  font-size: 18px;
  color: #666;
  font-weight: bold;
}

.scroll-items p,
.scroll-items ol {
  font-size: 15px;
    color: #025e7a;
  line-height: 1.5;
  margin-left: 70px; /* Adjusted for better text alignment */
  margin-right: 15px; /* Added margin-right to avoid edge overlap */
}

/* Adding underline after each person's name */
.scroll-items::after {
  content: "";
  display: block;
  width: 60%; /* Width of the underline */
  height: 1px;
  background-color: #ddd;
  margin-top: 10px;
}

/* Scroll Animation */
@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Hover and focus effects for interactivity */
.scroll-items:hover {
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Media Query for responsiveness */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }

  .boxs {
    padding: 10px;
  }

  h3 {
    font-size: 20px;
  }

  .scroll-items img {
    width: 50px;
    height: 50px;
  }

  .scroll-items strong {
    font-size: 16px;
  }

  .scroll-items p,
  .scroll-items ol {
    margin-left: 50px;
  }
}
