﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


/* ===== BIOCHEM HOME STYLING (Enhanced) ===== */
:root {
    --biochem-primary: #2A5C94;
    --biochem-primary-700: #1F4A78;
    --biochem-accent: #2E7D50;
    --biochem-accent-700: #215E3D;
    --biochem-surface: #F3F6FB;
}

.bg-surface {
    background: var(--biochem-surface);
}

.text-white-75 {
    color: rgba(255,255,255,.85);
}

.btn-soft-primary {
    --bs-btn-color: #1F4A78;
    --bs-btn-bg: #e1ebf7;
    --bs-btn-border-color: #e1ebf7;
    --bs-btn-hover-bg: #d1def0;
    --bs-btn-hover-border-color: #d1def0;
}

/* ---------- HERO ---------- */
.hero-section {
    background: radial-gradient(1200px 800px at -10% -20%, #1F4A78 25%, #2A5C94 55%, #2A5C94 100%);
}

.hero-image img {
    max-height: 420px;
}

.hero-blobs::before, .hero-blobs::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .25;
    pointer-events: none;
}

.hero-blobs::before {
    width: 360px;
    height: 360px;
    right: -100px;
    top: -60px;
    background: #00c389;
}

.hero-blobs::after {
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -80px;
    background: #66a6ff;
}

.text-hero-accent {
    color: #9BE2C0;
}

.badge.bg-glass {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
}

/* Search glass */
.glass {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
}

/* Stat pills */
.stat-pill {
    padding: .4rem .8rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: .8rem;
    background: rgba(255,255,255,.08);
}

/* ---------- BANNERS ---------- */
.gradient-blue-green {
    background: linear-gradient(90deg, var(--biochem-primary-700), var(--biochem-primary), var(--biochem-accent));
    border-radius: 20px;
}

.health-meter {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(#00c389 0 78%, #ffffff40 0 100%);
    display: grid;
    place-items: center;
    color: #fff;
    border: 6px solid #ffffff30;
}

    .health-meter .value {
        font-size: 44px;
        font-weight: 800;
        line-height: 1;
    }

    .health-meter .label {
        opacity: .85;
        margin-top: -6px;
    }

/* ---------- CARDS ---------- */
.card-lift {
    transition: transform .18s ease, box-shadow .18s ease;
}

    .card-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(0,0,0,.08);
    }

.package-card .card-img-top {
    height: 150px;
    object-fit: cover;
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}

.ribbon {
    position: absolute;
    top: 12px;
    left: -8px;
    padding: .25rem .75rem;
    color: #fff;
    font-size: .8rem;
    border-top-right-radius: .35rem;
    border-bottom-right-radius: .35rem;
    background: linear-gradient(90deg, #20c997, #139e67);
    box-shadow: 0 6px 14px rgba(19,158,103,.35);
}

.ribbon-save::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #0c6a45;
    clip-path: polygon(0 0,100% 0,0 100%);
}

.test-card .price-line {
    display: flex;
    gap: .5rem;
    align-items: center;
}

    .test-card .price-line span {
        font-weight: 700;
        color: #103b63;
    }

/* ---------- ICON CIRCLES / TILES ---------- */
/* Icon circle container */
.i-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(120% 120% at 30% 30%, #e6f1ff, #d7e7ff);
    color: var(--biochem-primary-700); /* icon ka color */
    border: 1px solid #dbe7fb;
}

    /* Icon itself */
    .i-circle i {
        font-size: 20px; /* ya 22px */
        line-height: 1;
    }


.tile {
    transition: transform .15s ease, box-shadow .15s ease;
    border: 1px solid #e9eef5;
}

    .tile:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,.06);
    }

.tile-title {
    font-weight: 600;
    margin-top: .25rem;
}

.tile-sub {
    font-size: .78rem;
    color: #6c757d;
}

/* ---------- VIDEO ---------- */
.video-card .video-play-btn {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: 28px;
    width: 100%;
    height: 100%;
}

    .video-card .video-play-btn:hover {
        background: rgba(0,0,0,.35);
    }

/* ---------- FEATURES ---------- */
.feature {
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: .4rem .5rem;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: .75rem;
}

