>
                            <option value="birth">Birth</option>
                            <option value="death">Death</option>
                        </select>
                    </div>

                    <!-- Additional fields for wedding -->
                    <div class="form-group" id="wedding-fields" style="display: none;">
                        <label for="wedding-location" class="col-form-label">Wedding Location:</label>
                        <input type="text" name="wedding-location" c