#contact-section {
    padding: 80px 20px;
   
 background-image: url("../images/discussion.jpg");

    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative; /* Required for the overlay */
    overflow: hidden; /* Ensure the overlay doesn't overflow */
}

#contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Ensure the overlay is above the background image */
}

#contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit; /* Inherit the background image */
    filter: grayscale(100%); /* Convert the background image to black and white */
    z-index: 0; /* Place it below the overlay */
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background for the container */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* Ensure the container is above the overlay */
    z-index: 2; /* Higher z-index than the overlay */
}



















.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-container h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 8px; /* Reduced padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em; /* Smaller font size */
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:hover, .form-group select:hover {
    border-color: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
    background-color: #fff;
}

.form-group input:focus, .form-group select:focus {
    border-color: #28a745;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.7);
    outline: none;
}

/* Adjust the submit button to match the smaller fields */
.submit-btn {
    padding: 8px 16px; /* Smaller padding */
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em; /* Smaller font size */
    width: 100px; /* Fixed width */
    margin: 20px auto 0;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #218838;
}
/* Completed */
