.terms-main{
    background: linear-gradient(to bottom right, rgb(241, 173, 241), rgb(124, 195, 250));
    justify-content: center;
    align-items: center;
    display: flex;
}
/* Container */
.terms-container {
    background-color: white;
    width: 400px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 30px;
    border: 6px solid transparent; /* Initial border */
    animation: borderAnimation 3s infinite; /* Animation */
  }
  
  /* Header Section */
  .terms-header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
  }
  
  .terms-header h2 {
    font-size: 20px;
    margin: 0;
  }
  
  /* Content Section */
  .terms-content {
    max-height: 300px; /* Increased height for more content */
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 10px;
  }
  
  .terms-content h3 {
    margin-top: 10px;
    margin-bottom:10px;
    font-size: 16px;
  }
  
  .terms-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
  }
  
  /* Scrollbar */
  .terms-content::-webkit-scrollbar {
    width: 5px;
  }
  
  .terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  .terms-content::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  .terms-content::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  /* Action Button */
  .action-btn {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 15px auto 0;
    font-size: 14px;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Move down */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Transition for animation */
  }
  
  /* Button Animation */
  .action-btn.animate {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Original position */
  }
  
  .action-btn:hover {
    background-color: #f28baf;
  }
  

    /* Border Animation */
    @keyframes borderAnimation {
      0% {
     border-image: linear-gradient(90deg, #e91e63, #fbc02d) 1;
   }
   50% {
     border-image: linear-gradient(90deg, #fbc02d, #e91e63) 1;
   }
   100% {
     border-image: linear-gradient(90deg, #e91e63, #fbc02d) 1;
     }
   }