@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Lexend:wght@100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    min-height: 100vh;
    width: 100%;
}
.pkg-banner .health-card{
    display: flex;
    flex-direction: column;
    background:linear-gradient(90deg,blue,skyblue) ;
    margin: 20px;
    color: white;
    padding: 20px;
    font-family: google sans,'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-radius: 20px;
    gap: 20px;
}
.pkg-banner .health-card p{
    text-transform: capitalize;
}
.pkg-banner .price-details{
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.pkg-banner .price-details .strike-price{
    text-decoration: line-through;
    font-size: small;
    font-weight: 100;
}
.pkg-banner .price-details .real-price{
    
    font-size: medium;
    font-weight: 900;
}
.pkg-banner .price-details .save-price{
    font-size: 0.5rem;
    font-weight: 600;
    background-color: rgba(253, 253, 253, 0.208);
    padding: 5px;
    border-radius: 20px;
}
#second-banner .health-card{
    background:linear-gradient(90deg,rgb(255, 123, 0),orange);
}
#third-banner .health-card{
    background:linear-gradient(90deg,rgb(43, 25, 102),rgb(32, 32, 98));
}
#fourth-banner .health-card{
    background:linear-gradient(90deg,#129785,rgb(18, 151, 133));
}
#fifth-banner .health-card{
    background:linear-gradient(90deg,rgb(187, 4, 4),red);
}

/* ========================================================
   DESKTOP DEFAULT STYLES (2 Cards Per Row)
   ======================================================== */
.pkg-banner .tests {
    margin: 20px;
    display: grid;
    /* Desktop: exactly 2 equal columns (2 cards per row) */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pkg-banner .tests .test-box {
    height: fit-content;
    padding: 20px 30px;
    width: 100%; /* Fill the grid column, instead of fixed 40vw */
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    border-left: 5px solid blue;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkg-banner .tests .test-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.pkg-banner .tests .test-box h5 {
    font-size: 1.25rem;
    font-family: google sans, sans-serif;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.pkg-banner .tests .test-box hr {
    margin: 10px 0 14px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.pkg-banner .tests .test-box ul {
    padding-left: 20px;
}

.pkg-banner .tests .test-box ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 6px;
    font-family: google sans, 'Lucida Sans', Geneva, Verdana, sans-serif;
    color: #333333;
}

/* Accent border colors for different banners */
.pkg-banner #second-testpage .test-box {
    border-left: 5px solid orange;
}
.pkg-banner #third-testpage .test-box {
    border-left: 5px solid purple;
}
.pkg-banner #fourth-testpage .test-box {
    border-left: 5px solid #129785;
}
.pkg-banner #fifth-testpage .test-box {
    border-left: 5px solid red;
}

/* ================================
   HEADING AND SUB-LISTS STYLING
   ===============================   */
.pkg-banner #third-testpage .test-box ul ul li{
       color: gray;
   }
.pkg-banner #first-testpage .test-box h5{
    color: blue;
}
.pkg-banner #second-testpage .test-box h5{
    color: orange;
}
.pkg-banner #third-testpage .test-box h5{
    color: purple;
}
.pkg-banner #fourth-testpage .test-box h5{
    color: gray;
}
.pkg-banner #fifth-testpage .test-box h5{
    color: red;
}
.pkg-banner #fourth-testpage .test-box ul ul li{
    color: gray;
}

/* ========================================================
   BOTTOM KEYWORDS (Desktop: 4 in a single line / baseline)
   ======================================================== */
.bottom-keywords {
    margin: 20px;
    display: grid;
    /* Desktop: all 4 appear in a single line */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.bottom-keywords .mini-keys {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: google sans, 'Lucida Sans', Geneva, Verdana, sans-serif;
    padding: 18px 16px;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-keywords .mini-keys:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ========================================================
   MOBILE MEDIA QUERY (Screens <= 768px)
   ======================================================== */
@media (max-width: 768px) {
    .pkg-banner .health-card {
        margin: 15px 10px;
        padding: 16px;
        gap: 14px;
    }

    .pkg-banner .price-details {
        gap: 8px;
        flex-wrap: wrap;
    }

    .pkg-banner .tests {
        /* Mobile: exactly 1 card per row (full screen width) */
        grid-template-columns: 1fr;
        margin: 15px 10px;
        gap: 16px;
    }

    .pkg-banner .tests .test-box {
        width: 100%;
        padding: 16px 20px; /* Reduced side padding so text fits nicely */
    }

    .bottom-keywords {
        /* Mobile: appear as 2 per row */
        grid-template-columns: repeat(2, 1fr);
        margin: 15px 10px;
        gap: 12px;
    }

    .bottom-keywords .mini-keys {
        padding: 14px 10px;
        font-size: 0.82rem;
        border-radius: 14px;
    }
}
