/* ======== HEADER IMPROVEMENTS ======== */

/* Hide the Search Bar */
.Header__headerSearch {
    display: none;
}

/* Improve Header Layout */
.Header__headerRow {
    display: flex;
    align-items: center;
    justify-content: center; /* Center header elements */
    flex-wrap: wrap;
    padding: 15px 20px;
}

/* Improve Logo Alignment */
.Header__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: auto;
}

/* Move Logo Up & Adjust Spacing */
.Header__brandLogo {
    position: relative;
    top: -5px; /* Moves logo upwards */
    margin-right: 50px; /* Adjusts logo placement */
}

/* Increase Logo Size */
.Header__brandLogoImg {
    max-width: 220px; /* Adjust size */
    max-height: 80px;
    height: auto;
    width: auto;
}

/* Improve Header Title Visibility */
.Header__brandName {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: unset;
    font-size: 1.8em;
    font-weight: bold;
    padding-left: 10px;
    width: 100%;
}

/* ======== FORM IMPROVEMENTS ======== */

/* Center the Form */
#formContainer {
    max-width: 750px; /* Optimal width */
    margin: 0 auto; /* Centers the form */
    text-align: left; /* Aligns text consistently */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Improve Input Fields */
input[type="text"], input[type="email"], textarea {
    width: 100%;
    max-width: 600px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fafafa;
    transition: all 0.2s ease-in-out;
}

/* Focus Effect on Fields */
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #0073aa;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* Ensure All Fields Are Consistently Spaced */
label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    font-size: 16px;
}

/* Improve Section Titles */
h2, .form-section-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
    color: #0073aa;
}

/* Improve Submit Button */
button[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out;
}

/* Submit Button Hover Effect */
button[type="submit"]:hover {
    background-color: #005f88;
    transform: scale(1.05);
}

/* Center the Parent Wrapper */
#formWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

/* ======== FOOTER IMPROVEMENTS ======== */

/* Improve Footer */
.footer {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    background: #222;
    color: white;
    margin-top: 20px;
}

/* Footer Links */
.footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
    color: #00bcd4;
}

/* ======== PAGE LAYOUT IMPROVEMENTS ======== */

/* Ensure Background & Page Layout is Balanced */
body {
    background-color: #f4f4f4;
    font-family: 'Arial', sans-serif;
}

/* Adjust Page Content to Stay Centered */
.pageContent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

