/* Modal styles */
        .custom-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4);
            /* Black background with opacity */
        }

        /* Modal content */
        .custom-modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            /* Adjust width as needed */
            max-width: 400px;
            /* Maximum width of modal */
            border-radius: 5px;
            text-align: center;
            /* Center align content */
            position: relative;
            /* Added */
        }

        /* Close button */
        .custom-close {
            color: #aaa;
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .custom-close:hover,
        .custom-close:focus {
            color: black;
            text-decoration: none;
        }

        /* Add space between form fields */
        .custom-form-group {
            margin-bottom: 15px;
        }

        /* Center align submit button */
        .btn-theme {
            padding: 10px 20px;
            background-color: red;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn-theme:hover {
            background-color: darkred;
        }

        /* Set width and padding for all form fields */
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select,
        textarea {
            width: calc(100% - 20px);
            height: 40px;
            /* Set the height of all fields */
            padding: 10px;
            box-sizing: border-box;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .custom-modal-content {
                padding: 10px;
            }

            .btn-theme {
                width: calc(100% - 40px);
            }
        }

/* Add some basic styling for the CAPTCHA container */
        #captchaContainer {
            border: 1px solid #ccc;
            padding: 10px;
            margin-bottom: 20px;
            display: inline-block;
        }