.logo {
      width: 110px;
      height: auto;
    }

  /* Carousel Styling */
.carousel-inner {
  max-height: auto;
  /* overflow: ; */
  border-radius: 5px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: fill;  
  background-color: #f8f9fa;
  display: block;
  margin: 0 0;}

/* For mobile devices */
@media (max-width: 768px) {
  .carousel-item img {
    height: 250px;
    object-fit: fill;  /* also on mobile */
  }
}



    /* Quick Links Styling */
    .quick-link {
      color: #fff;
      font-weight: bold;
      font-size: 15px;
      display: flex;
      align-items: center;
      justify-content: start;
      padding: 10px 15px;
      margin: 6px 0;
      border-radius: 10px;
      text-decoration: none;
      transition: 0.3s ease;
    }

    .quick-link:hover {
      opacity: 0.85;
      text-decoration: none;
    }

    .quick-link i {
      margin-right: 10px;
      font-size: 1.2rem;
    }


 /* Scrolling Alert */
.plain-scroll-alert {
 background-color: #fff7dc;
      padding: 10px;
      overflow: hidden;
      white-space: nowrap;
      font-family: Arial, sans-serif;
      font-size: 16px;
      position: relative; 
}

.plain-scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 50s linear infinite;
  font-weight: 600;
  color: #333; /* Dark gray text */
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.plain-scroll-alert:hover .plain-scroll-text {
  animation-play-state: paused;
}
 .red { color: red; font-weight: bold; }
    .green { color: green; font-weight: bold; }
    .blue { color: blue; text-decoration: underline; cursor: pointer; }

/* Remove gap above carousel */
.carousel-inner,
.carousel-item {
  margin-top: 0 !important;
}

.quick-links-scroll {
  height: auto;
  max-height: 58vh;
  overflow-y: auto;
}
.announcements-wrapper {
  position: relative;
  background-color: #f9f9f9;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 8px 16px;
  overflow: hidden;
}

.announcements-scroll {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  color: #333;
  font-weight: 600;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.announcements-wrapper:hover .scroll-text {
  animation-play-state: paused;
}

.announcements-hover-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.announcements-wrapper:hover .announcements-hover-list {
  display: block;
}
/* Announcements Scroll */
.announcement-scroll p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.card-body:hover .announcement-scroll {
  animation-play-state: paused;
  overflow-y: auto;
  height: auto;
  position: static;
}

@keyframes scroll-up {
  0% {
    top: 100%;
  }
  100% {
    top: -100%;
  }
}
.announcement-wrapper {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.announcement-scroll {
  position: absolute;
  animation: scroll-up 25s linear infinite;
  width: 70vw;
}

@keyframes scroll-up {
  0% {
    top: 100%;
  }
  100% {
    top: -100%;
  }
}

/* Hover Effect: Show all & stop animation */
.announcement-wrapper:hover {
  height: auto;
  overflow: auto;
}

.announcement-wrapper:hover .announcement-scroll {
  animation: none;
  position: static;
}
.announcements-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.announcement-scroll {
  position: absolute;
  animation: scroll-up 20s linear infinite;
}

.announcements-wrapper:hover {
  height: auto;
  overflow-y: auto;
}

.announcements-wrapper:hover .announcement-scroll {
  animation: none;
  position: static;
}

@keyframes scroll-up {
  0% {
    top: 100%;
  }
  100% {
    top: -100%;
  }
}

/* Collector Card Image Styling */
.collector-img {
  max-height: 250px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  padding: 10px;
}

/* Collector Card Alignment */
.card.h-100 {
  height: 100%;
  min-height: 320px; /* Match height with announcements */
}

/* Optional: Center collector text nicely */
.card-body.text-center h5 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-body.text-center p {
  font-size: 14px;
  line-height: 1.4;
}

/* Remove underline from quick links */
.quick-links-scroll a {
  text-decoration: none !important;
}

.quick-links-scroll a:hover {
  text-decoration: none !important;
}
        .carousel-item img {
      width: 100%;
      height: auto;
      max-height: 61vh;
    }
    @media (max-width: 768px) {
      .carousel-item img {
        max-height: 200px;
      }
    }
 /* New styles for Latest Updates card (Teal/Blue theme) */
        .latest-updates-card {
            height: 350px; /* Set fixed height for the card */
        }
        .latest-updates-card .card-header {
            background-color: #17a2b8 !important; /* Bootstrap info blue */
            font-size: 1.2rem; /* Larger font for header */
            padding: 0.75rem 1.25rem; /* More padding */
        }
        .latest-updates-card .card-body {
            background-color: #e6fffa; /* Very light teal/aqua */
            border-bottom-left-radius: 0.75rem;
            border-bottom-right-radius: 0.75rem;
            padding: 1.25rem; /* More padding in body */
        }
        .latest-updates-card .announcement-scroll p {
            background-color: #b3e0d8; /* Light teal */
            border-left: 5px solid #008080; /* Dark teal left border */
            padding: 0.75rem;
            margin-bottom: 0.75rem; /* Slightly less margin */
            border-radius: 0.3rem; /* Small border-radius for items */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for items */
        }
        .latest-updates-card .announcement-scroll p:last-child {
            margin-bottom: 0;
        }
        .latest-updates-card .announcement-scroll p strong {
            color: #006666; /* Even darker teal for strong text */
        }
        .latest-updates-card .announcement-scroll a {
            color: #004d4d; /* Darkest teal for links */
            font-weight: bold;
        }