/* ==============================================
   SCOLAR NAIJA - JAMB PILLAR PAGE STYLING
   ============================================== */

/* The Hero Header */
.pillar-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-standard, 16px);
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-bottom: 32px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.pillar-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.2;
    letter-spacing: -1px;
}
.pillar-hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}
.pillar-hero .author-row {
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    max-width: 400px;
    margin: 0 auto;
}

/* The Reading Area Card */
.pillar-content {
    background: var(--surface-pure, #ffffff);
    padding: 48px;
    border-radius: var(--radius-standard, 16px);
    box-shadow: var(--shadow-premium, 0 20px 25px -5px rgba(0,0,0,0.03));
    max-width: 850px;
    margin: 0 auto;
}
.pillar-content h2 {
    font-size: 28px;
    color: var(--text-slate-heavy, #0f172a);
    margin: 40px 0 16px 0;
    font-weight: 800;
    border-bottom: 2px solid var(--border-slate-light, #e2e8f0);
    padding-bottom: 12px;
}
.pillar-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 24px;
}

/* High-Quality Premium Graphics */
.designed-graphic {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--border-slate-light, #e2e8f0);
    object-fit: cover;
}

/* Notice & Alert Callouts */
.info-callout {
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.6;
    border-left: 5px solid;
}
.info-callout.warning {
    background: #fffbeb;
    color: #92400e;
    border-left-color: #f59e0b;
}
.info-callout.success {
    background: #ecfdf5;
    color: #065f46;
    border-left-color: #10b981;
}

/* Dynamic Step Elements */
.step-card {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-slate-light, #e2e8f0);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}
.step-card:hover {
    transform: translateX(5px);
    border-color: var(--brand-primary, #10b981);
}
.step-number {
    background: var(--brand-primary, #10b981);
    color: white;
    font-weight: 800;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    margin-right: 20px;
    text-transform: uppercase;
}
.step-text {
    font-size: 16px;
    color: var(--text-slate-heavy, #0f172a);
    font-weight: 500;
}

/* Data & Syllabus Grid Matrix */
.pillar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.pillar-table th {
    background: #0f172a;
    color: white;
    text-align: left;
    padding: 16px;
    font-weight: 600;
}
.pillar-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}
.pillar-table tr:last-child td { 
    border-bottom: none; 
}

/* In-Content Monetization Frames */
.ad-placement {
    margin: 40px 0;
    padding: 20px 0;
    text-align: center;
    background: #f8fafc;
    border-radius: 12px;
}

/* ==============================================
   GLOBAL APP FOOTER STYLING (Inside style.css)
   ============================================== */
.app-footer {
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border-slate-light, #e2e8f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

/* Link Navigation Strip */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap; /* Automatically wraps nicely on mobile screens */
}

.footer-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-slate-muted, #64748b);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Interactive Hover States */
.footer-links a:hover {
    color: var(--brand-primary, #10b981);
    transform: translateY(-1px);
}

/* Copyright Text Styling */
.footer-copyright {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-slate-muted, #94a3b8);
    text-align: center;
    letter-spacing: 0.2px;
}

/* Responsive adjustments for tiny mobile views */
@media (max-width: 480px) {
    .app-footer {
        margin-top: 40px;
        padding-top: 30px;
        gap: 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
/* ==============================================
   1. ROOT VARIABLES & BASE RESET
   ============================================== */
:root {
    --brand-primary: #10b981;
    --brand-dark: #0f172a;
    --surface-pure: #ffffff;
    --surface-muted: #f8fafc;
    --text-slate-heavy: #0f172a;
    --text-slate-muted: #64748b;
    --border-slate-light: #e2e8f0;
    --radius-standard: 16px;
    --shadow-premium: 0 20px 25px -5px rgba(0,0,0,0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--surface-muted);
    color: var(--text-slate-heavy);
}

/* ==============================================
   2. GLOBAL MASTER APP LAYOUT
   ============================================== */
.app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ==============================================
   3. SIDEBAR NAVIGATION STYLING
   ============================================== */
.app-sidebar {
    width: 280px;
    background-color: var(--brand-dark);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
    margin-bottom: 48px;
    text-align: center;
}

.sidebar-brand h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
}

.sidebar-brand h2 span {
    color: var(--brand-primary);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.menu-item .icon {
    font-size: 20px;
    margin-right: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Hover & Active States */
.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(4px);
}

.menu-item.active {
    background-color: var(--brand-primary);
    color: white;
}

.menu-item.active .icon,
.menu-item:hover .icon {
    opacity: 1;
}

/* ==============================================
   4. MAIN WORKSPACE AREA
   ============================================== */
.app-main {
    flex: 1;
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==============================================
   5. MOBILE RESPONSIVENESS
   ============================================== */
@media (max-width: 992px) {
    .app-layout {
        flex-direction: column;
    }
    
    .app-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 24px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-brand {
        margin-bottom: 24px;
    }
    
    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu-item {
        padding: 10px 14px;
    }
    
    .app-main {
        padding: 24px 20px;
    }
}