.contact-form-1 input[type="text"]{
    font-size: 16px;
    color: #34495e;
    border: #e8e8e8 1px solid;
    padding: 8px 12px;
 margin: 0 0 2px 0;
}
#contactModal h2{
        margin-bottom:10px;
        margin-top:1px;
}
.modal-content {
    background: #fff !important;}
.contact-form-1 label {
    font-size: 16px;
    margin: 0 0 5px 0;
    display: block;
}
.contact-form-1 button{
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 10px 22px;
    cursor: pointer;
    background: #168039;
    border-radius: 30px;
    margin-bottom:8px !important;
    margin-top:0 !important;
}
    #contactModal {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);

        /*display: flex;*/
        justify-content: center;
        align-items: center;

        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;

        /* ✅ Hide scrollbar but keep scrolling */
        -ms-overflow-style: none;
        /* IE & Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    #contactModal::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }
.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem 2.5rem;
    /* width: 30em; */
    width: 25%;
    border-radius: 0.5rem;
}
    .modal-content {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        width: 100%;
        max-width: 500px;
        border-radius: 8px;
        position: relative;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);

        max-height: 90vh;
        overflow-y: auto;

        /* ✅ Hide inner modal scrollbar too */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .modal-content::-webkit-scrollbar {
        display: none;
    }

    #closeModal {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        cursor: pointer;
    }

    @media(max-width:480px) {
        .modal-content {
            width: 95%;
            padding: 15px;
            max-height: 85vh;
            /* smaller viewport -> smaller modal */
        }

        #closeModal {
            font-size: 20px;
        }
    }


    .modal-content input,
    .modal-content textarea,
    .modal-content button {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .modal-content button {
        cursor: pointer;
    }

    .error-message {
        color: red;
        font-size: 13px;
        margin-top: -5px;
        margin-bottom: 5px;
    }
