.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: bold;
}

.form-control {
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.form-control:focus {
    border-color: #ff7a59;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 122, 89, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background-color: #ff7a59;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background-color: #e56a4b;
}

.form-submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* reCAPTCHA styling */
.g-recaptcha {
    display: inline-block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.95);
        transform-origin: left center;
    }

    .contact-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left center;
    }
}

h1 {
    width: auto;
}
