body {
    background-image: url('https://static.vecteezy.com/system/resources/previews/002/375/040/original/modern-white-background-free-vector.jpg'); /* Replace 'your-background-image.jpg' with your image path */
}

#heading {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);

}
#msform {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    border-radius: 15px;
    padding: 20px;
    width: 95%;
    max-width: 550px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 200px auto 100px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1),
                -10px -10px 20px rgba(255, 255, 255, 0.5);
}

#msform fieldset {
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative;
}

.form-card {
    text-align: left;
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform input,
#msform textarea,
#msform select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1),
                inset -5px -5px 10px rgba(255, 255, 255, 0.5);
    outline: none;
    color: #000;
    margin-bottom: 10px;
}

#msform input[type="checkbox"] {
    display: inline-block; /* Ensure checkboxes are displayed inline */
    width: auto; /* Allow checkboxes to adjust their width as needed */
    margin-right: 30px; /* Add spacing between checkbox and label */
    vertical-align: middle; /* Align checkboxes vertically with their labels */
}
/* Add this CSS code to your existing styles or CSS file */

#msform input[type="checkbox"]:checked + label {
    color: blue !important; /* Change the color to blue when the checkbox is checked */
}

#msform .action-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1),
                -10px -10px 20px rgba(255, 255, 255, 0.5);
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #16c9f6;
}

#msform .action-button-previous {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: #16c9f6;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1),
                -10px -10px 20px rgba(255, 255, 255, 0.5);
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #4CAF50;
}


.fieldlabels {
    font-weight: bold;
    color: #000;
    text-align: left;
    font-size: 15px;
}

#msform input[class="check"]:checked + label {
    color: blue !important; /* This color will be applied when checkbox is checked */
}