/* Contact Form */
.custom-us-contact-form {
    flex: 1 1 35%; /* Grow and shrink as needed, base width 35% */
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
}

.custom-us-contact-form h2 {
    color: #212529;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.custom-us-contact-form .form-group {
    margin-bottom: 15px;
    width: 100%;
}

.custom-us-contact-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #212529;
    text-align: left;
}

.custom-us-contact-form input,
.custom-us-contact-form textarea,
.custom-us-contact-form button {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.custom-us-contact-form textarea {
    resize: none;
    height: 80px;
}

.custom-us-contact-form button {
    background-color: #FFD700;
    color: #212529;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.custom-us-contact-form button:hover {
    background-color: #e6c200;
}

#responseMessage {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

/* Responsive Adjustments */

/* Tablets and below */
@media (max-width: 1024px) {

    .custom-us-contact-form {
        margin-top: 30px;
        width: 100%;
        max-width: 500px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {

    .custom-us-contact-form {
        padding: 20px 15px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {

    .custom-us-contact-form {
        padding: 15px 10px;
    }

    .custom-us-contact-form button {
        padding: 10px;
        font-size: 16px;
    }
}
