.topic-pill {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    background-color: #f2f2f2;
    border-radius: 8px;
    color: #0f0f0f;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.topic-pill:hover {
    background-color: #e5e5e5;
}

.topic-pill {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    background-color: #f2f2f2;
    border-radius: 8px;
    color: #0f0f0f;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.topic-pill:hover {
    background-color: #e5e5e5;
    color: red;
}
/* Custom styles */
.navbar-brand svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .nav-link:hover, .navbar-nav .nav-link.active, .dropdown-item:hover {
        color: #dc3545 !important;
    }
    .navbar-nav .nav-link, .navbar-nav .dropdown-toggle {
        color: #000 !important;
    }
    .dropdown-menu {
        border-color: #dc3545;
    }

    /* Nav Bar Custom Styles */
    .navbar .dropdown-menu {
        background-color: #f8f9fa;
    }
    .navbar .dropdown-menu .dropdown-item {
        color: #333;
    }
    .navbar .dropdown-menu .dropdown-item:hover {
        background-color: #e9ecef;
    }
    
    .text-dark i {
        font-size: 1.5rem;
        transition: color 0.2s ease-in-out;
    }

    .text-dark i:hover {
        color: #dc3545; /* Bootstrap danger color */
    }

    .homepage-footer-section {
        background-color: #f8f9fa;
        padding: 1rem 0;
    }

    .homepage-footer-section .link-dark:hover {
        color: #dc3545; /* Bootstrap danger color */
    }

    .homepage-footer-section .bi {
        font-size: 1.5rem;
        transition: color 0.2s ease-in-out;
    }

    /* New Header CSS */
    .top-bar {
        background-color: #f8f9fa;
        font-size: 14px;
        overflow-x: auto;
        white-space: nowrap;
    }
    .top-bar::-webkit-scrollbar {
        display: none;
    }
    .main-nav {
        background-color: #00337f;
    }
    .nav-link {
        color: white !important;
    }
    .breaking-news {
        background-color: #e40000;
        color: white;
    }
    .topic-pill {
        background-color: #f8f9fa;
        border-radius: 20px;
        padding: 5px 15px;
        margin: 5px;
        display: inline-block;
        font-size: 14px;
    }
    .logo {
        width: 80px;
    }
    .language-selector {
        background-color: #002569;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
    }
    .offcanvas {
        background-color: #00337f;
    }
    .offcanvas-header .btn-close {
        background-color: white;
    }
    .mobile-nav-link {
        color: white;
        text-decoration: none;
        padding: 10px 15px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .mobile-nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    @media (max-width: 768px) {
        .top-bar .container {
            padding: 0;
        }
        .breaking-news span {
            font-size: 14px;
        }
    }