/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base page styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styling */
header {
    background-color: #ffffff;
    color: #ffffff;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

/* Main content area */
main {
    max-width: 800px;
    width: 90%;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1; /* Pushes the footer to the bottom */
}

main p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

main h2 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* List styling */
ul {
    list-style-position: inside;
    margin-left: 1rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: #555555;
}

/* Footer styling */
footer {
    background-color: #34495e;
    color: #bdc3c7;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    margin-top: auto;
}

/* ==========================================================================
   Form Styling
   ========================================================================== */

/* Form Container */
.contact-form {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fbfcfc;
}

/* Space out the form sections */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Label Styling */
.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 0.95rem;
}

/* Input Fields (Name and Email) */
.form-group input {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Interactive Focus State (When a user clicks into a textbox) */
.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Submit Button */
.submit-btn {
    background-color: #2c3e50;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

/* Button Hover State */
.submit-btn:hover {
    background-color: #34495e;
}