/* --- TRAINING SPECIFIC VARIABLES --- */
:root {
    --color-code-bg: #f4f4f5;
    --color-accent-safety: #fbbf24; /* Industrial Yellow */
    --font-mono: 'Space Mono', monospace;
}

/* --- HEADER STRIP --- */
.course-header-strip {
    background: var(--color-dark);
    color: #fff;
    padding: 12px 0;
    margin-top: 80px; /* Offset fixed nav */
    border-bottom: 2px solid var(--color-accent-safety);
}

.strip-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.strip-code {
    font-weight: 700;
    color: var(--color-accent-safety);
}

.strip-status i {
    color: #22c55e; /* Green dot */
    font-size: 0.6rem;
    vertical-align: middle;
    margin-right: 5px;
}

/* --- HERO SECTION --- */
.course-hero {
    padding: 80px 0;
    background: #fff;
    border-bottom: 1px solid #e4e4e7;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.course-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.course-lead {
    font-size: 1.2rem;
    color: #52525b;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* DATA CARD (The Spec Sheet) */
.hero-data-card {
    background: var(--color-code-bg);
    border: 1px solid #d4d4d8;
    padding: 30px;
    position: relative;
    color: black;
}

/* Decorative 'Punch Hole' look */
.hero-data-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--color-accent-safety);
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #a1a1aa;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #71717a;
    text-transform: uppercase;
}

.data-val {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-align: right;
}

.mini-tag {
    display: inline-block;
    background: #fff;
    border: 1px solid #e4e4e7;
    padding: 2px 8px;
    font-size: 0.75rem;
    margin-left: 5px;
    margin-bottom: 5px;
}

/* --- OBJECTIVES --- */
.objectives-section {
    padding: 80px 0;
    background: #fafafa;
}

.section-heading {
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    color: #a1a1aa;
    border-left: 3px solid var(--color-accent-safety);
    padding-left: 15px;
}

.obj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.obj-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: black;
}

.obj-item i {
    color: var(--color-accent-safety); /* Using Safety Yellow */
    font-size: 1.5rem;
    background: var(--color-dark);
    border-radius: 50%;
    padding: 5px;
}

/* --- MODULES --- */
.modules-section {
    padding: 80px 0;
}

.modules-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.module-block {
    border: 1px solid #e4e4e7;
    padding: 30px;
    background: #fff;
    transition: all 0.3s ease;
}

.module-block:hover {
    border-left: 5px solid var(--color-accent-safety);
    transform: translateX(5px);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: black;
}

.module-header h4 {
    font-size: 1.3rem;
    margin: 0;
}

.module-topics {
    list-style: none;
    padding-left: 40px; /* Align with text */
    margin: 0;
    columns: 2; /* Split into 2 columns on wide screens */
}

.module-topics li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #52525b;
}

.module-topics li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent-safety);
    font-weight: bold;
}

/* --- CERT BADGE --- */
.cert-section {
    padding: 60px 0;
    background: var(--color-dark);
    color: #fff;
}

.cert-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--color-accent-safety);
    padding: 15px 30px;
    font-family: var(--font-mono);
}

.cert-badge i {
    font-size: 2rem;
    color: var(--color-accent-safety);
    margin-bottom: 5px;
}

.cert-text{
    padding: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-split { grid-template-columns: 1fr; }
    .module-topics { columns: 1; }
    .cert-flex { flex-direction: column; text-align: center; gap: 30px; }
}