

.contact-section {
    padding: 100px 20px;
}

.contact-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 400;
    text-align: left;
}

.contact-section .form-container {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.contact-section .text-container {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-section .form-group {
    margin-bottom: 20px;
}

.contact-section .form-group label {
    text-align: left;
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 1rem;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 200%; /* Set to 100% for proper responsiveness */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-section textarea {
    height: 150px;
    resize: none;
}

.contact-section .btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    text-align: left; /* Aligns text within the button to the left */
    width: fit-content; /* Ensures the button’s width adjusts to its content */
    margin-left: 0; /* Remove any hard-coded margins */
}

.contact-section .btn:hover {
    background-color: #444;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-section .container {
        flex-direction: column;
        padding: 10px;
    }
    
    .contact-section .form-container,
    .contact-section .text-container {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%; /* Set to 100% for proper responsiveness */
}

    .contact-section h1 {
        font-size: 2.5rem;
    }

    .contact-section .btn {
        width: 40%; /* Make the button take the full width in mobile view */
        text-align: center; /* Center-align text within the button on mobile */
    }
}
