:root {
    --primary-blue: #004085;
    /* Header Blue */
    --header-text: #0d1b2a;
    --alert-red-bg: #f8d7da;
    --alert-red-text: #721c24;
    --alert-red-border: #f5c6cb;
    --alert-green-bg: #d4edda;
    --alert-green-text: #155724;
    --alert-green-border: #c3e6cb;

    --pillar-blue-header: #024b94;
    /* Darker blue for cards */
    --immediate-bg: #e3f2fd;
    /* Light Blue for Immediate Action */
    --future-bg: #e8f5e9;
    /* Light Green for Future Goal */

    --timeline-header-bg: #002350;
    /* Dark Navy for Timeline headers */
    --timeline-bg: #ffffff;

    --accent-orange: #f37021;
    /* Progress bar accent maybe */
    --accent-blue: #007bff;
    --accent-green: #28a745;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing: 1.5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #f7f9fc;
    color: #333;
    padding: 2rem;
    font-size: 14px;
    line-height: 1.4;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 2rem;
}

.main-header h1 {
    font-family: var(--font-body);
    /* Screenshot shows sans-serif bold for main title */
    color: var(--header-text);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #003366;
}

.sub-header {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* Alert Boxes */
.alert-box {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    color: var(--alert-red-text);
    background-color: var(--alert-red-bg);
    border-color: var(--alert-red-border);
}

.alert-success {
    color: var(--alert-green-text);
    background-color: var(--alert-green-bg);
    border-color: var(--alert-green-border);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.alert-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.alert-box ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.alert-box li {
    margin-bottom: 0.3rem;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--pillar-blue-header);
    border-bottom: 2px solid var(--pillar-blue-header);
    padding-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pillar-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.pillar-header {
    background-color: var(--pillar-blue-header);
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pillar-header h3 {
    font-size: 1rem;
    margin: 0;
}

.action-block {
    padding: 1rem;
    flex-grow: 1;
}

.action-block h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #444;
}

.immediate {
    background-color: var(--immediate-bg);
    border-bottom: 1px solid #fff;
}

.future {
    background-color: var(--future-bg);
}

.action-block ul {
    padding-left: 1.2rem;
    font-size: 0.85rem;
    color: #333;
}

.action-block li {
    margin-bottom: 0.5rem;
}

/* Capital Section */
.capital-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.capital-item {
    padding: 1rem;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 4px;
}

.cap-header {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--pillar-blue-header);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.cap-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #333;
}

.cap-desc {
    font-size: 0.8rem;
    color: #666;
}

.progress-container {
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.bar {
    height: 100%;
}

.bar-40 {
    width: 40%;
    background: #0d6efd;
}

/* Parts */
.bar-20 {
    width: 20%;
}

.bar-20:nth-child(2) {
    background: #6610f2;
}

/* Arrears */
.bar-20:nth-child(3) {
    background: #fd7e14;
}

/* Office */
.bar-20:nth-child(4) {
    background: #28a745;
}

/* Ops */


/* Timeline */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.timeline-box {
    border: 2px solid var(--pillar-blue-header);
    border-radius: 5px;
    overflow: hidden;
}

.time-header {
    background-color: var(--timeline-header-bg);
    color: #fff;
    padding: 0.6rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.time-body {
    padding: 1rem;
    background: #fff;
    font-size: 0.85rem;
}

.time-body strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--pillar-blue-header);
    font-size: 0.9rem;
}

.time-body ul {
    padding-left: 1.2rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Responsive */
/* Responsive Design */
@media (max-width: 992px) {

    .pillars-grid,
    .capital-grid,
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
        /* Reduce body padding */
    }

    .page-container {
        padding: 1rem;
    }

    .main-header h1 {
        font-size: 1.8rem;
        /* Smaller Title */
    }

    .pillars-grid,
    .capital-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .pillar-card,
    .timeline-box {
        margin-bottom: 1rem;
        /* Space between stacked items */
    }

    .capital-item {
        margin-bottom: 0.5rem;
    }

    .section-title h2 {
        font-size: 1.1rem;
    }

    /* Adjust Alert Boxes */
    .alert-box {
        padding: 1rem;
    }

    .alert-header h2 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 1.5rem;
    }

    .sub-header {
        font-size: 0.9rem;
    }

    /* Ensure progress bars are visible but maybe simplified */
    .progress-container {
        height: 8px;
    }
}