/* ---------- UTIL ---------- */
.section-title {
    font-weight: 800;
    color: #103b63;
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0,0,0,.12) !important;
}

.bg-surface .card {
    background: #fff;
}

/* Responsive tweaks */
@media (max-width: 575.98px) {
    .hero-image img {
        max-height: 300px;
    }

    .health-meter {
        width: 140px;
        height: 140px;
    }
}


/* ===== Milestones Section (BIOCHEM theme) ===== */
#biochem-milestones .shadow-xl {
    box-shadow: 0 20px 40px rgba(0,0,0,.12) !important;
}

#biochem-milestones .text-highlight {
    color: #CFF5E2;
}
/* subtle mint accent */

/* Gradient cards (right column) */
.biochem-grad-card {
    background: linear-gradient(135deg, var(--biochem-accent) 0%, #22724a 35%, var(--biochem-primary-700) 100%);
    color: #fff;
}

/* Soft card (left bottom) */
.biochem-soft-card {
    background: #fff;
    border: 1px solid #e8eef7;
}

/* Big media card (left top) */
.biochem-media-card {
    min-height: 360px;
}

    .biochem-media-card img {
        height: 100%;
    }

.biochem-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,30,54,.25) 0%, rgba(7,30,54,.55) 60%, rgba(7,30,54,.85) 100%), linear-gradient(90deg, rgba(34,114,74,.35), rgba(42,92,148,.35));
}

/* Play button */
.biochem-play-btn {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.65);
    backdrop-filter: blur(2px);
    transition: transform .15s ease, background .15s ease;
}

    .biochem-play-btn:hover {
        transform: scale(1.05);
        background: rgba(255,255,255,.25);
    }

/* Ribbon (top-left small tag) */
.biochem-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.9);
    color: var(--biochem-primary-700);
    padding: .35rem .65rem;
    font-weight: 700;
    border-bottom-right-radius: .6rem;
}

/* Steps chip */
.step-chip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #DBF6E7;
    color: #104338;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.35);
}

/* Small helpers */
.fw-extrabold {
    font-weight: 900;
}

.text-white-75 {
    color: rgba(255,255,255,.85) !important;
}

/* Responsive */
@media (max-width: 575.98px) {
    .biochem-media-card {
        min-height: 300px;
    }

    #biochem-milestones h2 {
        font-size: 1.75rem;
    }
}

/* ===== Popular Tests (BIOCHEM) — final ===== */
#popular-tests .section-title {
    color: #0f3a62;
    font-weight: 800;
}

/* viewport + track */
.tests-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .tests-viewport::-webkit-scrollbar {
        display: none;
    }

.tests-track {
    display: flex;
    gap: 24px;
    padding: 2px 2px 6px;
    align-items: stretch; /* ✅ stop equal-height stretching -> no white gap */
}


/* card */
.test-card {
    min-width: 340px;
    max-width: 360px;
    display: flex; /* column layout */
    flex-direction: column;
    flex: 0 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6edf6;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    scroll-snap-align: start;
    max-height: 515px;
}

.test-media {
    aspect-ratio: 16/10;
    flex: 0 0 auto;
    background: #f1f5fb;
    height: 290px;
}

    .test-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* gradient body */
.test-body {
    flex: 1 1 auto; /* body remaining space fill kare */
    display: flex;
    flex-direction: column;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
    padding: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--biochem-primary-700) 0%, var(--biochem-primary) 45%, var(--biochem-accent) 100%);
}

.test-title {
    font-size: 1.05rem;
    line-height: 1.25;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
}

.test-price {
    font-weight: 800;
    white-space: nowrap;
    color: #fff;
}

.test-sep {
    border-top: 1px solid rgba(255,255,255,.35);
    margin: 14px 0;
}

/* features – override global .feature (THIS FIXES INVISIBLE TEXT) */
.test-body .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.test-body .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    color: #fff !important;
}

