/* css styles */

/* A clean, soft off-white background */
body {
  background-color: #fcfcfc; 
}

/* Add a professional, soft drop-shadow behind the profile image */
.about-image {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #ffffff; /* Gives it a crisp white frame edge */
}

/* Style links so they change color softly when a reader hovers over them */
a {
  color: #2c3e50; 
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: #18bc9c; /* Soft transition highlight when hovered */
  text-decoration: underline;
}

.about-links .btn {
  border-color: #2c3e50;
  color: #2c3e50;
}

.about-links .btn:hover {
  background-color: #2c3e50;
  color: white;
}

/* The outer white card box (centered on your website) */
.news-scroll-card {
  max-width: 550px;
  margin: 2.5rem auto;
  padding: 1.5rem;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: center !important;
}

/* Centers the section title inside the card */
.news-scroll-card h3 {
  text-align: center !important;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* The inner content area that controls the scrolling and text wrap */
.news-scroll-content {
  max-height: 120px;          /* Restricts the window height to force the scrollbar */
  overflow-y: auto;           /* Adds the vertical scrollbar when content overflows */
  text-align: center !important; 
}

/* THE FIX: Snaps the bullet points perfectly flush against the left of the text */
.news-scroll-content ul {
  display: inline-block;
  text-align: left !important;
  padding-left: 1.5rem !important;
  margin: 0 auto;
}

.news-scroll-content li {
  margin-bottom: 0.6rem;
}

/* Sleek, modern scrollbar styling */
.news-scroll-content::-webkit-scrollbar {
  width: 5px;
}
.news-scroll-content::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}