
/* Overlay */
.popup-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

/* Show Popup */
.popup-overlay.show{
    opacity: 1;
    visibility: visible;
}

/* Popup Box */
.popup-box{
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 35px;
    border-radius: 20px;
    position: relative;
    animation: popupFade 0.4s ease;
    text-align: center;
}

/* Heading */
.popup-box h2{
    margin-bottom: 15px;
    color: #0b2a22;
    font-size: 28px;
}

/* Text */
.popup-box p{
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Inputs */
.popup-box input,
.popup-box textarea{
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
}

/* Textarea */
.popup-box textarea{
    min-height: 120px;
    resize: none;
}

/* Button */
.popup-box button[type="submit"]{
    width: 100%;
    padding: 14px;
    border: none;
    background: #25D366;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.popup-box button[type="submit"]:hover{
    background: #1ebe5d;
}

/* Close Button */
.close-popup{
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

/* Animation */
@keyframes popupFade{
    from{
        transform: translateY(30px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile */
@media(max-width:768px){

    .popup-box{
        padding: 25px;
    }

    .popup-box h2{
        font-size: 24px;
    }

}