/* Container for the entire section */
.contact-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 0 60px; /* Adjust this value if it interferes with a fixed header */
}

/* The card/box that holds the form */
.contact-card {
    width: 80%;
    max-width: 1000px;
    padding: 40px;
    background-image: url('/assets/Rectangle 200.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #dcefdc;
}

/* Main heading style */
.contact-heading {
    text-align: center;
    font-size: 28px;
    color: #2a4dbf;
    font-weight: 700;
    margin: 0;
}

/* Subheading style */
.contact-subheading {
    text-align: center;
    font-size: 18px;
    color: #222;
    margin: 5px 0 40px 0;
}

/* Form element styles */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styles for the rows containing two inputs */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

/* Styles for all text and email inputs */
.form-input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

/* Styles for the message label */
.message-label {
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
}

/* Styles for the textarea */
.form-textarea {
    width: 100%;
    height: 150px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    background: #fff;
    resize: none; /* Prevents user from resizing the box */
    margin-bottom: 25px;
}

/* Styles for the small note text */
.form-note {
    font-size: 15px;
    color: #444;
    margin-bottom: 20px;
}

/* Styles for the submit button */
.form-submit-button {
    background-color: #a3c61d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    width: 300px;
}

/* Optional: Add a hover effect for the button */
.form-submit-button:hover {
    background-color: #8dae18; /* A slightly darker shade of the original green */
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}