/* chips */
.i-chip {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #dbf6e7;
    color: #145a44;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

/* buttons */
.test-body .btn {
    border-radius: 12px;
}

.btn-cta {
    --bs-btn-color: #103b63;
    --bs-btn-bg: #b7f0d3;
    --bs-btn-border-color: #b7f0d3;
    --bs-btn-hover-bg: #a3e7c5;
    --bs-btn-hover-border-color: #a3e7c5;
    font-weight: 600;
}

.btn-row {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

/* bottom controls */
.tests-controls {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 12px;
}

.btn-bottom {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--biochem-primary-700), var(--biochem-accent));
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

    .btn-bottom[disabled] {
        opacity: .45;
        cursor: not-allowed;
    }

/* view all */
.btn-view-all {
    --bs-btn-color: #103b63;
    --bs-btn-bg: #c8f1dc;
    --bs-btn-border-color: #c8f1dc;
    --bs-btn-hover-bg: #b5ebd1;
    --bs-btn-hover-border-color: #b5ebd1;
    font-weight: 700;
    padding: .7rem 2rem;
}

/* responsive */
@media (max-width: 991.98px) {
    .test-body .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .test-card {
        min-width: 84vw;
    }

    .tests-controls {
        display: none;
    }
}


/* ===== Packages (BIOCHEM) ===== */
.package-filter {
    position: relative;
}

    .package-filter .package-select {
        min-width: 280px;
        border-radius: 999px;
        border: 1px solid #dde6f4;
        padding-right: 3rem;
    }

    .package-filter i {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c7a90;
        pointer-events: none;
    }

/* viewport + track */
.packages-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .packages-viewport::-webkit-scrollbar {
        display: none;
    }

.packages-track {
    display: flex;
    gap: 24px;
    padding: 2px 2px 6px;
    align-items: stretch;
}

/* cards */
.pkg-card {
    min-width: 360px;
    max-width: 380px;
    flex: 0 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6edf6;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    max-height: 515px;
}

.pkg-media {
    aspect-ratio: 16/9;
    background: #f1f5fb;
    flex: 0 0 auto;
    height: 290px;
}

    .pkg-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.pkg-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--biochem-primary-700) 0%, var(--biochem-primary) 45%, var(--biochem-accent) 100%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
    .pkg-body .btn-row {
        margin-top: auto;
    }

.pkg-title {
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
    color: #fff;
}

.price-line {
    display: flex;
    gap: .5rem;
    align-items: center;
    white-space: nowrap;
}

    .price-line .mrp {
        color: #e1e7f5;
        opacity: .85;
    }

    .price-line .current {
        font-weight: 800;
        color: #fff;
    }

.discount-badge {
    display: inline-block;
    padding: .35rem .7rem;
    font-weight: 600;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    backdrop-filter: blur(3px);
}

.pkg-sep {
    border-top: 1px solid rgba(255,255,255,.35);
    margin: 14px 0;
}

.pkg-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #fff;
}

    .pkg-point .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #b7f0d3;
        box-shadow: 0 0 0 3px rgba(183,240,211,.25);
    }

/* buttons */
.pkg-body .btn {
    border-radius: 12px;
}

.btn-cta {
    --bs-btn-color: #103b63;
    --bs-btn-bg: #b7f0d3;
    --bs-btn-border-color: #b7f0d3;
    --bs-btn-hover-bg: #a3e7c5;
    --bs-btn-hover-border-color: #a3e7c5;
    font-weight: 600;
}

.btn-row {
    display: flex;
    gap: 12px;
}

/* bottom controls */
.packages-controls {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 14px;
}

.btn-bottom {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--biochem-primary-700), var(--biochem-accent));
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

    .btn-bottom[disabled] {
        opacity: .45;
        cursor: not-allowed;
    }

/* view all */
#packages .btn-view-all {
    --bs-btn-color: #103b63;
    --bs-btn-bg: #c8f1dc;
    --bs-btn-border-color: #c8f1dc;
    --bs-btn-hover-bg: #b5ebd1;
    --bs-btn-hover-border-color: #b5ebd1;
    font-weight: 700;
    padding: .7rem 2rem;
}

/* responsive */
@media (max-width: 991.98px) {
    .pkg-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .pkg-card {
        min-width: 86vw;
    }

    .packages-controls {
        display: none;
    }
    /* swipe on mobile */
}



