.custom-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85);display:none;z-index:10000;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(5px);overflow-y:auto;padding:20px}
.custom-modal-container{background:#fff;width:100%;max-width:1000px;border-radius:15px;position:relative;box-shadow:0 15px 35px rgba(0,0,0,.3);overflow:hidden;animation:modalSlideIn .3s ease-out;margin:auto}
@keyframes modalSlideIn{
from{transform:scale(.9);opacity:0}
to{transform:scale(1);opacity:1}
}
.custom-modal-close{position:absolute;top:10px;right:15px;font-size:32px;color:#333;cursor:pointer;z-index:10005;transition:all .3s;line-height:1;background:#fff;width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.2)}
.custom-modal-close:hover{color:#cb2702;transform:rotate(90deg)}
.custom-modal-container .popupform{display:block!important;background:0 0!important;padding:20px 0 0!important;width:100%!important;background-color:#fff!important;border:10px solid #b8d137}
.custom-modal-container .row{display:flex;flex-wrap:wrap;margin:0}
.custom-modal-container .col-md-6{flex:0 0 50%;max-width:50%}
.custom-modal-container .margin{padding:10px 20px}
.custom-modal-container .popupform textarea{margin-top:10px}
@media (max-width:991px){
.custom-modal-container{max-width:800px}
.custom-modal-container .margin{margin:0;padding:0 15px}
}
@media (max-width:767px){
.custom-modal-overlay{padding:10px;align-items:flex-start}
.custom-modal-container{max-width:100%;margin-top:40px}
.custom-modal-container .col-md-6{flex:0 0 100%;max-width:100%}
.custom-modal-container .col-md-6 img{display:none!important}
.custom-modal-container .margin{margin:0!important;padding:15px!important}
.custom-modal-container .row{flex-direction:column!important}
.custom-modal-container .form-control{width:100%!important}
.popupform .custom-form .margin{margin:0!important;padding:15px!important}
.custom-modal-container .popupform .custom-form h3{font-size:32px!important;text-align:center}
.custom-modal-container .popupform .custom-form h2 span{font-size:22px!important}
.custom-modal-container .btn-custom{width:100%;position:relative!important;right:0!important;bottom:0!important;margin-top:15px}
}
@media (max-height:700px){
.custom-modal-overlay{align-items:flex-start}
}