.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 32px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column; 
    margin-bottom: 24px;
}

.input {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.contact-form-panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;   /* Increase this value for more width */
    margin: 40px auto;  /* Center and add vertical space */
    padding: 32px 20px;
    background: #fafbfc;
    min-height: 0;
}

.contact-form h1, .contact-form h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #333;
}

/* Contact-specific spacing */
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}