﻿    /* HOME ENQUIRY POPUP */

    .home-popup-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 15px;
        z-index: 10000;
        overflow: hidden;
    }

        .home-popup-overlay.show {
            display: flex;
        }

    body.popup-open {
        overflow: hidden;
    }

    /* POPUP CARD */

    .home-popup-card {
        position: relative;
        width: 100%;
        max-width: 660px;
        background: #fff;
        padding: 30px 36px;
        border-radius: 14px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        overflow: visible;
    }

        /* HEADING */

        .home-popup-card h2 {
            font-size: 23px;
            font-weight: 800;
            color: #252e3b;
            margin: 0 35px 20px 0;
        }

    /* CLOSE BUTTON */

    .home-popup-close {
        position: absolute;
        top: 9px;
        right: 13px;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        color: #555;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

        .home-popup-close:hover {
            color: #ed3025;
        }

    /* FORM */

    #homeEnquiryForm {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

        #homeEnquiryForm input,
        #homeEnquiryForm select,
        #homeEnquiryForm textarea {
            width: 100%;
            min-height: 50px;
            padding: 11px 16px;
            border: 1px solid #c7c7c7;
            border-radius: 10px;
            background: #fff;
            color: #333;
            font-family: inherit;
            font-size: 15px;
            outline: none;
            box-sizing: border-box;
        }

            #homeEnquiryForm input::placeholder,
            #homeEnquiryForm textarea::placeholder,
            #homeEnquiryForm select:invalid {
                color: #89919d;
            }

            #homeEnquiryForm input:focus,
            #homeEnquiryForm select:focus,
            #homeEnquiryForm textarea:focus {
                border-color: #ed3025;
            }

        #homeEnquiryForm textarea {
            height: 75px;
            min-height: 75px;
            resize: none;
        }

    /* SUBMIT BUTTON */

    .home-popup-submit {
        width: 100%;
        height: 58px;
        margin-top: 2px;
        border: none;
        border-radius: 50px;
        background: #ed3025;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .home-popup-submit:hover {
            background: #d92319;
        }

    /* MOBILE RESPONSIVE */

    @media (max-width: 576px) {

        .home-popup-overlay {
            padding: 12px;
        }

        .home-popup-card {
            padding: 30px 18px 22px;
        }

            .home-popup-card h2 {
                font-size: 20px;
                margin-bottom: 18px;
            }

        #homeEnquiryForm {
            gap: 10px;
        }

            #homeEnquiryForm input,
            #homeEnquiryForm select,
            #homeEnquiryForm textarea {
                min-height: 47px;
                font-size: 14px;
            }

            #homeEnquiryForm textarea {
                height: 65px;
                min-height: 65px;
            }

        .home-popup-submit {
            height: 53px;
            font-size: 15px;
        }
    }
