 :root {
      --primary-bg: #04011c;
      --card-bg: #0a0735;
      --accent-yellow: #ffcc00;
      --accent-orange: #ff6600;
      --accent-blue: #73b4ce;
      --gradient-btn: linear-gradient(to left, #02e0f1, #0e219a);
      --white: #ffffff;
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      --form-bg: #0a0735;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: poppins, sans-serif;
      /* overflow-x: hidden; */
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: var(--primary-bg);
      color: var(--white);
      overflow-x: hidden;
      line-height: 1.6;
    }

    .selectPlan {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    h2 {
      font-size: 2.2rem;
      margin-bottom: 10px;
      background: linear-gradient(to right, var(--accent-yellow), var(--accent-orange));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-align: center;
    }

    .highlight {
      color: var(--accent-yellow);
      font-weight: bold;
    }

  

/* Progress bar styling */
.progress-container {
  position: relative;
  margin-top: 10px;
}

.line {
  width: 80%;
  height: 2px;
  background-color: #ccc;
  margin: 20px 0;
}

.ball {
  width: 20px;
  height: 20px;
  background-color: blue;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50px; /* adjust based on step */
}

.plan-steps {
  display: flex;
  justify-content: space-between;
}

.step {
  font-weight: normal;
  color: gray;
}

.step.active {
  font-weight: bold;
  color: black;
}


    .line {
      height: 4px;
      background: linear-gradient(to right, var(--accent-yellow), var(--accent-orange));
      border: none;
      width: 100%;
      position: relative;
      border-radius: 2px;
    }

    .ball {
      width: 24px;
      height: 24px;
      background-color: var(--accent-yellow);
      border-radius: 50%;
      position: absolute;
      top: 5%;
      left: 0;
      transform: translate(-50%, -50%);
      box-shadow: 0 0 12px var(--accent-yellow);
      border: 2px solid var(--white);
      transition: left 0.5s ease;
      animation: pulse 2s infinite;
    }

    .plan-steps {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      position: relative;
    }

    .step {
      text-align: center;
      font-weight: bold;
      color: var(--accent-blue);
      position: relative;
      flex: 1;
    }

    .step:first-child {
      text-align: left;
    }

    .step:last-child {
      text-align: right;
    }

    .step.active {
      color: var(--accent-yellow);
    }


    .section-title {
      margin: 40px 0 20px;
      font-size: 1.5rem;
      color: var(--accent-blue);
      padding-left: 10px;
      text-align: center;

    }

    .container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
      margin-top: 30px;
    }

    .card {
      background-color: var(--card-bg);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 25px;
      width: calc(50% - 15px);
      min-width: 280px;
      border-radius: 12px;
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: var(--shadow);
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
      border-color: rgba(255, 204, 0, 0.3);
    }

  
    .badge {
      /* background-color:#0000FF; */
/* background: linear-gradient(135deg, #f7de00, #F11712); */
background: linear-gradient(90deg, #FF0004, #FF0066);
/* background: linear-gradient(135deg, #15f700, #00c8fa); */

      color: #ffffff;
      position: absolute;
      top: -12px;
      right: 20px;
      padding: 5px 15px;
      font-weight: bold;
      font-size: 0.8rem;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 2px 7px rgba(255, 0, 64, 0.87);
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }

    .card-header h3 {
      font-size: 1.3rem;
      color: var(--accent-yellow);
    }

    .price {
      text-align: right;
    }

    .price h3 {
      font-size: 1.5rem;
      margin-bottom: 5px;
    }

    .price p {
      font-size: 0.75rem;
      opacity: 0.8;
    }

    .features {
      margin: 20px 0;
        max-height: 200px; /* adjust height as needed */
  overflow-y: auto;
  margin-bottom: 1rem;
    }
    .features::-webkit-scrollbar {
  width: 6px;
}
.features::-webkit-scrollbar-thumb {
  background-color: #ffc107; /* highlight yellow */
  border-radius: 4px;
}

    .features h5 {
      font-weight: normal;
      margin-bottom: 12px;
      padding-left: 20px;
      position: relative;
      font-size: 0.95rem;
    }

    .features h5::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--accent-yellow);
      font-weight: bold;
    }

    .actions {
      display: flex;
      justify-content: space-between;
      margin-top: 25px;
      align-items: center;
    }
    #action1{
      margin-top: 13%;
    }
    #action2{
      margin-top: 10%;
    }

    .view-detail {
      border: none;
      background: transparent;
      color: var(--accent-blue);
      cursor: pointer;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: color 0.3s ease;
    }

    .view-detail:hover {
      color: var(--accent-yellow);
      text-decoration: underline;
    }


    /* From Uiverse.io by mrhyddenn */ 
.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: relative;
  padding: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  transition: all .15s ease;
}

.button::before,
.button::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7D8082;
  transition: all .15s ease;
}

.button::before {
  top: 0;
  border-bottom-width: 0;
}

