
    /* Popup background with fade-in effect */
    .popup {
      display: flex;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.8);
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
    }

    /* Active popup */
    .popup.active {
      opacity: 1;
      visibility: visible;
    }

    /* Popup content with bounce animation */
    .popup-content {
      position: relative;
      background-color: #fff;
      /*padding: 30px;*/
      height:600px;
      /*width: 400px;*/
      max-width: 90%;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
      transform: scale(0.7);
      opacity: 0;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .popup.active .popup-content {
      transform: scale(1);
      opacity: 1;
    }

    /* Close button with hover effect */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      color: #888;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    .close-btn:hover {
      color: #ff0000;
      transform: rotate(90deg);
      background-color: rgba(255,0,0,0.1);
    }

    /* Image styling */
    .popup-content img {
      max-width: 100%;
      height: 600px;
      border-radius: 8px;
      /*margin-bottom: 20px;*/
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      /*height:100px;*/
    } 

    /* Text content */
    .popup-text {
      font-size: 18px;
      color: #333;
      margin-bottom: 20px;
    }

    /* Optional decorative elements */
    .popup-content::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
      background: linear-gradient(90deg, #ff7b00, #ff006a, #d400ff);
      border-radius: 15px 15px 0 0;
    }
