/* Importing Google Fonts for typography */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Global styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #1C2526;
    background-color: #F5F7FA;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: #FFFFFF;
    border-bottom: 2px solid #0A9396;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin: 10px 0;
    color: #005F73;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #1C2526;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0A9396;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Section with image on the right */
.section-with-image {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.section-content {
    flex: 1;
}

.section-image {
    flex-shrink: 0;
    width: 300px;
    max-width: 40%;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #005F73;
    font-size: 2em;
    margin-bottom: 15px;
}

h3 {
    color: #1C2526;
    font-size: 1.5em;
    margin-bottom: 10px;
}

h4 {
    color: #0A9396;
    font-size: 1.3em;
    margin-bottom: 10px;
}

p {
    font-size: 1em;
    margin-bottom: 15px;
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 5px;
}

a {
    color: #0A9396;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

blockquote {
    border-left: 4px solid #0A9396;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
}

cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #1C2526;
}

/* Footer */
footer {
    background-color: #1C2526;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        font-size: 1em;
        padding: 8px 10px;
    }

    main {
        padding: 0 10px;
    }

    section {
        padding: 15px;
    }

    /* Responsive layout for sections with images */
    .section-with-image {
        flex-direction: column;
        gap: 20px;
    }

    .section-image {
        width: 100%;
        max-width: 100%;
        order: -1; /* Image appears first on mobile */
    }
}