/* Service Detail Styles */
.detail-nav {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
}

.service-detail-header {
    background: #f8f9fa;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.category-tag {
    color: #D32F2F; /* Your red theme */
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: bold;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-list i {
    color: #2E7D32; /* Green for health/success */
}

.breadcrumb-bar { background: #f0f2f5; padding: 10px 0; font-size: 0.9rem; }
.breadcrumb-bar a { color: #666; text-decoration: none; }
.breadcrumb-bar span { color: #D32F2F; font-weight: bold; }

.offer-box { 
    background: #fff; 
    border-left: 5px solid #D32F2F; 
    padding: 25px; 
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.trust-card {
    background: #e8f5e9; /* Light green for health/trust */
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.trust-card ul { list-style: none; padding: 0; }
.trust-card li { margin-bottom: 10px; font-weight: 500; color: #2e7d32; }

/* 1. Base Grid Structure (Desktop) */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 columns: Wide content, Narrow sidebar */
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
    align-items: start;
}

/* 2. Tablet View (Screens smaller than 992px) */
@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr; /* Stack columns into 1 */
        gap: 30px;
    }
    
    .service-detail-header h1 {
        font-size: 2.2rem;
    }

    .featured-image {
        height: 350px; /* Reduce image height slightly */
    }
}

/* 3. Mobile View (Screens smaller than 600px) */
@media (max-width: 600px) {
    .container {
        padding: 0 20px; /* Consistent padding for mobile */
    }

    .service-detail-header {
        padding: 40px 0 20px 0;
        text-align: center; /* Center text on mobile for better looks */
    }

    .service-detail-header h1 {
        font-size: 1.8rem;
    }

    .featured-image {
        height: 250px;
        border-radius: 10px;
    }

    .offer-box {
        padding: 20px;
        margin: 20px 0;
    }
}

/* Laboratory Specific Styles */
.lab-hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('../assets/images/lab-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.lab-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.red-text { color: #D32F2F; }

/* Test Grid */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.test-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-bottom: 3px solid #eee;
    transition: 0.3s;
}

.test-card:hover {
    border-bottom-color: #D32F2F;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.test-card i {
    font-size: 2rem;
    color: #1976d2; /* Medical Blue */
    margin-bottom: 15px;
}

/* Process Section */
.process-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    margin: 60px 0;
}

.process-text { padding: 60px; }

.step-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #D32F2F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.process-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom CTA */
.lab-cta-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .process-box { grid-template-columns: 1fr; }
    .process-text { padding: 30px; }
    .lab-hero { text-align: center; }
}
   