.popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:99999;

  visibility:hidden;
}


.popup-overlay.active{
  visibility:visible;
}
.popup-overlay.active .popup-box{
  animation:popupBounce .8s cubic-bezier(.175,.885,.32,1.275) forwards;
}
@keyframes popupBounce{

  0%{
    transform:scale(0);
  }

  50%{
    transform:scale(1.15);
  }

  70%{
    transform:scale(.95);
  }

  85%{
    transform:scale(1.05);
  }

  100%{
    transform:scale(1);
  }

}
.popup-box{
  width:95%;
  max-width:500px;

  background:#fff;
  border-radius:24px;
  padding:25px;

  transform:scale(0);

  animation:none;
}

@keyframes popupZoom{
  0%{
    transform:scale(.6);
    opacity:0;
  }
  100%{
    transform:scale(1);
    opacity:1;
  }
}

.popup-close{
  position:absolute;
  top:12px;
  right:15px;
  border:none;
  background:none;
  font-size:30px;
  cursor:pointer;
}

.popup-logo{
  text-align:center;
  margin-bottom:15px;
}

.popup-logo img{
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:50%;

  animation:logoFloat 3s infinite ease-in-out;
}

@keyframes logoFloat{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-10px);
  }
}

.popup-box h2{

  text-align:center;

  font-size:2rem;

  font-weight:800;

  margin-bottom:12px;

  background:linear-gradient(
    270deg,
    #ff0000,
    #a61a1a,
    #ed2d2d,
    #f62a2a
   
  );

  background-size:600% 600%;

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  animation:
    rgbTextFlow 6s linear infinite,
    glowBlink 1.2s ease-in-out infinite;
}

.popup-box p{
  text-align:center;
  margin-bottom:20px;
  color:#555;
}

.form-group{
  margin-bottom:15px;
}

.form-group label{
  display:block;
  margin-bottom:6px;
  font-weight:600;
}

.form-group input,
.form-group select{
  width:100%;
  padding:12px;
  border:1px solid #ddd;
  border-radius:10px;
}

.popup-submit{
  width:100%;
  border:none;
  padding:14px;
  border-radius:50px;
  cursor:pointer;
  font-weight:700;
  color:#fff;

  background:linear-gradient(
    270deg,
    #9b1d2c,
    #ff6b6b,
    #9b1d2c
  );

  background-size:300% 300%;

  animation:btnGlow 3s infinite;
}

@keyframes btnGlow{
  0%{
    background-position:0% 50%;
  }
  100%{
    background-position:100% 50%;
  }
}


.popup-box h2{
    font-family:'Montserrat',sans-serif;
    font-size:2rem;
    font-weight:800;
    letter-spacing:-0.5px;
}
.popup-box p{
    font-family:'Manrope',sans-serif;
    font-size:15px;
    line-height:1.7;
    color:#555;
}
.form-group label{
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:600;
    color:#222;
}
.form-group input,
.form-group select{
    font-family:'Poppins',sans-serif;
    font-size:15px;
    font-weight:500;
}
.form-group input::placeholder{
    font-family:'Manrope',sans-serif;
    font-weight:400;
}
.popup-submit{
    font-family:'Montserrat',sans-serif;
    font-size:15px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
}