/* General body styling */
body {
    background-color: #f5f5dc;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header styling */
#header {
    width: 100%;
    background-color: #E6E6FA; /* Lavender */
    text-align: center;
    padding: 20px;
    color: #333;
}

/* Navigation Styling */
nav {
    text-align: center;
    margin: 10px 0;
    width: 100%; 
    background-color: #d3d3d3; /* Light Gray */
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #2c5f2d; /* Darker Green for better contrast */
    font-weight: bold;
}

nav ul li a.active {
    color: #1d3c1f; /* Even darker green to stand out */
    text-decoration: underline;
}

nav ul li a:hover {
    color: #4e6b1e; /* Olive green hover state */
}

/* Main content styling */
#content {
    width: 100%;
    background-color: #FFFFFF;
    padding: 20px;
    margin: 20px auto;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

/* Footer styling */
#footer {
    width: 100%;
    background-color: #E6E6FA; /* Lavender */
    text-align: center;
    padding: 10px;
    color: #333;
}

/* Link styling */
a {
    color: #6b8e23; /* Olive green */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: black;
}

/* Image styling */
img {
    padding: 10px;
    margin: 10px;
    max-width: 100%; /* Responsive image */
    height: auto;
}

@media screen and (max-width: 768px) {
    ol {
        list-style: decimal; /* Default numbered list style */
        padding-left: 20px; /* Keep numbers properly spaced */
        margin: 0;
    }

    ol li {
        margin-bottom: 15px; /* Space between list items */
        line-height: 1.4; /* Improve readability */
    }

    ol li strong {
        display: block; /* Resource titles on their own line */
        margin-bottom: 5px; /* Space after bold titles */
    }

    ol li p {
        margin: 0; /* Remove excess paragraph margins */
    }

    ol li a {
        display: inline-block; /* Place links on their own line */
        margin-top: 5px;
        color: #6b8e23;
        text-decoration: underline;
    }

    ol li a:hover {
        color: #4e6b1e; /* Adjust hover state */
    }
}
/* Success Page Buttons */
.success-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.success-buttons .button {
    display: inline-block;
    background-color: #6b8e23; /* Olive green */
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.success-buttons .button:hover {
    background-color: #4e6b1e; /* Darker green on hover */
}