/* ===== Medical Conditions (tiles) ===== */
#mc-conditions .mc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-height: 160px;
    padding: 18px;
    border-radius: 16px;
    text-decoration: none;
    color: #0f3a62;
    overflow: hidden;
    border: 1px solid #e7eef6;
    background: linear-gradient(135deg,#f6faff 0%,#eef5ff 55%,#f2fff7 100%);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    #mc-conditions .mc-card:focus {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(42,92,148,.15);
    }

    #mc-conditions .mc-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(0,0,0,.08);
        border-color: rgba(42,92,148,.28);
    }

#mc-conditions .mc-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: .35rem;
    background: radial-gradient(120% 120% at 30% 30%, #e6f1ff, #d7e7ff);
    border: 1px solid #dbe7fb;
    color: var(--biochem-primary-700);
    box-shadow: 0 6px 16px rgba(31,74,120,.08);
    z-index: 1;
}

#mc-conditions .mc-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    z-index: 1;
}

#mc-conditions .mc-count {
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    padding: .25rem .55rem;
    margin-top: 2px;
    color: #1F4A78;
    border: 1px solid rgba(31,74,120,.18);
    border-radius: 999px;
    background: rgba(31,74,120,.06);
    z-index: 1;
}

#mc-conditions .mc-cta {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    font-weight: 600;
    color: var(--biochem-accent);
    opacity: 0;
    transform: translateY(6px);
    transition: .2s ease;
}

#mc-conditions .mc-card:hover .mc-cta {
    opacity: 1;
    transform: translateY(0);
}

#mc-conditions .mc-cta i {
    transition: transform .2s;
}

#mc-conditions .mc-card:hover .mc-cta i {
    transform: translateX(3px);
}

#mc-conditions .mc-watermark {
    position: absolute;
    right: -8px;
    top: -6px;
    font-size: 64px;
    color: #1F4A78;
    opacity: .08;
    pointer-events: none;
    z-index: 0;
}

/* little tighter layout on very small screens */
@media (max-width: 575.98px) {
    #mc-conditions .mc-card {
        min-height: 150px;
        padding: 16px;
    }

    #mc-conditions .mc-icon {
        width: 50px;
        height: 50px;
    }
}



/* ===== Body Parts tiles (BIOCHEM) ===== */
#bp-parts .bp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-height: 160px;
    padding: 18px;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #e7eef6;
    color: #0f3a62;
    background: linear-gradient(135deg,#f6faff 0%,#eef5ff 55%,#f2fff7 100%);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    #bp-parts .bp-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(0,0,0,.08);
        border-color: rgba(42,92,148,.28);
    }

    #bp-parts .bp-card:focus {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(42,92,148,.15);
    }

#bp-parts .bp-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: .35rem;
    background: radial-gradient(120% 120% at 30% 30%, #e6f1ff, #d7e7ff);
    border: 1px solid #dbe7fb;
    color: var(--biochem-primary-700);
    box-shadow: 0 6px 16px rgba(31,74,120,.08);
    z-index: 1;
}

#bp-parts .bp-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    z-index: 1;
}

#bp-parts .bp-count {
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    padding: .25rem .55rem;
    margin-top: 2px;
    color: #1F4A78;
    border: 1px solid rgba(31,74,120,.18);
    border-radius: 999px;
    background: rgba(31,74,120,.06);
    z-index: 1;
}

#bp-parts .bp-cta {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    font-weight: 600;
    color: var(--biochem-accent);
    opacity: 0;
    transform: translateY(6px);
    transition: .2s ease;
}

#bp-parts .bp-card:hover .bp-cta {
    opacity: 1;
    transform: translateY(0);
}

#bp-parts .bp-cta i {
    transition: transform .2s;
}

#bp-parts .bp-card:hover .bp-cta i {
    transform: translateX(3px);
}

#bp-parts .bp-watermark {
    position: absolute;
    right: -6px;
    top: -4px;
    font-size: 62px;
    color: #1F4A78;
    opacity: .08;
    pointer-events: none;
    z-index: 0;
}

/* small screens */
@media (max-width:575.98px) {
    #bp-parts .bp-card {
        min-height: 150px;
        padding: 16px;
    }

    #bp-parts .bp-icon {
        width: 50px;
        height: 50px;
    }
}