.button::after {
  bottom: 0;
  border-top-width: 0;
}

.button:active,
.button:focus {
  outline: none;
}

.button:active::before,
.button:active::after {
  right: 3px;
  left: 3px;
}

.button:active::before {
  top: 3px;
}

.button:active::after {
  bottom: 3px;
}

.button_lg {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #0f1923;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #0f1923;
}

.button_lg::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #0f1923;
  transition: all .2s ease;
}

.button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: #01b7ff;
  transform: skew(-15deg);
  transition: all .2s ease;
}

.button_text {
  position: relative;
}

.button:hover {
  color: #0f1923;
}

.button:hover .button_sl {
  width: calc(100% + 15px);
}

.button:hover .button_lg::after {
  background-color: #fff;
}



    /* Popup Container Styles */
    .popup-overlay {
      display: none;
      position: fixed;
      top: 80px;
      left: 10px;
      width: 95%;
      /* height: 100%; */
      max-height: 80%;
      background:transparent;
      z-index: 1000;
      align-items: center;
      justify-content: center;
    }

    .popup-container {
      /* background-color: var(--card-bg); */
      background-color: #0a0e5f;
      border-radius: 12px;
      padding: 30px;
      max-width: 500px;
      width: 90%;
      position: relative;
      box-shadow: var(--shadow);
      color: var(--white);
    }

    .popup-close {
      position: absolute;
      top: 20px;
      right: 10px;
      background: transparent;
      border: none;
      color: var(--accent-yellow);
      font-size: 1.2rem;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .popup-close:hover {
      color: var(--accent-orange);
    }

    .popup-content h3 {
      font-size: 1.8rem;
      color: var(--accent-yellow);
      margin-bottom: 10px;
    }

    .popup-content .price {
      font-size: 1.4rem;
      color: var(--white);
      margin-bottom: 20px;
    }

    .popup-content p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .popup-content ul {
      list-style: none;
      margin-bottom: 20px;
    }

    .popup-content ul li {
      padding-left: 20px;
      position: relative;
      margin-bottom: 10px;
    }

    .popup-content ul li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--accent-yellow);
      font-weight: bold;
    }

    /* Form Container Styles */
    .formcontainer {
      width: 100%;
      color: white;
      max-width: 800px;
      margin: 20px auto ;
      padding: 40px 20px;
      background-color: var(--form-bg);
      border-radius: 12px;
      box-shadow: var(--shadow);
      display: none; /* Hidden by default */
      margin-top: -30px;

    }

    .userform {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 30px;
    }

    .userform label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
      color: var(--accent-blue);
    }

    .check{
      text-align: center;
      margin-bottom: 10px;
    }
    .check a{
      color: #73b4ce ;
      list-style: none;
      text-decoration: none;
      cursor: pointer;
      &:hover{
        text-decoration: underline;
        color: #04b3f8
      }
    }
    .userform input {
width: 100%;
padding: 12px;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 6px;
background-color: rgba(255, 255, 255, 0.1);
color: white;
font-size: 16px;
    }

    .userform input:focus {
      outline: none;
      border-color: var(--accent-yellow);
      box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.3);
    }

    .form-summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      margin-bottom: 30px;
    }

    .form-actions {
      display: flex;
      justify-content: space-between;
      gap: 20px;
    }

    #previous {
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  padding: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  background-color: transparent;
  color: var(--accent-blue);
  border: 1px solid #58556e;
    }

    #previous:hover {
      background-color: rgba(108, 187, 218, 0.1);
      border: white;
    }

  .terms{
  background-color: #f9f9f9;
  color: #333;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


   
    /* Animations */
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
      70% { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
    }



    /* Responsive Design */
    @media (max-width: 1024px) {
      
      .card {
        width: calc(50% - 15px);
      }
    }

    @media (max-width: 768px) {

      h2 {
        font-size: 1.8rem;
      }
      
      .card {
        width: 100%;
        max-width: 400px;
      }
      
      .progress-container {
        margin: 30px auto;
      }
      
      .section-title {
        margin: 30px 0 15px;
        font-size: 1.3rem;
      }
      
      .userform {
        grid-template-columns: 1fr;
      }
      
      .form-summary {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
      }
      
      .form-actions {
        width: 100%;
      }
      
      #previous, #proceedtopay {
        width: 100%;
      }
      
      .check{
        font-size: 15px;
      }
    }

    @media (max-width: 480px) {
      
      .selectPlan, .formcontainer {
        padding: 30px 15px;
      }
      
      h2 {
        font-size: 1.5rem;
      }
      
      .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      
      .price {
        text-align: left;
        width: 100%;
      }
      
      .actions {
        flex-direction: column;
        gap: 15px;
      }
      
      .view-detail, .select-btn {
        width: 100%;
        text-align: center;
      }
      
      .select-btn {
        padding: 12px;
      }

      .popup-container {
        width: 95%;
        padding: 20px;
      }
    }