/* Tab Navigation Styles */
:root {
    --color-tab-primary: #2c5282;
    --color-tab-shadow: rgba(44, 82, 130, 0.3);
    --color-gray-50: #f8f9fa;
    --color-gray-100: #f7fafc;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e0;
    --color-gray-500: #718096;
    --color-gray-600: #4a5568;
    --color-gray-700: #2d3748;
    --color-white: #ffffff;
}

.tab-navigation {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 1.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    color: var(--color-gray-600);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-300);
    color: var(--color-gray-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: var(--color-tab-primary);
    border-color: var(--color-tab-primary);
    color: var(--color-white);
    box-shadow: 0 4px 6px var(--color-tab-shadow);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Lab Card Styles */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lab-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--color-gray-200);
}

.lab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--color-tab-primary);
}

.lab-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lab-card-body {
    padding: 1.25rem;
}

.lab-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.lab-card-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-tab-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lab-card-btn:hover {
    background: #1e3a5f;
    color: white;
    /* transform: translateX(4px); */
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-700);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gray-200);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tab-navigation {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }

    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .lab-grid {
        grid-template-columns: 1fr;
    }
}
