.top-header a {
    padding: 10px !important;
    font-size: 12px !important;
}

/* Remove default Bootstrap caret from dropdowns */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

.lab-item {
    min-height: 300px;
    background-color: #f2f6f4 !important;
      padding: 10px;
}

.logo-section {
    background-color: white !important;
}

.welcome-section {
    padding: 80px;
}

.new-badge {
    width: 28px;
    height: auto;
    flex-shrink: 0;
    /* prevents shrinking */
}

.notice-link {
    color: #0d6efd;
    /* bootstrap primary blue */
    text-decoration: none;
}

.notice-link:hover {
    text-decoration: underline;
}

.notice-item {
    transition: background 0.2s ease-in-out;
}

.notice-item:hover {
    background: #f8f9fa;
    /* light gray on hover */
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: notice-counter;
    /* 🔹 Reset only once per list */
}

.notice-list li {
    position: relative;
    padding: 10px 15px 10px 35px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--line-color, #ff9800);

    counter-increment: notice-counter;
    /* 🔹 Increment on each <li> */
}

.notice-list li::before {
    content: counter(notice-counter);
    /* 🔹 Use the counter */
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--circle-bg, #ff9800);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notice-list strong a {
    color: #333;
    text-decoration: none;
}

.notice-list strong a:hover {
    color: #ff5722;
    text-decoration: underline;
}

.notice-date {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.page-heading {
    text-align: center;
    font-size: 18px;
    background-color: #7d3b30;
    ;
    padding: 11px;
    margin-bottom: 31px;
    margin-top: 10px;
    color: white;
}

.card-header {
    /* background-color: #003366; */
    background-color: #fe964d;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Same fixed height for notice & tender */
.scroll-box {
    height: 350px;
    /* fixed equal height */
    overflow-y: auto;
    /* scrollbar appears if content exceeds */
}

.notice-item,
.tender-item {
    padding: 10px;
    border-bottom: 1px solid #eaeaea;
}

.notice-item:last-child,
.tender-item:last-child {
    border-bottom: none;
}

.notice-date,
.tender-date {
    display: block;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
}

.carousel-inner img {
    width: 100%;
    height: 350px;
    /* match height with notice & tender */
    object-fit: cover;
    border-radius: 5px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 150px;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.carousel-item-custom {
    flex: 0 0 auto;
    width: 180px;
    margin: 0 15px;
    text-align: center;
}

.carousel-item-custom img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    border-radius: 5px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Smooth scrolling effect */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


footer {
    font-size: 14px;
    line-height: 1.6;
}

/* Top Section */
.footer-top {
    background-color: #2C2C2C;
    /* dark gray */
    color: #ddd;
    padding: 48px 0;
}

.footer-top h6 {
    color: #f76c2f;
    /* orange heading */
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-top a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-top a:hover {
    color: #f76c2f;
}

/* Bottom Bar */
.footer-bottom {
    background-color: #1A1A1A;
    /* darker gray */
    padding: 15px 0;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
}

.footer-bottom a {
    color: #f76c2f;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* makes it align middle inside the column */
}

.footer-logo img {
    max-height: 100px;
    /* adjust size */
    object-fit: contain;
}