.popup-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.7);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

    padding:20px;
}

.popup-modal{

    position:relative;

    max-width:700px;

    width:100%;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    animation:popupFade .3s ease;
}

.popup-modal img{

    width:100%;

    display:block;
}

.popup-footer{

    padding:20px;

    text-align:center;
}

.popup-btn{

    display:inline-block;

    padding:12px 24px;

    background:var(--primary-blue);

    color:#fff;

    text-decoration:none;

    border-radius:8px;

    font-weight:600;
}

.popup-close{

    position:absolute;

    top:10px;

    right:15px;

    width:40px;

    height:40px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    font-size:28px;

    background:#fff;
}

@keyframes popupFade{

    from{
        opacity:0;
        transform:scale(.9);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

@media(max-width:768px){

    .popup-modal{
        max-width:95%;
    }

}