/* Basic Reset to remove default margins/padding */
* {
    box-sizing: border-box; /* Ensures padding/border are included in element's total width/height */
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff; /* All white background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Increase padding to the body to prevent content from hiding behind the fixed header */
    padding-top: 90px; /* Adjusted to fit the extra line of text */
}

/* a href control */
/* Default style for unvisited links */
a:link {
  color: #007bff; /* Blue color for unvisited links */
  text-decoration: none; /* Remove underline */
}

/* Style for visited links */
a:visited {
  color: #6610f2; /* Purple color for visited links */
  text-decoration: none;
}

/* Style for hover (rollover) state */
a:hover {
  color: #dc3545; /* Red color on hover */
  text-decoration: underline; /* Add underline on hover */
}

/* Style for active state (when clicked) */
a:active {
  color: #28a745; /* Green color when active */
}

/* Main container for centering and max-width on desktop */
.container {
    width: 100%;
    max-width: 800px; /* Adjustable max width for desktop */
    margin: 0 auto; /* Centers the container on wider screens */
    background-color: #fff;
}

/* Style for all sections to ensure no gaps */
.section {
    padding: 20px;
    background-color: #fff; /* Explicitly white background for all content areas */
}

/* Title bar specific styles */
.title-bar {
    background-color: #f4f4f4; /* Light gray background for contrast */
    text-align: center; /* Centers all inline/block elements inside */
    padding: 15px 20px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title-bar h1 {
    margin: 0;
}

/* New Subtitle styles */
.subtitle {
    margin: 5px 0 0 0; /* Add slight margin below the H1 */
    color: #666; /* Slightly lighter color than main title */
    font-size: 1.17em; /* h3 default size */
    font-weight: normal; /* Optional: make it less bold than the main title */
}

/* Form specific styles */
form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between form elements */
  }

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: auto;
}

button:hover {
    background-color: #0056b3;
}

/* Footer specific styles */
.footer-section {
    text-align: center;
    font-size: 0.8em;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid #eee;
}

.footer-section a {
    color: #007bff;
    text-decoration: none;
}

.backHomeButton {
display: inline-block; /* Makes the h1 behave like an inline element but allows block-level properties like width/height */
border: 2px solid silver;
padding: 5px 10px; /* Adds padding around the text */
border-radius: 15px;
