/* ============================================================
   LABORATORY PAGE — SPECIFIC STYLES ONLY
   (Requires style.css for base variables, .fade-up, .hero-badge, etc.)
   ============================================================ */

/* ===== LAB-SPECIFIC KEYFRAMES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroGlow {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}


/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-light), var(--accent), #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ===== PAGE BANNER ===== */
.page-banner {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--primary-dark) 100%);
    padding: 140px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    animation: heroGlow 8s infinite ease-in-out alternate;
    pointer-events: none;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    animation: heroGlow 10s infinite ease-in-out alternate-reverse;
    pointer-events: none;
}

.page-banner h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.page-banner p {
    font-size: 17px;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-custom li a:hover {
    color: var(--accent-light);
}

.breadcrumb-custom li.active {
    color: var(--accent-light);
    font-size: 14px;
    font-weight: 600;
}

.breadcrumb-custom li.active::before {
    content: '›';
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    margin-right: 0;
}


/* ===== QUALITY STRIP SECTION ===== */
.quality-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 30px;
}

.quality-strip {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy), var(--primary-dark));
    border-radius: var(--radius);
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.quality-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.q-badge {
    text-align: center;
    padding: 20px 12px;
    position: relative;
    z-index: 2;
}

.q-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-light);
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.q-badge:hover .q-badge-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.q-badge h6 {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.q-badge p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
}


/* ===== LAB CONTENT SECTION ===== */
.lab-content-section {
    padding: 40px 0 80px;
}


/* ===== SERVICE MAIN IMAGE ===== */
.svc-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.svc-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.svc-main-image:hover img {
    transform: scale(1.03);
}

.svc-main-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    pointer-events: none;
}


/* ===== SERVICE CONTENT BLOCKS ===== */
.svc-content {
    margin-bottom: 10px;
}

.svc-content h2 {
    font-weight: 800;
    font-size: 1.65rem;
    color: var(--navy-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.svc-content h2 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.svc-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}


/* ===== SEARCH BOX ===== */
.search-box {
    position: relative;
    max-width: 100%;
}

.search-box input {
    width: 100%;
    padding: 14px 110px 14px 50px;
    border: 2px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--navy-dark);
    background: var(--glass-card);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: var(--shadow-soft);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1), var(--shadow-soft);
}

.search-box input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 16px;
    pointer-events: none;
}

.search-box .search-count {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
}


/* ===== CATEGORY FILTER PILLS ===== */
.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
}

.cat-pill {
    background: var(--glass-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    outline: none;
}

.cat-pill:hover,
.cat-pill.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

.cat-pill .pill-count {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 7px;
    border-radius: 50px;
    font-size: 10px;
}

.cat-pill.active .pill-count,
.cat-pill:hover .pill-count {
    background: rgba(255, 255, 255, 0.3);
}


/* ===== TEST TABLE ===== */
.test-table-wrap {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 600px;
    overflow-y: auto;
}

.table-scroll::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--accent));
    border-radius: 10px;
}

.test-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.test-table thead {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.test-table thead th {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: left;
}

.test-table thead th:first-child {
    padding-left: 24px;
}

.test-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    cursor: default;
}

.test-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.04), rgba(6, 182, 212, 0.04));
}

.test-table tbody tr:last-child {
    border: none;
}

.test-table tbody td {
    padding: 13px 16px;
    color: #475569;
    vertical-align: middle;
}

.test-table tbody td:first-child {
    padding-left: 24px;
    font-weight: 600;
    color: var(--navy-dark);
}

.test-table .test-code {
    font-family: 'Courier New', Courier, monospace;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(6, 182, 212, 0.08));
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.test-table .test-cat-badge {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(6, 182, 212, 0.08));
    color: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