/* ===== Help CTA styles ===== */
.help-cta {
    background: linear-gradient(135deg, var(--biochem-accent) 0%, #22724a 35%, var(--biochem-primary-700) 100%);
    position: relative;
}

.help-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 18px 18px;
    mix-blend-mode: soft-light;
}

.help-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    backdrop-filter: blur(2px);
}

/* right decorative illustration */
.help-illustration {
    min-height: 220px;
    position: relative;
}

.help-agent {
    position: absolute;
    right: 18%;
    top: 18%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0f3a62;
    background: #c8f1dc;
    box-shadow: 0 16px 40px rgba(0,0,0,.22), inset 0 0 0 6px rgba(255,255,255,.55);
}

    .help-agent i {
        font-size: 46px;
    }

.help-ring {
    position: absolute;
    right: 12%;
    top: 12%;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,.55);
    opacity: .6;
    animation: ringSpin 18s linear infinite;
}

.help-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
    backdrop-filter: blur(2px);
}

    .help-bubble.one {
        width: 70px;
        height: 70px;
        right: 8%;
        bottom: 24%;
    }

    .help-bubble.two {
        width: 46px;
        height: 46px;
        right: 26%;
        bottom: 10%;
    }

@keyframes ringSpin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

/* mobile tweaks */
@media (max-width: 991.98px) {
    .help-illustration {
        min-height: 160px;
    }

    .help-agent {
        right: 22%;
        top: 20%;
        width: 90px;
        height: 90px;
    }

    .help-ring {
        width: 140px;
        height: 140px;
        right: 18%;
        top: 16%;
    }

    .help-bubble.one {
        right: 10%;
        bottom: 18%;
    }

    .help-bubble.two {
        right: 30%;
        bottom: 8%;
    }
}


/* ===== FAQ (BIOCHEM styled accordion) ===== */
.faq-acc .accordion-item {
    background: #fff;
    border: 1px solid #e7eef6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

    .faq-acc .accordion-item + .accordion-item {
        margin-top: 12px;
    }

.faq-acc .accordion-button {
    gap: 12px;
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: #0f3a62;
    background: linear-gradient(0deg, rgba(42,92,148,.06), rgba(42,92,148,.06));
}

    .faq-acc .accordion-button.collapsed {
        background: #fff;
        font-weight: 600;
    }

    .faq-acc .accordion-button:focus {
        box-shadow: 0 0 0 .2rem rgba(31,74,120,.12);
    }

    .faq-acc .accordion-button::after {
        display: none;
    }
/* hide default chevron */

.faq-qicon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: radial-gradient(120% 120% at 30% 30%, #e6f1ff, #d7e7ff);
    border: 1px solid #dbe7fb;
    color: var(--biochem-primary-700);
    box-shadow: 0 6px 16px rgba(31,74,120,.08);
}

.faq-title {
    flex: 1 1 auto;
}

.faq-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1F4A78;
}

    .faq-toggle .fa-minus {
        display: none;
    }

.faq-acc .accordion-button:not(.collapsed) .faq-toggle .fa-plus {
    display: none;
}

.faq-acc .accordion-button:not(.collapsed) .faq-toggle .fa-minus {
    display: inline-block;
}

.faq-acc .accordion-body {
    background: #fff;
    color: #445065;
    border-top: 1px dashed #e2eaf6;
    padding: 1rem 1.25rem;
}

    .faq-acc .accordion-body p {
        margin-bottom: .5rem;
    }

@media (max-width:575.98px) {
    .faq-acc .accordion-item {
        border-radius: 12px;
    }

    .faq-qicon {
        width: 32px;
        height: 32px;
    }
}


/* ===== Why BIOCHEM (premium) ===== */
#why-biochem .wc-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(42,92,148,.16);
    border: 1px solid rgba(255,255,255,.45);
    backdrop-filter: blur(2px);
}

#why-biochem .wc-visual {
    min-height: 360px;
    position: relative;
}

#why-biochem .wc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,30,54,.08) 0%, rgba(7,30,54,.35) 45%, rgba(7,30,54,.6) 100%), linear-gradient(90deg, rgba(34,114,74,.18), rgba(42,92,148,.18));
}

