/* Category Detail Page Styles - Industrial Modern */

.science-hero {
    text-align: center;
    padding: 10rem 0 5rem;
    margin-bottom: 0;
    background-color: #f0f0f0;
    /* Concrete */
    color: var(--black);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #d0d0d0;
}

/* Variant: Dark (Carbon) */
.science-hero.hero-dark {
    background-color: #0a0a0a;
    color: var(--white);
    border-bottom: 1px solid #333;
}

.science-hero.hero-dark .science-hero-title,
.science-hero.hero-dark .science-hero-subtitle {
    color: var(--white);
}

/* Variant: Vitamins (Silver/White) */
.science-hero.hero-vitamins {
    background-color: #ffffff;
    color: var(--black);
    border-bottom: 1px solid #e0e0e0;
}

.science-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.science-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.science-content-container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-color);
}

/* Back Button is handled by Navbar now, hide old wrapper */
.back-btn-wrapper {
    display: none;
}

/* Guide Sections */
.guide-section {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.guide-section:nth-child(2) {
    animation-delay: 0.2s;
}

.guide-section:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--black);
    margin: 15px auto 0;
}

/* Info Cards Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    /* Updated to match site style */
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--black);
    /* Highlight border on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Charts - REMOVED globally as per request */
.chart-container,
.guide-section:has(.chart-container) {
    display: none !important;
}

/* Legacy chart styles kept just in case but hidden */
.chart-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-row {
    display: flex;
    align-items: center;
}

.chart-label {
    width: 120px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-bar-bg {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 0px;
    /* Sharp */
    overflow: hidden;
    position: relative;
    margin-left: 1rem;
}

.chart-bar-fill {
    height: 100%;
    background: var(--black);
    /* Industrial Black */
    width: 0;
    /* Animate to width */
    border-radius: 0px;
    transition: width 1.5s ease-out;
    position: relative;
}

/* Variant Colors for Charts if needed, but keeping monochrome is safer for "Industrial" */
/* If contrast needed, use shades of gray/dark gray */

.chart-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    /* Contrast against black bar */
    font-size: 0.75rem;
    font-weight: 700;
}

/* Timeline / Precautions converted to Cards */
.timeline-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    /* Match info-card */
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    margin-bottom: 2rem;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--black);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    display: none;
    /* Remove timeline dot */
}

.timeline-content h4 {
    margin-top: 0;
    font-size: 1.2rem;
    /* Match info-card h3 */
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}