/* ========================================
   Service Pages — Enhanced Styles
   ======================================== */

:root {
    --primary: #fe9600;
    --primary-dark: #ff6b00;
    --navy: #0a2342;
    --navy-mid: #084c7d;
    --primary-gradient: linear-gradient(135deg, #fe9600 0%, #ff6b00 100%);
    --blue-gradient: linear-gradient(135deg, #0a2342 0%, #084c7d 100%);
}

/* ── Section Label Pill ── */
.section-label {
    display: inline-block;
    background: rgba(254, 150, 0, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(254, 150, 0, 0.25);
}

/* ── Intro Section ── */
.intro-section {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}

.intro-card {
    background: #fff;
    border-radius: 28px;
    padding: 44px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
}

.intro-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.intro-card p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 0;
}

.intro-highlights {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.intro-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
    font-weight: 500;
    padding: 9px 0;
    border-bottom: 1px solid #f2f2f2;
}

.intro-highlights li:last-child { border-bottom: none; }

.intro-highlights li i {
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
}

.intro-image-wrapper { position: relative; }

.intro-image-wrapper img {
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13);
    width: 100%;
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: rgba(254, 150, 0, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* ── Stats Bar ── */
.stats-bar-section {
    padding: 0 0 70px;
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.stats-bar {
    background: #fff;
    border-radius: 20px;
    padding: 36px 50px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid rgba(254, 150, 0, 0.12);
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.08);
}

/* ── Test Section Header ── */
.test-section {
    padding: 10px 0 90px;
    background: #fff;
}

.test-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.test-section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.2;
}

.test-section-subtitle {
    font-size: 17px;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Test Card B (new horizontal card system) ── */
.test-card-b {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.test-card-b:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Top row: number + icon + text + badge */
.tc-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 36px 28px;
    position: relative;
}

.tc-num {
    font-size: 64px;
    font-weight: 900;
    color: rgba(254, 150, 0, 0.1);
    line-height: 1;
    flex-shrink: 0;
    margin-top: -6px;
    user-select: none;
}

.tc-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(254, 150, 0, 0.3);
    margin-top: 2px;
}

.tc-icon i {
    font-size: 24px;
    color: #fff;
}

.tc-meta { flex: 1; }

.tc-meta h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tc-meta h3 span {
    font-size: 18px;
    font-weight: 500;
    color: #888;
}

.tc-meta p {
    font-size: 15px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

.tc-badge {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(254, 150, 0, 0.08);
    border: 1px solid rgba(254, 150, 0, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Bottom info row */
.tc-foot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tc-foot.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tc-cell {
    padding: 20px 24px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.25s ease;
}

.tc-cell:last-child { border-right: none; }

.tc-cell:hover { background: rgba(254, 150, 0, 0.03); }

.tc-cell h6 {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 7px;
}

.tc-cell p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Pathogen card variant */
.tc-foot-pathogen {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 28px 36px;
}

.tf-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--navy);
    margin-bottom: 16px;
    opacity: 0.5;
}

.tc-pathogens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.p-chip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: 14px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 14px 14px 0 0;
}

.p-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10, 35, 66, 0.25);
}

.p-chip strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.p-chip span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
    display: block;
}

.tc-foot-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 0 -36px -28px;
    padding: 0 36px;
}

/* ── Compliance / FAQ Section ── */
.compliance-section {
    padding: 90px 0;
    background: var(--blue-gradient);
    position: relative;
    overflow: hidden;
}

.compliance-section::before {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(254, 150, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.compliance-section::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.compliance-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 55px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accordion */
.accordion-item {
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    padding-bottom: 0 !important;
    transition: background 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.09) !important;
}

.accordion-header { margin-bottom: 0 !important; }

.accordion-button {
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: none !important;
    gap: 12px;
}

.accordion-button::after { display: none !important; }

.accordion-button i {
    transition: transform 0.35s ease, color 0.3s ease;
    flex-shrink: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.accordion-body {
    padding: 0 24px 20px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

/* ── CTA Section ── */
.cta-section {
    padding: 90px 0;
    background: #f8f9ff;
}

.cta-box {
    background: var(--primary-gradient);
    border-radius: 30px;
    padding: 72px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(254, 150, 0, 0.28);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes rotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-box h2 {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    line-height: 1.25;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    color: var(--navy);
}

.cta-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.cta-btn.outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}

.section-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 24px;
    box-shadow: 0 8px 20px rgba(254, 150, 0, 0.3);
    position: relative;
    z-index: 2;
}

.section-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(254, 150, 0, 0.45);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .tc-foot { grid-template-columns: repeat(2, 1fr); }
    .tc-foot.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .tc-foot-info { grid-template-columns: repeat(2, 1fr); }
    .tc-pathogens { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .stats-bar { padding: 28px 24px; }
    .stat-divider { display: none; }
    .tc-top { flex-wrap: wrap; gap: 14px; }
    .tc-num { font-size: 48px; }
    .test-section-title { font-size: 30px; }
    .intro-heading { font-size: 24px; }
    .compliance-card { padding: 36px 28px; }
    .cta-box { padding: 52px 32px; }
    .cta-box h2 { font-size: 30px; }
}

@media (max-width: 767px) {
    .tc-foot,
    .tc-foot.cols-3,
    .tc-foot-info { grid-template-columns: 1fr 1fr; }
    .tc-pathogens { grid-template-columns: 1fr; }
    .tc-top { padding: 24px 20px 20px; }
    .tc-foot-pathogen { padding: 20px; }
    .tc-foot-info { margin: 0 -20px -20px; padding: 0 20px; }
    .tc-cell { padding: 16px; }
    .stat-number { font-size: 32px; }
}

@media (max-width: 575px) {
    .tc-foot,
    .tc-foot.cols-3,
    .tc-foot-info { grid-template-columns: 1fr; }
    .tc-cell { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
    .tc-cell:last-child { border-bottom: none; }
    .test-section-title { font-size: 26px; }
    .cta-box h2 { font-size: 26px; }
    .intro-card { padding: 28px 24px; }
}
