.contact-form-field-group {
    margin-bottom: 5px;
    position: relative;
    /* Needed for potential absolute positioning of errors */
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: none;
    /* No border */
    background-color: rgb(55 55 55 / 15%);
    /* Light blue background */
    border-radius: 0px;
    font-size: 1rem;
    color: #2456ab;
    /* Color for typed text */
    font-family: "Roboto", sans-serif;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #2b2b2b;
    /* Placeholder color matching image */
    opacity: 0.8;
    /* Slightly lighter placeholder */
}

.contact-form-textarea {
    resize: vertical;
    /* Allow vertical resizing */
    min-height: 100px;
    /* Minimum height */
}

/* Error message styling */
.contact-form-error-message {
    color: #dc3545;
    /* Red color for errors */
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 1em;
    /* Reserve space even when empty */
}

/* Style inputs with errors (optional, but good UX) */
.contact-form-input.contact-form-invalid,
.contact-form-textarea.contact-form-invalid {
    /* Add a subtle border or background change for invalid fields */
    outline: 1px solid #dc3545;
}

/* Status message styling */
.contact-form-status {
    margin-top: 5px;
    /* Add some space above the button */
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
    /* Hidden by default */
}

.contact-form-status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
    /* Show when class is added */
}

.contact-form-status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
    /* Show when class is added */
}

/* Submit Button Styling */
.contact-form-submit-button {
    padding: 5px 30px;
    background-color: #3478f6;
    /* Blue */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
    align-self: flex-end;
    /* Align button to the right */
}

.contact-form-submit-button:hover {
    background-color: #2558b8;
    /* Darker blue on hover */
}

.contact-column-title {
    font-size: 1.5em;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    /* Center icons */
    gap: 18px;
    /* Space between icons */
    margin-top: 5px;
    /* Space above icons */
}

.contact-social-icons a {
    color: #000000;
    /* White icons */
    text-decoration: none;
    font-size: 1.4em;
    /* Icon size */
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-social-icons a:hover {
    color: #e0a84a;
    /* Change color on hover */
    transform: scale(1.1);
    /* Slight scale effect */
}

.contact-info {
    font-size: 20px;
    font-weight: 300;
    margin: 0;
    color: #000;
    line-height: 1.5;
}

.contact-info a {
    color: inherit;
    /* Inherit color from parent */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
    /* Slight fade on hover */
}

/* Responsive Adjustments (Optional) */
@media (max-width: 768px) {
    .contact-form-submit-button {
        align-self: stretch;
        /* Make button full width on small screens */
        text-align: center;
    }

    .contact-info {
        font-size: 0.95em;
    }

    .contact-social-icons a {
        font-size: 1.3em;
    }

    .contact-contact-info>div {
        margin-right: 0;
    }
}

.section-divider1 {
    border: 0;
    height: 2px;
    background-color: #7e623c;
    width: 100%;
    margin: 0px auto 40px auto;
}



/* --- Style Placeholder Text --- */

/* Apply to both input and textarea placeholders */
.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    font-style: normal;
    color: #999;
    opacity: 1;
}

.contact-form-input::-webkit-input-placeholder,
.contact-form-textarea::-webkit-input-placeholder {
    font-style: normal;
    color: #999;
}

.contact-form-input::-moz-placeholder,
.contact-form-textarea::-moz-placeholder {
    font-style: normal;
    color: #999;
    opacity: 1;
}

.contact-form-input:-ms-input-placeholder,
.contact-form-textarea:-ms-input-placeholder {
    font-style: normal;
    color: #999;
}

.contact-form-input::-ms-input-placeholder,
.contact-form-textarea::-ms-input-placeholder {
    font-style: normal;
    color: #999;
}
