/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f9;
    color: #333;
}

/* Header Styles */
header {
    background: #007BFF;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content horizontally */
    flex-direction: column; /* Stack logo and nav vertically */
    text-align: center; /* Center text within the header */
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header a {
    color: #fff;
    text-decoration: none;
}

header img {
    height: 40px;
}

/* Navigation Menu Styles */
nav {
    display: flex;
    gap: 20px;
    margin-top: 10px; /* Add some space between the logo and the menu */
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center; /* Center the heading text */
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Search Form Styles */
.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    padding: 10px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-form button {
    padding: 10px 20px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 10px;
}

.search-form button:hover {
    background: #004080;
}

/* Popular Tags Styles */
.popular-tags {
    margin-top: 20px;
    text-align: center;
}

.popular-tags h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag {
    padding: 8px 15px;
    background: #007BFF;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.tag:hover {
    background: #0056b3;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 60px;
}

.pagination a {
    padding: 10px 15px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 1rem;
}

.pagination a:hover {
    background: #0056b3;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    width: 100%;
}

/* Introduction Section Styles */
.introduction-section {
    margin-top: 40px;
    text-align: center;
}

.introduction-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.introduction-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.introduction-section strong {
    font-weight: 600;
}

.introduction-section ul {
    list-style: none;
    padding: 0;
}

.introduction-section ul li {
    margin-bottom: 10px;
}