#why-biochem .wc-badges {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

#why-biochem .wc-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    padding: .35rem .6rem;
    border-radius: 12px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(2px);
}

#why-biochem .wc-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(255,255,255,.9);
    color: var(--biochem-primary-700);
    padding: .35rem .65rem;
    font-weight: 800;
    border-bottom-right-radius: .7rem;
}

/* feature tiles – avoid clashing with .feature elsewhere */
#why-biochem .wc-feature {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .8rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8eef7;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    #why-biochem .wc-feature:hover {
        transform: translateY(-2px);
        border-color: rgba(42,92,148,.25);
        box-shadow: 0 14px 28px rgba(0,0,0,.08);
    }

#why-biochem .wc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: radial-gradient(120% 120% at 30% 30%, #e6f1ff, #d7e7ff);
    border: 1px solid #dbe7fb;
    color: var(--biochem-primary-700);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 6px 16px rgba(31,74,120,.08);
}

#why-biochem .wc-title {
    font-weight: 700;
    color: #0f3a62;
    line-height: 1.1;
}

#why-biochem .wc-sub {
    font-size: .82rem;
    color: #6b778c;
    margin-top: 2px;
}

/* responsive */
@media (max-width: 575.98px) {
    #why-biochem .wc-visual {
        min-height: 300px;
    }

    #why-biochem .wc-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
}


/* ===== Blog tabs ===== */
.blog-tabs .nav-link {
    border-radius: 999px;
    padding: .5rem 1rem;
    color: #1F4A78;
    border: 1px solid #dde6f4;
    background: #fff;
    margin-right: .5rem;
}

    .blog-tabs .nav-link.active {
        color: #fff;
        border-color: transparent;
        background: linear-gradient(135deg, var(--biochem-primary-700), var(--biochem-primary));
        box-shadow: 0 8px 18px rgba(0,0,0,.12);
    }

/* ===== Blog cards ===== */
.blogx-card {
    border: 1px solid #e6edf6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .blogx-card:hover {
        transform: translateY(-3px);
        border-color: rgba(42,92,148,.28);
        box-shadow: 0 16px 32px rgba(0,0,0,.08);
    }

/* image with overlay chip */
.blogx-media {
    position: relative;
    display: block;
    aspect-ratio: 16/11;
    background: #f1f5fb;
}

    .blogx-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .blogx-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 100%);
    }

.blogx-chip {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: .82rem;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.45);
    backdrop-filter: blur(2px);
}

/* body */
.blogx-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f3a62;
    margin-bottom: .35rem;
}

.blogx-excerpt {
    font-size: .9rem;
    color: #6b778c;
    margin: 0;
}

/* meta row */
.blogx-meta {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: #5a6b85;
    font-size: .85rem;
}

    .blogx-meta img {
        width: 24px;
        height: 24px;
        object-fit: cover;
    }

    .blogx-meta .dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #c7d3e6;
        display: inline-block;
        margin: 0 .35rem;
    }

/* footer button */
.blogx-card .card-footer {
    border-top: 1px dashed #e2eaf6;
}

/* responsive tweaks */
@media (max-width:575.98px) {
    .blogx-media {
        aspect-ratio: 16/10;
    }
}


/* ===== Blog carousel layout ===== */
.blogs-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .blogs-viewport::-webkit-scrollbar {
        display: none;
    }

.blogs-track {
    display: flex;
    gap: 24px;
    padding: 2px 2px 6px;
    align-items: stretch; /* equal height cards */
}

/* equal height cards */
.blogx-card {
    min-width: 320px;
    max-width: 360px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

    .blogx-card .blogx-media {
        flex: 0 0 auto;
    }

    .blogx-card .card-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    .blogx-card .card-footer {
        flex: 0 0 auto;
    }

/* bottom-right controls */
.blogs-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.btn-bottom {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--biochem-primary-700), var(--biochem-accent));
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

    .btn-bottom[disabled] {
        opacity: .45;
        cursor: not-allowed;
    }

/* small screens: allow swipe; optionally hide buttons */
@media (max-width: 576px) {
    .blogx-card {
        min-width: 84vw;
    }
}
