body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-main{
    width:150px;
}
/* Header Styles */
header {
    background: #000000; /* Header background color */
    color: #fff; /* Text color */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem; /* Reduced font size */
    margin: 0;
    font-weight: 600; /* Bold logo */
}

.nav-menu {
    list-style: none; /* Remove bullet points */
    display: flex; /* Align items horizontally */
    justify-content: space-around; /* Space out items */
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline; /* Display list items inline */
}

.nav-menu button {
    background-color: #313f76; /* Button color */
    color: white; /* Text color */
    border: none; /* No border */
    padding: 10px 15px; /* Padding for buttons */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer on hover */
    font-size: 1rem; /* Font size */
    transition: background-color 0.3s; /* Transition for hover effect */
}

.nav-menu button:hover {
    background-color: #ffeb3b; /* Hover color */
}
/* Main Content Styles */
#news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.news-article {
    background: #fff;
    width: calc(100% / 3 - 40px);
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-article img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-article h2,
.news-article p,
.news-article a {
    margin: 15px;
    display: -webkit-box; /* For Safari */
    -webkit-box-orient: vertical; /* For Safari */
    overflow: hidden; /* Hide overflow */
    -webkit-line-clamp: 2; /* Limit to 3 lines */
    line-clamp: 2; /* For other browsers */
    

}

/* Footer Styles */
footer {
    background-color: #313f76 !important; /* Footer background color */
    color: #fff; /* Footer text color */
    padding: 20px 0;
    margin-top: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center; /* Center footer links */
    padding: 0;
}

.footer-links li {
    margin: 0 15px; /* Spacing between footer links */
}

.footer-links a {
    text-decoration: none;
    color: #ffeb3b; /* Footer link color */
    font-size: 0.9rem; /* Reduced font size */
    padding: 10px 15px; /* Button-like padding */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s;
}
.news-article h2 {
    font-size: 1rem; /* Change to your desired font size */
    margin: 0.5rem 0; /* Adjust margin as needed */
    font-weight: 500; /* Adjust weight if needed */
    padding: 1rem;
    height: 2.5rem;
}

/* Optional: You can also adjust other heading levels if used */
.news-article h1 {
    font-size: 1rem; /* Adjust if you have h1 in articles */
}
.footer-links a:hover {
    background-color: #1e90ff; /* Change footer link background on hover */
    color: #fff; /* White text color on hover */
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .news-article {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 600px) {
    .news-article {
        width: 100%;
    }
}
/* Read More Button Styles */
.read-more-button {
    display: inline-block; /* Makes the link behave like a block */
    padding: 10px 20px; /* Padding for button size */
    font-size: 0.9rem; /* Font size */
    font-weight: 500; /* Font weight */
    text-align: center; /* Center the text */
    color: #fff; /* Text color */
    background-color: #1e90ff; /* Button background color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transitions */
    margin: 15px; /* Space around the button */
}

.read-more-button:hover {
    background-color: #ffeb3b; /* Change background color on hover */
    transform: translateY(-2px); /* Slightly lift the button */
}

.read-more-button:active {
    background-color: #1c7bbf; /* Darken the button on click */
    transform: translateY(0); /* Return to normal position */
}
