
:root {
    --primary-blue: #0066CC;
    --light-gray: #F8F9FA;
    --text-muted: #6c757d;
    --rwanda-blue: #0066CC;
    --primary-dark: #004499;
    --rwanda-green: #00a651;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Slightly enhanced shadow for premium feel */
    --section-padding: 60px 0;
}
.content-text {
    font-size: 16px;
    line-height: 1.7;
    color: #495057; /* Slightly darker text for better legibility */
    margin-bottom: 0px;
}

/* --- Modern Card Structure --- */
.modern-card {
    background: white;
    border: none;
    border-radius: 10px; /* Reduced radius for a cleaner, more modern look */
    box-shadow: var(--card-shadow);
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

/* subtle hover to maintain professionalism, optional */
.modern-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-header-modern {
    /* Main Gradient (Primary Blue to Rwanda Blue) for header consistency */
    background: linear-gradient(135deg, var(--rwanda-blue), var(--primary-dark));
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 10px;
    border: none;
}

.card-header-modern h2,
.card-header-modern h3,
.card-header-modern h4 {
    margin: 0;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}

.card-header-modern .fa {
    margin-right: 12px;
    font-size: 26px;
}

.card-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-top: 8px;
    font-weight: 400;
}

.card-body-modern {
    padding: 10px;
}

/* --- Section Styling --- */
.section-white {
    padding: var(--section-padding);
    background: white; /* Use white for better contrast with light gray body */
}
.section-light-gray {
    padding: var(--section-padding);
    background: var(--light-gray);
}
.section-primary {
    /* Keep original style, but add padding for large header */
    padding: 20px 0;
}
.section-success {
    /* Keep original style */
}


/* --- Highlight & List Elements --- */
.intro-card {
    background: linear-gradient(135deg, rgba(98, 157, 212, 0.05), rgba(0, 166, 81, 0.05)); /* Lighter background */
}

.list-modern {
    padding-left: 0;
}

.list-modern li {
    background: var(--light-gray); /* Lighter background for list items */
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: none; /* Remove shadow for list items for a cleaner look */
    border-left: 4px solid var(--rwanda-green); /* Use Rwanda Green for country highlight */
    list-style: none;
    line-height: 1.6;
}

.list-modern li strong {
    color: var(--rwanda-blue);
    font-weight: 700;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--rwanda-blue), var(--rwanda-green));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 15px; /* Added spacing */
    flex-shrink: 0;
}

.stats-box {
    text-align: center;
    padding: 25px;
    background: var(--light-gray); /* Use light gray background */
    border-radius: 10px;
    box-shadow: none; /* Remove shadow for lighter feel */
    border-top: 3px solid var(--primary-blue);
}

.stats-number {
    font-size: 38px;
    font-weight: 700;
    color: var(--rwanda-blue); /* Stronger color for stats */
    display: block;
    line-height: 1.2;
}

.country-highlight {
    background: white;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.05); /* Very subtle border */
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 8px;
    box-shadow: none;
    transition: background 0.1s;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 18px;
}

.divider-modern {
    height: 2px;
    background: linear-gradient(90deg, var(--rwanda-blue), var(--rwanda-green), transparent);
    border: none;
    margin: 5px 0;
    border-radius: 2px;
    opacity: 0.7;
}

/* Secondary Content (Sidebar) Card */
.sidebar-card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 25px;
    background: white;
}

.sidebar-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-card a {
    color: #495057;
    transition: color 0.1s;
    font-weight: 600;
    width: 185px !important;
    margin: auto;
    align-items: center;
}

.sidebar-card a:hover {
    color: #000000;
    text-decoration: none;
}

/* Ensure all content flows correctly within columns */
.col-lg-8 .content-text:last-child {
    margin-bottom: 0;
}
.col-lg-8 .modern-card:last-child {
    margin-bottom: 0;
}

/* New style for inline headers (H3/H4 outside a card header) */
.content-section-header {
    padding-top: 10px;
    color: var(--rwanda-blue);
    border-bottom: 1px dashed #d7d7d8;
    padding-bottom: 10px;
    font-weight: 600;
}

.content-section-header i {
    font-size: 1.1em;
    margin-right: 8px;
}

.text-rwanda-green {
    color: var(--rwanda-green) !important;
}

.section-primary p.lead {
    font-size: 20px;
}

@media screen and (max-width: 430px) {
    .sidebar-card a {
    color: #495057;
    transition: color 0.1s;
    font-weight: 600;
    width: 100% !important;
    margin: auto;
    align-items: center;
}
}

