/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

/* Popup Container */
.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  max-width: 1080px;
  width: 90%;
  border-radius: 8px;
}

.popup-button {
  background-image: linear-gradient(#4098ff, #4058ff 62%, #4075ff);
  border: 0.5px solid #3247cf;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.12) 0 1px 3px, rgba(0, 0, 0, 0.14) 0 1px 0.5px,
    rgba(182, 229, 255, 0.4) 0 1px 0.5px inset,
    rgba(23, 45, 202, 0.46) 0 -1px 0.5px inset, #233ced 0 0 0 0.5px inset;
  color: #fff;
  font-weight: 600;
  outline: 3px #fff;
  outline-offset: 0;
  position: relative;
  text-shadow: #233ced 0 -1px 0.5px;
  top: 0;
  display: inline-block;
  font-size: 20px;
  line-height: 100%;
  padding: 12px 24px 14px;
  transition-property: outline-offset, border-color, transform;
  transition-duration: 0.2s;
}

.popup-button:hover {
  background-image: linear-gradient(#40a6ff, #4058ff 62%, #4075ff);
  box-shadow: rgba(0, 0, 0, 0.12) 0 2px 6px, rgba(0, 0, 0, 0.14) 0 1px 0.5px,
    rgba(182, 229, 255, 0.4) 0 1px 0.5px inset,
    rgba(23, 45, 202, 0.46) 0 -1px 0.5px inset, #233ced 0 0 0 0.5px inset;
  opacity: 1;
  transform: scale(1.04);
}
.popup-button:active {
  background-image: linear-gradient(#0a40ce, #4058ff 38%, #40a0ff);
  border-color: #192ba1;
  box-shadow: #0b1c95 0 1px inset, transparent 0 -1px 0.5px inset,
    rgba(13, 33, 176, 0.53) 0 2px 0.5px inset,
    rgba(35, 60, 237, 0.31) 0 0 0 0.5px inset;
  text-shadow: #233ced 0 1px 0.5px;

  /* optional */
  transform: scale(0.98);
}

/* thank popup  */ 

.card {
    position: fixed; 
    top: 40%;
    left: 40%;
  /*width: 350px;*/
  /*height: 250px;*/
    background-image: linear-gradient(-45deg, #25CBD6 0%, #00EE8A 100% );
    border-radius: 10px;
    display: flex;
    padding: 10px 30px;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .heading {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
  }
  
  .para {
    text-align: center;
    color: #ffffff;
    opacity: 0.8;
    line-height: 1; 
    font-size: 22px;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .card:hover .overlay {
    opacity: 1;
    pointer-events: auto;
  }
  
  .card .card-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 16px;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #000000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    border: none;
    opacity: 0;
    scale: 0;
    transform-origin: 0 0;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  }
  
  .card:hover .card-btn {
    opacity: 1;
    scale: 1;
  }
  
  .card .card-btn:hover {
    box-shadow: 0 0 0px 5px rgba(0, 0, 0, 0.3);
  }
  
  .card .card-btn:active {
    scale: 0.95;
  }
  
  .overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    /*background-image: linear-gradient(-45deg, #25CBD6 0%, #00EE8A 100%);*/
    transition: transform 0.5s ease;
  }
  
  .card:hover .overlay::after {
    transform: translate(-50%, -50%) scale(2);
  } 
  .popup{
      cursor : pointer;
  } 

@media  (max-width : 1024px) {
  .card {
    top: 40%;
    left: 35%;
  }
} 
@media (max-width : 780px){
  .card{
    top: 40% ; 
    left : 25% ;
  }
}
@media (max-width: 480px) {
  .card {
    top: 40%;
    left: 10px;
    right: 10px;
}
}
  