/* General Form Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-image: url('/static/images/nform.jpg'); /* Use the correct path */
    background-size: cover; /* Ensure the image covers the entire background */
    background-position: center; /* Center the image */
    display: flex; /* Ensure flex properties work */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.enquiry-section {
    padding: 2.5rem;
    background: linear-gradient(to bottom right, #2f83a4, #77cfde);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 2rem auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.enquiry-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f7f7f7;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    outline: none;
}

/* Button Styles */
.btn {
    width: 48%;
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: none;
}

.btn-success {
    background: linear-gradient(to right, #28a745, #1fdf1f);
    color: #fff;
}

.btn-success:hover {
    background: linear-gradient(to right, #218838, #2eba2e);
    transform: scale(1.05);
}

.btn-secondary {
    background: linear-gradient(to right, #6c757d, #a6a6a6);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(to right, #5a6268, #8c8c8c);
    transform: scale(1.05);
}

/* Message Styling */
.message {
    margin-top: 20px;
    padding: 10px;
    background-color: #e0f7fa; /* Light blue background */
    color: #00796b; /* Darker blue-green text */
    border-radius: 10px;
    width: 100%;
    max-width: 600px; /* Match the form width */
}

/* Responsive Design */
@media (max-width: 768px) {
    .enquiry-section {
        padding: 1.5rem;
    }

    .enquiry-section h2 {
        font-size: 1.8rem;
    }
}
