.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .popup-card {
    position: relative;
    width: 700px;
    max-width: 90%;
    padding: 120px 44px 44px;
    background: #f0f4f2;
    text-align: center;
    font-family: Arial, sans-serif;
    border-radius: 16px;
    overflow: hidden;
  }

  .popup-waves {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0.15;
  }

  .popup-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    color: #555;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
  }

  .popup-logo {
    position: absolute;
    top: 16px; right: 50px;
  }

  .popup-logo img {
    height: 100px;
    width: auto;
    display: block;
  }

  .popup-icon {
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .popup-icon img {
    width: 100px;
    height: auto;
    display: inline-block;
  }

  .popup-title {
    font-size: 38px;
    margin: 0 0 8px;
    font-weight: bold;
    color: #1a5f8a;
    letter-spacing: 0.5px;
  }

  .popup-subtitle {
    font-size: 21px;
    color: #1a9c72;
    font-weight: bold;
    margin: 0 0 20px;
  }

  .popup-body {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin: 0 auto 26px;
    max-width: 550px;
  }

  .popup-reg-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .popup-reg-label span {
    font-size: 18px;
    color: #1a9c72;
    font-weight: bold;
  }

  .popup-date-banner {
    background: #1a5f8a;
    color: #fff;
    border-radius: 6px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    margin: 0 auto 30px;
    display: inline-block;
    min-width: 320px;
  }

  .popup-cta {
    display: inline-block;
    background: linear-gradient(135deg, #3daf6e 0%, #1a5f8a 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 15px 52px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    line-height: 1.5;
    transition: opacity 0.2s ease;
  }
  
  .popup-cta:hover {
    background: linear-gradient(135deg, #2e9a5e 0%, #134a6e 100%);
    opacity: 0.92;
    color: white;
  }


@media (max-width: 600px) {
    .popup-card {
      width: 92%;
      padding: 80px 20px 30px;
    }
  
    .popup-logo {
      right: 44px;
    }
  
    .popup-logo img {
      height: 65px;
    }
  
    .popup-title {
      font-size: 26px;
    }
  
    .popup-subtitle {
      font-size: 16px;
    }
  
    .popup-body {
      font-size: 14px;
    }
  
    .popup-date-banner {
      min-width: unset;
      width: 100%;
      box-sizing: border-box;
      padding: 10px 16px;
      font-size: 13px;
    }
  
    .popup-cta {
      padding: 12px 28px;
      font-size: 14px;
    }
  
    .popup-reg-label span {
      font-size: 15px;
    }
  }

@media (max-width: 380px) {
    .popup-card {
      width: 100%;          /* was 96% */
      max-width: 100%;
      padding: 70px 20px 20px;   /* was 14px sides → 24px */
      border-radius: 12px;
      min-height: 420px;    /* add this — makes it more square */
    }
  
    .popup-logo {
      top: 10px;
      right: 50%;
      transform: translateX(50%);
    }
  
    .popup-logo img {
      height: 50px;
    }
  
    .popup-close {
      top: 8px;
      right: 8px;
      font-size: 20px;
    }
  
    .popup-title {
        font-size: 18px;
        letter-spacing: 0;
        white-space: nowrap;   /* forces single line no matter what */
      }
  
    .popup-subtitle {
      font-size: 14px;
      margin-bottom: 14px;
    }
  
    .popup-body {
      font-size: 12px;
      line-height: 1.6;
      margin-bottom: 16px;
    }
  
    .popup-reg-label {
      margin-bottom: 8px;
    }
  
    .popup-reg-label span {
      font-size: 13px;
    }
  
    .popup-reg-label svg {
      width: 15px;
      height: 15px;
    }
  
    .popup-date-banner {
      min-width: unset;
      width: 100%;
      box-sizing: border-box;
      padding: 9px 12px;
      font-size: 12px;
      border-radius: 6px;
      margin-bottom: 20px;
    }
  
    .popup-cta {
      padding: 11px 20px;
      font-size: 13px;
      border-radius: 30px;
      display: block;
      width: 100%;
      box-sizing: border-box;
      text-align: center;
    }
  }