/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    color: #333;
}

/* Header Styles */
header {
    background: #0077cc;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 2em;
}

header p {
    font-size: 1.2em;
}

/* Navigation Styles */
nav {
    background: #005fa3;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    text-align: center;
}

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

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

nav ul li a:hover {
    text-decoration: none;
    color: #00ace6;
    transition: color 0.3s ease;
}

/* Main Content Styles */
main {
    padding: 20px;
    padding-bottom: 60px; /* Increased bottom padding */
    max-width: 800px;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 150px); /* Ensures the main section takes up most of the screen */
}

section {
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
    padding: 20px; /* Add padding inside the section */
    border-radius: 8px; /* Rounded corners for a softer look */
    background-color: #f9f9f9; /* Light background color for better readability */
    max-width: 700px; /* Limiting width for easier reading */
    margin: auto; /* Center section horizontally */
}

/* Style adjustments for paragraphs */
section p {
    font-size: 1.1em; /* Increase font size for readability */
    line-height: 1.8; /* Increase line height for better readability */
    margin-bottom: 25px; /* Increase margin between paragraphs */
    text-align: justify; /* Justify text for a cleaner look */
    max-width: 650px; /* Restrict width of text for readability */
    margin-left: auto;
    margin-right: auto;
    text-indent: 20px; /* Optional: Indent first line for more readable formatting */
}

section h2 {
    border-bottom: 2px solid #0077cc;
    padding-bottom: 10px;
    margin-bottom: 25px; /* Increase space below the heading */
    font-size: 2.2em; /* Slightly larger font size */
    font-weight: bold;
    color: #0077cc;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: #00cc44;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #009933;
}

/* Footer Styles */
footer {
    background: #0077cc;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
    margin-top: 20px; /* Added margin-top to increase space from content */
}

footer p {
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    main {
        padding: 10px;
    }
}

/* Center images or content */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    text-align: center;
}

/* Keyframes for animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
