/* Contact Form Section - Enhanced */
.contact-form {
    background-color: #f7f9fc;
    padding: 40px 30px;
    max-width: 1200px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;  /* Adds space between form and footer */
}

.contact-form h2 {
    font-size: 2em;
    color: #0077b6;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;  /* Modern typography */
}

.contact-form p {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

/* Grid layout for rows */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* Two equal-width columns */
    gap: 20px;  /* Space between columns */
    margin-bottom: 20px;
}

/* Column within the row */
.col label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #0077b6;
    font-size: 1.1em;
}

.col input,
.col select {
    width: 80%;
    padding: 12px;  /* Slightly larger padding for a modern feel */
    border: 1px solid #ddd;
    border-radius: 6px;  /* More rounded corners for a modern touch */
    font-size: 1.1em;
    background-color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border 0.3s ease;
}

/* Hover effect for input fields */
.col input:focus,
.col select:focus {
    border-color: #0077b6;
    outline: none;  /* Remove the default outline */
}

/* Submit Button */
.contact-form button {
    background-color: #0077b6;
    color: white;
    padding: 12px 30px;  /* Smaller button */
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 50%;  /* Button width set to 50% */
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;  /* Centering the button */
}

.contact-form button:hover {
    background-color: #005f87;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .row {
        grid-template-columns: 1fr;  /* One column layout for small screens */
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-form button {
        padding: 12px 20px;
    }
}

