body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.custom-navbar {
    flex-shrink: 0;
    /* Ensure the navbar remains at the top */
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    /* Take up available vertical space */
    padding: 20px;
    /* Add some spacing for better view on smaller screens */
    background-color: #f8f9fa;
}



.booking-form-container{
    padding: 4%;
}


@media screen and (max-width: 768px) {
    .booking-form-container {
        padding: 14% 4% 14% 4%;
    }
    
}



.footer-section-bookingform{
    padding: 20px 0 !important;
}

/* Main Container Styling */
.form-container {
    background: #f9f9f9;
    /* Subtle light background for better readability */
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    width: 100%;
    max-width: 900px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Heading Styling */
.form-container h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 15px 0;
    color: #34495e;
}

/* Form Grid Styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.form-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Input Field and Select Styling */
.form-grid input,
.form-grid select,
.file-upload label,
textarea {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-grid input::placeholder {
    color: #888;
    font-size: 14px;
}

.form-grid input:focus,
.form-grid select:focus,
textarea:focus {
    border-color: #3498db;
}



/* Submit Button */
.submit-btn {
    background-color: #3b5d50;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1e8449;
}




.file-upload {
    display: inline-block;
    position: relative;
    font-family: Arial, sans-serif;
}

.file-upload input[type="file"] {
    display: none;
    /* Hide the default file input */
}

.file-upload label {
    overflow: hidden;
    height: 40px;
    width: 194px;
    color: #3333337c;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #3c7a5d;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.file-upload label:hover {
    border: 1px solid #f9bf29;
}

.file-upload label.uploaded {
    border: 1px solid #f9bf29;
    color: #0e5634;
}

.file-upload label.error {
    border: 1px solid red;
    color: red;
}



@media screen and (max-width: 450px) {
    .file-upload label {
      width: 284px;
    }
    
}


/* Media Query for Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
    }
}


select#eventType,
select#mehndiType,
select#designPreference,
select#state {
    font-size: 14px;
    /* Same font size as placeholder */
    color: #888;
    /* Same color as placeholder */
}

select#eventType:focus,
select#mehndiType:focus,
select#designPreference:focus,
select#state:focus {
    color: #333;
    /* Color for user-selected value */
}

select#eventType option:not(:checked),
select#mehndiType option:not(:checked),
select#designPreference option:not(:checked),
select#state option:not(:checked) {
    color: #333;
    /* Color for user-selected value */
}

select#eventType option[value=""]:checked,
select#mehndiType option[value=""]:checked,
select#designPreference option[value=""]:checked,
select#state option[value=""]:checked {
    color: #000000;
    /* Same color as placeholder */
}






/* General Styles for Thank You Message */
.thank-you-message {
    display: none;
    text-align: center;
    margin-top: 50px;
    font-family: 'Arial', sans-serif;
}

/* Icon Styling */
.tickdiv {
    font-size: 120px;
    color: #3b5d50;
    /* Green Success Color */
    margin-bottom: 80px;
}

/* Header Styling */
.thank-you-message h2 {
    color: #333;
    font-size: 30px;
    margin-bottom: 15px;
}

/* Paragraph Text Styling */
.thank-you-message .message-text {
    color: #555;
    font-size: 18px;
    line-height: 1.5;
    margin: 15px 0;
}

/* Urgent Text Styling */
.thank-you-message .urgent-text {
    color: #555;
    font-size: 16px;
    margin-top: 20px;
}

/* Responsive Design (Optional) */
@media (max-width: 768px) {
    .thank-you-message h2 {
        font-size: 24px;
    }

    .thank-you-message .message-text,
    .thank-you-message .urgent-text {
        font-size: 16px;
    }

    .thank-you-message .tick {
        font-size: 60px;
    }
}