/* Category color tints */
.test-cat-badge.cat-haematology  { background: rgba(239,  68,  68, 0.08); color: #b91c1c; }
.test-cat-badge.cat-biochemistry { background: rgba( 59, 130, 246, 0.08); color: #1d4ed8; }
.test-cat-badge.cat-lipid        { background: rgba(236,  72, 153, 0.08); color: #be185d; }
.test-cat-badge.cat-thyroid      { background: rgba(139,  92, 246, 0.08); color: #6d28d9; }
.test-cat-badge.cat-diabetes     { background: rgba(245, 158,  11, 0.08); color: #b45309; }
.test-cat-badge.cat-urine        { background: rgba( 34, 197,  94, 0.08); color: #15803d; }
.test-cat-badge.cat-liver        { background: rgba(249, 115,  22, 0.08); color: #c2410c; }
.test-cat-badge.cat-renal        { background: rgba( 14, 165, 233, 0.08); color: #0369a1; }

.test-table .price-tag {
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 14px;
    white-space: nowrap;
}

.test-table .turnaround {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.test-table .turnaround i {
    color: var(--primary);
    font-size: 11px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #94a3b8;
    display: none;
}

.no-results i {
    font-size: 50px;
    margin-bottom: 16px;
    display: block;
    opacity: 0.3;
}

.no-results h5 {
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}


/* ===== PACKAGE CARDS ===== */
.pkg-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pkg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pkg-card:hover::before {
    transform: scaleX(1);
}

.pkg-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.pkg-card.featured {
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: var(--shadow-glow);
}

.pkg-card.featured::before {
    transform: scaleX(1);
}

.pkg-featured-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pkg-header {
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.pkg-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 14px;
    transition: all 0.3s ease;
}

.pkg-card:hover .pkg-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.pkg-header h5 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.pkg-header .pkg-for {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.pkg-price-area {
    text-align: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.03), rgba(6, 182, 212, 0.03));
}

.pkg-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pkg-price small {
    font-size: 14px;
    font-weight: 600;
    -webkit-text-fill-color: #94a3b8;
}

.pkg-original {
    text-decoration: line-through;
    color: #cbd5e1;
    font-size: 14px;
    margin-left: 6px;
    font-weight: 500;
}

.pkg-save {
    display: inline-block;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.1));
    color: #16a34a;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
}

.pkg-body {
    padding: 20px 24px;
    flex: 1;
}

.pkg-body h6 {
    font-weight: 700;
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.pkg-test {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 13px;
    color: #475569;
    border-bottom: 1px solid #f8fafc;
}

.pkg-test:last-child {
    border: none;
}

.pkg-test i {
    color: var(--primary);
    font-size: 11px;
    flex-shrink: 0;
}

.pkg-footer {
    padding: 16px 24px 24px;
    margin-top: auto;
}

.pkg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.pkg-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.25);
}

.pkg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.35);
    color: #fff;
}

.pkg-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(13, 148, 136, 0.2);
}

.pkg-btn-outline:hover {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(6, 182, 212, 0.08));
    border-color: var(--primary);
    color: var(--primary);
}


/* ===== ANALYSER / MACHINE CARDS ===== */
.machine-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.machine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.machine-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
}

.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.machine-card:hover .machine-img img {
    transform: scale(1.06);
}

.machine-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    pointer-events: none;
}

.machine-img .machine-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.machine-body {
    padding: 24px;
}

.machine-body h5 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.machine-body .machine-model {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.machine-body p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.machine-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.machine-spec {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.07), rgba(6, 182, 212, 0.07));
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.machine-spec i {
    font-size: 9px;
    color: var(--primary);
}


/* ===== BRANCH CARDS ===== */
.branch-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.branch-card.main-branch {
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.branch-card.main-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 3;
}

.branch-map {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
}

.branch-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.branch-card:hover .branch-map img {
    transform: scale(1.05);
}

.branch-map .fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    opacity: 0.25;
}

.branch-map .branch-type-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.branch-type-tag.main {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.branch-type-tag.sub {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
}

.branch-body {
    padding: 20px;
}

.branch-body h5 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-body h5 .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.branch-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.branch-detail i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 13px;
}

