body, h1, h2, h3, p, ul, li, figure, figcaption {
    margin: 10px;
    padding: 0;
    list-style: none;
    font-family: 'Arial', sans-serif;
}

/* Body and Layout */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 18px;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
header {
    background: #005A9C;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0 0 10px;
}

/* Navigation Bar */
nav ul {
    background: #333;
    text-align: center;
    padding: 10px 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Section and Articles */
section {
    padding: 20px;
    margin: 20px 0;
}

/* Gallery Section */
#photo-gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#photo-gallery li {
    width: calc(33.333% - 20px);
    margin: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#photo-gallery img {
    width: 100%;
    height: auto;
}

#photo-gallery figcaption {
    padding: 15px;
    text-align: center;
    font-style: italic;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

form button {
    display: inline-block;
    background: #005A9C;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

form button:hover {
    background: #004080;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

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

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
}

footer .social-media a {
    display: inline-block;
    margin: 0 5px;
    color: #fff;
    /* Add additional styles for social media icons if using images or font icons */
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #fff;
    text-decoration: underline; /* Consider removing underline if using buttons for CTA */
}