/* Apply to all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    min-height: 100vh;
}

/* Header with Darker Teal */
header {
    background: #008080; /* Darker teal */
    color: #fff; /* White text for contrast */
    padding: 20px;
    text-align: center;
}

/* Add space between title and subtitle */
header h1 {
    margin-bottom: 10px; /* Space between title and paragraph */
}

header p {
    margin-top: 10px;
}

/* Navigation Bar (Lighter Teal) */
nav {
    background-color: #4A9E99;  /* Slightly lighter teal */
    text-align: center;
    padding: 15px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 15px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

nav ul li a.active {
    background-color: #007f7f; /* slightly darker teal */
    color: white;
    border-radius: 4px;
    padding: 6px 12px;
    text-decoration: none;
}

/* Main Content (Left-Aligned) */
main {
    flex: 1; /* Pushes footer to the bottom */
    width: 100%;
    padding: 20px; /* Adds space from edges */
    text-align: left; /* Align text to the left */
    padding-bottom: 60px; /* prevents overlap with the footer */
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

