.container {
    max-width: 800px; /* Limit width of main content */
    margin: 0 auto; /* Center align container */
    padding: 20px;
}

/* Navbar Styles */
.navbar-chandra {
    background-color: #000000;
    padding: 10px 0;
    overflow-x: auto;  /* Allows horizontal scrolling */
    white-space: nowrap; /* Prevents wrapping */
}
.navbar-chandra {
    position: sticky; /* Make it sticky */
    top: 0; /* Stick to the top */
    z-index: 1000; /* Ensure it appears above other content */
}

.navbar-chandra::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

.container-chandra {
    display: flex;
    justify-content: space-between; /* Logo on left, menu items on right */
    align-items: center;
    padding: 0 20px;
}

.logo-chandra img {
    height: 40px;
    margin-right: 20px;
}

.nav-links-chandra {
    display: inline-flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links-chandra li {
    display: inline-block;
    margin-left: 20px;
}

.nav-links-chandra a {
    color:rgb(207, 11, 11);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.nav-links-chandra a:hover {
    text-decoration: underline;
}

.article-list {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between items */
}

.article-item {
    border: 1px solid #ddd; /* Border around each article */
    border-radius: 5px; /* Rounded corners */
    padding: 10px;
    text-align: center; /* Center align text in article item */
}

.article-image {
    width: 100%; /* Set width to 100% of its container */
    max-width: 150px; /* Set a max width for the images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Round image corners */
    margin: 0 auto; /* Center align the image */
}

.view-all {
    background-color: #d9534f; /* Button color */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%; /* Full width */
    text-align: center; /* Center text in the link */
    display: inline-block; /* Make it behave like a block */
    text-decoration: none; /* Remove underline */
}

.view-all:hover {
    background-color: #c9302c; /* Darker shade on hover */
}

.publish-date {
    font-size: 0.9rem; /* Smaller font for date */
    color: #777; /* Grey color */
}
/* loader */
/* Loader Styles */
.loader {
    position: fixed; /* Fixed position to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    background-color: #d9534f; /* Red background */
    z-index: 9999; /* On top of all other elements */
}

/* Loader Dot Styles */
.loader-dot {
    width: 20px; /* Dot width */
    height: 20px; /* Dot height */
    margin: 0 5px; /* Space between dots */
    border-radius: 50%; /* Make it round */
    background: #000; /* Dot color (black) */
    animation: jump 0.6s infinite alternate; /* Jump animation */
}

/* Loader Animation */
@keyframes jump {
    0% {
        transform: translateY(0); /* Original position */
    }
    50% {
        transform: translateY(-20px); /* Move up */
    }
    100% {
        transform: translateY(0); /* Move back down */
    }
}

/* Adding a delay to create a jumping effect */
.loader-dot:nth-child(1) {
    animation-delay: 0s; /* First dot jumps first */
}

.loader-dot:nth-child(2) {
    animation-delay: 0.2s; /* Second dot jumps slightly later */
}

.loader-dot:nth-child(3) {
    animation-delay: 0.4s; /* Third dot jumps last */
}

/* footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer ul {
    list-style-type: none;
    padding: 0;
}

.footer a {
    color: #ffdd57; /* Change to your desired color */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    font-size: 24px;
    color: white; /* Change color as needed */
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ffdd57; /* Hover color */
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer h3 {
        text-align: center;
    }
}