.parent {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
  }

              
  
  .radio-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
  }
  
  .card {
    position: relative; /* Position the radio button relative to the card */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px; /* Set a fixed height for all cards */
    width: 200px;
    margin: 0;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #ccc;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    text-align: center;
  }
  
  .card:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: #fff;
  }
  
  .card input[type="radio"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }
  
  h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .radio-cards input[type="radio"] {
    display: none;
  }
  
  .card-container {
    margin: 20px;
    flex: 1;
  }
  
  .card-container input[type="radio"]:checked + label > .card:before {
    background-color: #998FC2;
    border-color: #998FC2;
  }

  .card-container input[type="radio"]:checked + label > .card {
    border: 2px solid #998FC2;
  }
  
  
  
  @media screen and (min-width: 768px) {
    .radio-cards {
      flex-direction: row;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      max-width: 900px;   
    }
  
    .card-container {
      max-width: calc(50% - 40px);
    }

    .logo img{
      margin-top: 5px;
    }

    .border{

      margin-top: 80px;

    }
    
  
    
  }
  
  
button {
    background-color: #998FC2;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px; 
    width: 30%;
    margin-top: 10px;
  
  }
  
  button:hover {
    background-color: #998FC2;
  }
  
  
  .logo img {
    height: 50px;
  }
  

  
  .border {
    border: 2px solid #998FC2;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    
  }
 
 
  @media screen and (max-width: 767px) {
    .logo {
      text-align: center;
      margin-bottom: -10px;
    }
    .card {
      height: 100px;
      width: 150px;
      padding: 20px;
    }


    h2 {
      font-size: 20px; 
    }

    .border{
    
      margin-top: 30px;

    }

    button{
      width: 200px !important;

    }


  }