/* Author: Abdul Rafay
    CSS  FILE: THis css file will style the price card of every package in the services page
*/

.price-table {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
  
.price-card {
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: relative;
    padding-bottom: 40px;
    background-color: white;
    overflow: hidden;
    width: 500px;
}
.price-card h2 {
    margin-top: 0;
    color: black;
}
  
.price {
    font-size: 20px;
    color: #555;
}
  
.pros {
    list-style-type: none;
    padding-left: 5px;
    margin-bottom: 30px;
}
  
.pros li {
    color: black;
    position: relative;
    padding-left: 5px;
    margin-bottom: 10px;
    transition: color 0.3s;
    line-height: 1.2;
    margin-bottom: 10px;
}
  
.pros li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: -10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: background-color 0.3s;
}
  
.pros li:hover,
.price-card:focus .pros li {
    color: black;
}
  
.pros li:hover::before,
.price-card:focus .pros li::before {
    background-color: #ccc;
}
  
.pros li.feature1::before {
    background-color: #ff7f50;
}
  
.pros li.feature2::before {
    background-color: #1e90ff;
}
  
.pros li.feature3::before {
    background-color: #8a2be2;
}
  
.pros li.feature4::before {
    background-color: #ff1493;
}
  
.pros li.feature5::before {
    background-color: #32cd32;
}
  
.pros li.feature6::before {
    background-color: #ffd700;
}
  
  /* Button UI */
.buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 92%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
  
.buttons button {
    padding: 10px 10px;
    font-size: 16px;
    color: #fff;
    background-color: green;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    width: 100%;
}
  
.buttons button:hover,
.price-card:focus .buttons button {
    background-color: darkgreen;
}
  
.price-card:hover,
.price-card:focus {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
  
.price-card:hover h2,
.price-card:focus h2 {
    color: black;
}
  
.price-card:hover .pros li::before,
.price-card:focus .pros li::before {
    background-color: #ccc;
}
  
.buttons button:hover,
.price-card:focus .buttons button {
    background-color: green;
    color: #fff;
    font-weight: bold;
}


@media only screen and (max-width: 1200px) {
    .price-table {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .price-card {
      width: 45%;
      max-width: 400px;
      margin-bottom: 30px;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .price-table {
      flex-direction: column;
      align-items: center;
    }
  
    .price-card {
      width: 90%;
      max-width: 400px;
      margin-bottom: 30px;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .price-card {
      width: 90%;
      max-width: 300px;
      margin-bottom: 30px;
    }
  }