/* Filename: assets/scripts/contact.css  */


div.outer-shell {
    width: 620px;
    margin: 1rem auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border: 1px solid #ddd;
}

.contact-container {
    border: 1px solid grey;    
    max-width: 600px;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.6); /* Slightly white with 80% opacity */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    z-index: 2; /* Ensure it sits above the logo */
    position: relative; /* For clarity and positioning */
}

.contact-container h2 {
    font-family: "Arial", sans-serif;
    font-size: 2rem; /* Larger font size */
    color: black; /* Base text color */
    text-shadow: 
        1px 1px 0 rgba(255,255,255, 0.2),  /* Right and bottom shadow */
        -1px 1px 0 rgba(255,255,255, 0.2), /* Left and bottom shadow */
        1px -1px 0 rgba(255,255,255, 0.2), /* Right and top shadow */
        -1px -1px 0 rgba(255,255,255, 0.2); /* Left and top shadow */
    font-weight: bold; /* Make it bold */
    margin-bottom: 1.5rem; /* Add spacing below */
    text-align: left; /* Left-align */
}
.contact-container form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-container label {
    font-family: "Arial", sans-serif; /* Ensure consistency with rest of the form */
    font-size: 1rem;
    color: black; /* Base text color */
    text-shadow: 
        1px 1px 0 rgba(255,255,255, 0.2),  /* Right and bottom shadow */
        -1px 1px 0 rgba(255,255,255, 0.2), /* Left and bottom shadow */
        1px -1px 0 rgba(255,255,255, 0.2), /* Right and top shadow */
        -1px -1px 0 rgba(255,255,255, 0.2); /* Left and top shadow */
    font-weight: bold; /* Make it bold */
    margin-bottom: 0.5rem;
    line-height: 1.5; /* Add consistent spacing */
}

.contact-container input,
.contact-container textarea {
    font-family: "Arial", sans-serif; /* Added font-family */
    background: rgba(255, 255, 255, 0.7); /* Slightly lighter background for better contrast */
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    border: 1px solid #555;
    color: #333; /* Dark text for readability */
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-container input:focus,
.contact-container textarea:focus {
    outline: none;
    border-color: #0073e6; /* A modern, classic blue */
    box-shadow: 0 0 8px rgba(0, 115, 230, 0.3); /* Subtle blue glow */
    background-color: rgba(245, 245, 245, 0.9); /* Light gray for focus */
}

.contact-container .form-row .form-group {
    flex: 1; /* Equal width for all form groups in a row */
}

.form-row {
    display: flex; /* Display child elements in a row */
    gap: 1rem; /* Add spacing between the fields */
    width: 100%; /* Ensure the row spans the entire container width */
    box-sizing: border-box; /* Include padding and border in width calculations */
}

.form-row .form-group {
    flex: 1; /* Make each form group take equal width */
    display: flex;
    flex-direction: column; /* Stack the label and input vertically */
    min-width: 0; /* Prevent fields from shrinking below their content */
}

.form-group input {
    width: 100%; /* Ensure inputs fill their parent container */
    box-sizing: border-box; /* Include padding and border in width calculations */
}

.g-recaptcha div {
    border-radius: 5px; /* Add rounded corners for consistency */
    overflow: hidden;
}

.g-recaptcha {
    background-color: transparent;
    margin-bottom: 1rem;
}

.form-title {
    font-family: "Arial", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff; /* Ensure this matches the desired text color */
    text-align: left; /* Aligns text to the left */
    margin-bottom: 1rem; /* Adds spacing below */
    display: block; /* Ensures the title occupies its own line */
}

.checkbox-label {
    display: inline-flex;
    align-items: baseline; /* Align items by their baselines */
    margin-top: 0.5rem;
    color: #000;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px; /* 10px space between checkbox and text */
}


.form-group {
    width: 100%; /* Ensure each group spans the full width */
    display: block; /* Force elements into a block layout */
    margin-bottom: 15px; /* Ensure consistent spacing */
}


#char-counter {
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    color: black; /* Base text color */
    text-shadow: 
        1px 1px 0 rgba(255,255,255, 0.2),  /* Right and bottom shadow */
        -1px 1px 0 rgba(255,255,255, 0.2), /* Left and bottom shadow */
        1px -1px 0 rgba(255,255,255, 0.2), /* Right and top shadow */
        -1px -1px 0 rgba(255,255,255, 0.2); /* Left and top shadow */
    font-weight: bold; /* Make it bold */
    margin-top: 0rem;
    margin-bottom: 0rem; /* Add spacing between char counter and reCAPTCHA */
    text-align: left;
}