/* Basic styles - Refined based on venningadvisors.com and responsiveness */
body {
    font-family: Arial, sans-serif; /* Common sans-serif font */
    margin: 0;
    padding: 0;
    color: #000; /* Change to black for better contrast */
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.9); /* Stronger white shadow for readability */
    line-height: 1.6;
}

.container {
    max-width: 960px; /* Limit max width for larger screens */
    margin: 0 auto; /* Center content */
    padding: 0 20px; /* Add horizontal padding */
}

header {
    background-color: #ffffff;
    padding: 15px 0; /* Use container padding */
    border-bottom: 1px solid #eee;
}

header .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

header img {
    max-height: 50px;
    margin-right: 20px;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    flex-grow: 1; /* Allow heading to take space */
}

h1, h2, h3, h4 {
    color: #003366; /* Dark blue similar to venning */
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8); /* Add shadow for readability */
}

main {
    padding: 30px 0; /* Use container padding */
}

section {
    margin-bottom: 40px;
}

.team-list ul {
    list-style: none;
    padding: 0;
}

.team-list li {
    margin-bottom: 12px;
    font-size: 0.95em;
}

.team-list a {
    color: #0056b3;
    text-decoration: none;
}

.team-list a:hover {
    text-decoration: underline;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1em;
}

form textarea {
    min-height: 100px;
}

form button {
    background-color: #0056b3; /* Blue button */
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #003366;
}

footer {
    background-color: #003366; /* Dark blue footer */
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* --- Responsive Design --- */

/* Medium screens (tablets) */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    .container {
        padding: 0 15px;
    }
}

/* Small screens (phones) */
@media (max-width: 480px) {
    header .container {
        flex-direction: column; /* Stack logo and heading */
        align-items: flex-start;
    }

    header img {
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 1.3em;
        width: 100%; /* Ensure heading takes full width */
        text-align: center; /* Center heading */
    }

    main {
        padding: 20px 0;
    }

    section {
        margin-bottom: 30px;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea,
    form button {
        font-size: 0.95em; /* Slightly smaller font on small screens */
    }
}

/* Styles for thank_you.html and error.html containers */
.status-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.status-container h2 {
    margin-top: 0;
}

.status-container.error {
    color: #cc0000; /* Error text color */
    border-color: #ffdddd;
    background-color: #fff5f5;
}

.status-container a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

.status-container a:hover {
    background-color: #003366;
}




/* Background Image Styling */
body {
    background-image: url('office_background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Overlay for readability */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6); /* Even more transparent overlay */
    z-index: -1;
}

/* Ensure content containers have a background to sit above the overlay/image */
main .container {
     background-color: rgba(255, 255, 255, 0.6); /* Even more transparent white */
     padding-top: 20px;
     padding-bottom: 20px;
     margin-top: 20px; /* Add space from header */
     margin-bottom: 20px; /* Add space from footer */
     border-radius: 8px;
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Adjust header/footer to ensure they are above overlay */
header, footer {
    position: relative; 
    z-index: 1;
}

/* Adjust status container background */
.status-container {
    position: relative; 
    z-index: 1;
    background-color: #f9f9f9; /* Keep status container background */
}

