/****************
 * Fonts
 ****************/
/****************
 * Colors
 ****************/
/****************
 * Grid Settings
 ****************/
/**************
 * Buttons
 **************/
/****************
 * Blocks
 ****************/

 .block-form-popup__col {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 8rem;
    gap: 2rem;
    color: #fff !important;
  }
  
  .block-form-popup {
    background-color: #272559;
    text-align: center;
    transform: scale(1);     /* Start smaller */
    opacity: 0;                /* Start invisible */
    transition: transform 0.5s ease, opacity 0.5s ease;  /* Smooth scaling and fade-in */
  }
  
  .block-form-popup__title p {
    font-size: 2.5rem;
    line-height: normal;
    color: #fff;
  }
  
  .block-form-popup form fieldset span {
    flex: 100% !important;
  }
  
  .block-form-popup form fieldset label,
  .block-form-popup form label {
    display: none !important;
  }
  
  .block-form-popup form .gform_footer button {
    width: 100%;
  }
  
  #popup-mobile-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    overflow: scroll;
    background-color: #272559;  /* Semi-transparent background */
    opacity: 0;  /* Fully transparent initially */
    visibility: hidden;  /* Hidden initially */
    transition: opacity 0.5s ease, visibility 0s 0.5s; /* Smooth visibility and fade-in */
  }
  
  #popup-mobile-block.show {
    opacity: 1;  /* Fully visible */
    visibility: visible; /* Visible when showing */
    transition: opacity 0.5s ease, visibility 0s; /* Smooth visibility and fade-in */
  }
  
  #close-popup-btn {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
  }

 #popup-mobile-block .hero-form-side__disclaimer-text {
    text-align: left;
    margin-bottom: 100px;
  }
  
  #popup-mobile-block.show .block-form-popup {
    transform: scale(1);  /* Grow to full size smoothly */
    opacity: 1;  /* Fully visible */
  }
  
  .block-form-popup__col .gfield.gfield_error .validation_message {
    color: #fff
  }