#customForm {
    line-height: 0;
}

.popup-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #E4E2DD;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-btn {
    align-self: flex-end;
    font-size: 20px;
    cursor: pointer;
}

.hire-us {
    color: #1D3E7B;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    font-size: 24px;
    margin: 0;
}

.hire-form-label {
    display: block;
    color: #1D3E7B;
    margin: 10px 0 5px;
    width: 100%;
    text-align: left;
}

input[type="email"],
input[type="tel"],
input[type="text"],
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #1D3E7B;
    border-radius: 4px;
}

.services-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.services-checkboxes label {
    color: #1D3E7B;
    width: 45%;
}

.form-submit {
    background-color: #DD3C68;
    color: #E4E2DD;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.form-submit:hover {
    background-color: #1D3E7B;
}

.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #E4E2DD;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 80%;
    max-width: 400px;
    max-height: 50%;
    overflow-y: auto;
}

.message-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popupMessageContent {
    color: #1D3E7B;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .popup-form {
        width: 90%;
    }

    input[type="email"],
    input[type="tel"],
    input[type="text"],
    textarea {
        width: calc(100% - 20px);
    }

    .services-checkboxes label {
        width: 100%;
    }

    .form-submit {
        width: 100%;
        padding: 10px;
    }

    .popup-message {
        width: 90%;
    }

    .gmailID {
        font-size: 24px;
    }
}