/* General Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0 10px;
}

/* Header Styling */
header {
    background: #0078d7;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header nav {
    position: relative;
}

header nav .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    margin-bottom: 10px;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    transition: all 0.3s ease-in-out;
}

header nav ul.menu {
    flex-direction: row;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #f4f4f4;
}

/* Mobile Menu */
header nav ul.active {
    display: flex;
}

header nav ul.menu {
    display: none;
}

header nav .menu-toggle {
    display: block;
}

/* Section Styling */
main {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 20px;
}

section h2 {
    font-size: 1.8em;
    color: #0078d7;
    margin-bottom: 10px;
}

article h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 8px;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    background: #333;
    color: #fff;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer ul li a:hover {
    color: #0078d7;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul.menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: #0078d7;
        padding: 10px;
        border-radius: 8px;
    }

    header nav ul.active {
        display: flex;
    }
}
