/* Contact Us Section */
.contact-box {
    background-color: #f9f9f9;
    padding: 30px;  /* Reduce padding to make the container smaller */
    border-radius: 15px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Contact Form Box */
.contact-form-box {
    background-color: #fff;
    padding: 20px;  /* Reduced padding inside the form box */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%; /* Full width */
    max-width: 700px; /* Maximum width for responsiveness */
    margin: 0 auto; /* Center the form box */
}

/* Adjust form input and textarea styling */
.contact-form-box .form-control {
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px; /* Reduced margin between inputs */
}

/* Adjust textarea height */
.contact-form-box #message {
    height: 120px; /* Reduced the height of the textarea */
}

/* Center the button inside the form */
.contact-form-box .d-grid {
    display: flex;
    justify-content: center; /* Center-aligns the button horizontally */
    align-items: center; /* Ensures the button is vertically aligned */
}

/* Style for the button */
.btn-professional {
    width: 9em;
    height: 3em;
    border-radius: 30em;
    font-size: 15px;
    font-family: inherit;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 6px 6px 12px #c5c5c5,
                -6px -6px 12px #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #000; /* Default text color */
    background-color: rgb(255, 191, 0);
}

.btn-professional::before {
    content: '';
    width: 0;
    height: 3em;
    border-radius: 30em;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to right, #02258e 0%, #0642f6 100%);
    transition: .5s ease;
    display: block;
    z-index: -1;
}

.btn-professional:hover::before {
    width: 9em;
}

.btn-professional:hover {
    color: #fff; /* Change text color to white on hover */
}
