/* Contact Section Styling */
#contact {
    padding: 25px 0;
}

#contact_row {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the start */
    padding: 0 100px; /* Padding for larger screens */
    flex-wrap: wrap; /* Allow wrapping */
}

.contact_col {
    display: flex;
    flex-direction: column; /* Stack columns vertically */
    align-items: center; /* Center items */
    flex: 1; /* Allow flex grow */
    margin: 10px; /* Margin for spacing */
}

.contact_col p, h3 {
    font-weight: normal; /* Use normal weight */
    color: #292929; /* Text color */
}

#social a {
    color: magenta; /* Social media link color */
    margin: 3px; /* Spacing between icons */
}

.contact_col form {
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    background-color: magenta; /* Form background color */
    width: 100%; /* Full width for responsiveness */
    max-width: 420px; /* Maximum width */
    padding: 20px; /* Padding around form */
}

.contact_col form h2 {
    text-align: center; /* Center heading */
    font-family: cursive; /* Font for heading */
}

.contact_col form input,
.contact_col form textarea {
    width: 100%; /* Full width inputs */
    padding: 5px; /* Padding inside inputs */
    margin: 5px 0; /* Margin for spacing */
}

.contact_col form button {
    margin: auto; /* Center the button */
    padding: 10px; /* Button padding */
    color: #fff; /* Button text color */
    background-color: orange; /* Button background color */
    cursor: pointer; /* Pointer cursor */
}

#section {
    text-align: center; /* Center section title */
    font-size: 25px; /* Font size */
    font-family: Georgia, 'Times New Roman', Times, serif; /* Font family */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    #contact_row {
        padding: 0 20px; /* Reduce padding for smaller screens */
    }

    .contact_col form {
        width: 90%; /* Wider form for mobile */
        padding: 15px; /* Less padding */
    }

    #section {
        font-size: 22px; /* Adjust font size */
    }
}

@media (max-width: 480px) {
    .contact_col form input,
    .contact_col form textarea {
        font-size: 14px; /* Smaller font size */
    }

    #section {
        font-size: 20px; /* Further adjust font size */
    }
}