.branch-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.branch-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.branch-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.branch-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.branch-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(13, 148, 136, 0.2);
    color: var(--primary);
}

.branch-btn-outline:hover {
    background: rgba(13, 148, 136, 0.06);
    border-color: var(--primary);
    color: var(--primary);
}


/* ===== SIDEBAR ===== */
.lab-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.2);
}

.widget-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--navy-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(13, 148, 136, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--primary);
    font-size: 18px;
}

/* Contact Widget (dark) */
.contact-widget {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy));
    color: #fff;
}

.contact-widget .widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.contact-widget .widget-title i {
    color: var(--accent-light);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-info-item > i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.contact-info-item div {
    display: flex;
    flex-direction: column;
}

.contact-info-item small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-info-item span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-top: 2px;
}

/* Quick Links Widget */
.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-list li {
    border-bottom: 1px solid #f1f5f9;
}

.quick-links-list li:last-child {
    border: none;
}

.quick-links-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-links-list li a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.quick-links-list li a i {
    font-size: 10px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.quick-links-list li a:hover i {
    transform: translateX(4px);
}

/* Hours Widget */
.hours-list {
    display: flex;
    flex-direction: column;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
}

.hours-item:last-child {
    border: none;
}

.hours-item .hours-time {
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 13px;
}

.hours-item.highlight {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(74, 222, 128, 0.06));
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 4px;
    border: none;
}

.hours-item.highlight span {
    color: #16a34a;
    font-weight: 600;
}

.hours-item.highlight .hours-time {
    color: #16a34a;
}


/* ===== LAB PAGE RESPONSIVE ===== */
@media (max-width: 991px) {
    .page-banner {
        padding: 120px 0 60px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    .machine-img {
        height: 200px;
    }

    .lab-sidebar {
        position: static;
        margin-top: 40px;
    }

    .svc-main-image img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .page-banner {
        padding: 110px 0 50px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .page-banner p {
        font-size: 15px;
    }

    .svc-content h2 {
        font-size: 1.35rem;
    }

    .svc-main-image img {
        height: 220px;
    }

    .test-table thead th {
        font-size: 11px;
        padding: 11px 12px;
    }

    .test-table tbody td {
        font-size: 12px;
        padding: 10px 12px;
    }

    .test-table tbody td:first-child {
        padding-left: 14px;
        min-width: 140px;
    }

    .test-table thead th:first-child {
        padding-left: 14px;
    }

    .pkg-header {
        padding: 22px 18px 16px;
    }

    .pkg-body {
        padding: 16px 18px;
    }

    .pkg-footer {
        padding: 14px 18px 20px;
    }

    .pkg-price {
        font-size: 1.6rem;
    }

    .machine-img {
        height: 180px;
    }

    .machine-body {
        padding: 18px;
    }

    .branch-map {
        height: 130px;
    }

    .branch-body {
        padding: 16px;
    }

    .quality-strip {
        padding: 24px 16px;
    }

    .cat-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cat-pills::-webkit-scrollbar {
        display: none;
    }

    .cat-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .search-box input {
        font-size: 14px;
        padding: 12px 90px 12px 44px;
    }
}

@media (max-width: 400px) {
    .branch-actions {
        flex-direction: column;
    }

    .page-banner h1 {
        font-size: 1.5rem;
    }

    .quality-strip {
        padding: 20px 12px;
    }

    .q-badge-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}


/* Safety Tips */
.sb-tips{background:linear-gradient(135deg,rgba(13,148,136,.04),rgba(6,182,212,.04));border-color:rgba(13,148,136,.12)}
.tips-list{list-style:none;padding:0;margin:0}
.tips-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.04);font-size:13px;color:#475569;line-height:1.5}
.tips-list li:last-child{border:none}
.tips-list li i{color:var(--primary);margin-top:3px;flex-shrink:0;font-size:12px}
