
/* Popup Background */
.popup-modal{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    background:rgba(9,31,54,0.65);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:20px;
}

/* Popup Box */
.popup-content{
    width:900px;
    max-width:100%;
    background:#fff;
    display:flex;
    position:relative;
    overflow:hidden;
    /*border-radius:8px;*/
    animation:popupFade .4s ease;
}

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

/* Close Button */
.close-btn{
    position:absolute;
    top:15px;
    right:18px;
    font-size:34px;
    cursor:pointer;
    color:var(--primary-color);
    z-index:10;
}

/* Left Image */
.popup-left{
    width:50%;
}

.popup-left img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Right Side */
.popup-right{
    width:50%;
    padding:50px 40px;
    text-align:center;
}

.popup-right h2{
    color:var(--primary-color);
	font-weight:var(--medium);
    margin-bottom:30px;
    font-size:24px;
}

/* Form */
.popup-right form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.popup-right input{
    width:100%;
    padding:15px;
    border:0;
    background:var(--grey-light);
    font-size:12px;
    outline:none;
}

.popup-right button{
    background:var(--primary-color);
    color:var(--white);
    border:none;
    padding:14px 30px;
    border-radius:40px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
    width:fit-content;
    margin:auto;
}

.popup-right button:hover{
    transform:scale(1.05);
}

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

    .popup-content{
        flex-direction:column;
    }

    .popup-left,
    .popup-right{
        width:100%;
    }

    .popup-right{
        padding:20px;
    }

    .popup-left{
        height:200px;
    }

.popup-right h2{ 
    margin-bottom:20px;
    font-size:18px;
}

   .popup-right button{
    padding:10px 20px;
    font-size:14px;
 
}

.close-btn{
    color:var(--white);
 
}

}
