.packages-comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin: 50px auto;
}
.package-card {
    max-width: 95%;
   padding: 15px 15px;
  flex: 1 1 300px;
  max-width: 570px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none; 
    background: #ffffff; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--modern-shadow);
    padding: 25px 20px;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
   
 
}
.package-card-mtd {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;flex: 1;
    max-width: 370px;
    .package-summary {
    flex-grow: 1;
    color: #547763;
    max-width: 500px;
    margin-top: 1em;
  }
}
.package-card-single {
  max-width: 670px;padding: 25px 5%;  background: rgba(0, 83, 36, 0.7);   border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);background: rgba(0, 83, 36, 0.9);
  p {
    color: #c4fdde;
  }
  .package-summary {
    color: #fff;
  }
  h3 {
    color: #d5b555 !important;text-shadow: 0 0 0px rgb(0, 0, 0);
  }
  h4 {
    color: #d5b555 !important;
    text-shadow: 0 0 0px rgb(0, 0, 0);
  }
  .transaction-badge {
    background-color: #d5b555;
    color: #f2fff7;
    text-shadow: 0 0 1px black;border: 1px solid rgba(255, 255, 255, 0.3);
  }
}
.package-card-single  li {
   color: #fff;background: rgba(255, 255, 255, 0.17); padding: 5px 15px; backdrop-filter: blur(20px);border: 1px solid rgba(255, 255, 255, 0.1);
}
.package-card-single  li::before {
   background-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(20px); padding: 5px 15px;
   border-radius: var(--radius-sm); color: #fff;background-position: center;
}
.package-card-list {
  max-width: 500px;
}

.package-card-mtd .package-summary {
    flex: 0 1 auto;
    min-height: 60px; 
    text-align: left;
    padding: 0 5%;
    
}

.package-card-mtd > div:nth-of-type(2) { 
    flex-grow: 1; /* This pushes the price/footer to the bottom */
    display: flex;
    flex-direction: column;
}

.package-card-mtd ul.checks-service {
    flex-grow: 1; font-size: clamp(0.75rem, 0.7065rem + 0.2174vw, 0.875rem); gap: 1px; padding: 0 5%;
    li {
      padding:2px;
    }
}
.package-card-mtd-table{
    width: 95%;
    border-collapse: separate;
    margin-bottom: 5px;
  border-spacing: 10px;
 background: none;
  th{
  border: 1px solid #009a44;
  ;
 }
} 


.target-audience {
    background: #f0f4f0;
    color: #2e7d32;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.package-card:hover {

transform: scale(1.05);
box-shadow: var(--shadow-elevation-medium);
}
.package-card-calc:hover {
box-shadow:  inset 1px 1px 20px 1px rgb(11 155 74 / 17%);
transform: scale(1.05);

}

.package-card h3 {
  margin-bottom: 0.5em;
  margin-top: 0px;
  border-bottom: 1px solid #13a55040;
  text-align: center;
  text-transform: uppercase;
  color: var(--main-green);
  font-size: clamp(0.9375rem, 0.8071rem + 0.6522vw, 1.3125rem);
  width: 100%; padding-bottom: 2%;
}
.package-summary {
padding: 0 5%;
    font-size: clamp(0.75rem, 0.663rem + 0.4348vw, 1rem);
    margin-bottom: 10px;
    max-width: 500px;
    color: #547763;
}



.package-card div {
  width: 95%;
}

.package-price {
  font-size: 1.2em;
  color: rgba(0, 122, 53, 0.9);
 padding: 3px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 1px black;
}

.package-btn {
  background: #009a44;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1px 15px;
  text-decoration: none;
  font-size: 1em;
  margin-top: auto;
  transition: background 0.2s;
   border: 1px ridge #d5b555;
    width: 80%;
}
.package-btn:hover {
  background: #007a34;
}
@media (max-width: 900px) {
  .packages-comparison {
    flex-direction: column;
    align-items: center;
  }
}
.transaction-badge {
    background: #f2fff7;
    color: rgba(0, 122, 53, 0.9);
    border: 1px solid rgba(0, 122, 53, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
     display: flex;
   text-align: center;
    margin: auto;   margin-bottom: 10px;
  max-width: 90%;
}
.scenario-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
    max-height: 60vh;
    overflow-y: auto;
    padding: 9px;
}

.scenario-card {
    background: #f9f9f9;
    border-left: 4px solid rgba(0, 122, 53, 0.9);
    padding: 12px;
    border-radius: var(--radius-sm); 
    box-shadow: var(--modern-shadow);
    text-align: left;
    overscroll-behavior: none;
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.scenario-header strong {
    color: rgba(0, 122, 53, 0.9);
    font-size: 0.95em;
}

.count-badge {
    background: #f2fff7;
    color: rgba(0, 122, 53, 0.9);
    padding: 2px 8px;
    border-radius: 12px; 
    font-size: 0.8em;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: var(--modern-shadow);
}

.scenario-card p {
    font-size: 0.85em;
    margin: 0;
    color: #444;
    line-height: 1.1;
}