/* General body styles and font configuration */
body {
    font-family: 'Arial', sans-serif; /* Set a clean, common font */
    line-height: 1.6; /* Improve readability */
    margin: 0; /* Remove default body margins */
    padding: 0;
    background-color: #f4f4f9; /* Light background color */
    color: #333; /* Default text color */
}

/* Container to center content and set max width */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto; /* Center the container */
    overflow: hidden;
    padding: 20px;
}

/* Header styling */
header {
    background: #007bff; /* Bright blue header background */
    color: white; /* White text for contrast */
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0056b3 3px solid; /* Darker blue bottom border */
    text-align: center;
}

header h1 {
    margin: 0;
    text-transform: uppercase;
    font-size: 2.5em; /* Larger heading */
    letter-spacing: 2px; /* Add some space between letters */
}

/* Navigation bar styling */
nav {
    background: #333; /* Dark background for navigation */
    color: white;
    text-align: center;
    padding: 10px 0;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none; /* Remove bullet points */
    display: flex; /* Use flexbox to align links horizontally */
    justify-content: center; /* Center the navigation links */
}

nav ul li {
    padding: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none; /* Remove underline from links */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 5px; /* Slightly rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

nav ul li a:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Main content styling for sections/articles */
section, article {
    padding: 20px;
    margin-bottom: 20px;
    background: white; /* White background for content boxes */
    border: #ccc 1px solid;
    border-radius: 8px; /* Rounded corners for the content boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}

/* Headings within content */
h2 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    margin-top: 0;
}

/* Styling for lists */
ul, ol {
    padding-left: 25px;
}

/* Definition list styling (used on maintenance page) */
dl dt {
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

dl dd {
    margin-left: 20px;
    font-style: italic;
    padding-bottom: 10px;
    border-left: 3px solid #ccc; /* Decorative left border */
    padding-left: 10px;
}

/* Image styling */
img {
    max-width: 100%; /* Ensure images don't overflow their containers */
    height: auto;
    display: block; /* Allows margin auto to work */
    margin: 15px auto;
    border-radius: 10px;
    border: 2px solid #ddd;
}

/* Footer styling */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-size: 0.9em;
    position: relative; /* Useful for general layout */
}

/* Special text styling (used on the contact page) */
.contact-info {
    font-size: 1.2em;
    color: #d9534f; /* A red color for emphasis */
    font-weight: bold;
    padding: 10px;
    background-color: #f9eaea;
    border: 1px dashed #d9534f;
    border-radius: 5px;
    text-align: center;
}

/* Form styling (used on the contact page) */
form label {
    display: block; /* Make labels take up full width */
    margin-top: 10px;
    font-weight: bold;
}

form input[type="text"], form input[type="email"], form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

form button {
    background-color: #28a745; /* Green submit button */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #1e7e34; /* Darker green on hover */
}

/* Table styling (used on the Home page) */
table {
    width: 100%;
    border-collapse: collapse; /* Removes spaces between borders */
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2; /* Zebra striping for readability */
}

table tr:hover {
    background-color: #e9e9e9; /* Light highlight on row hover */
}