/* === ULTRA CLEAN PROFESSIONAL THEME === */
/* Faint light colors, black text, contained slider layout */

:root {
    --primary-color: #5D4037;
    /* Used sparingly, mostly neutral */
    --accent-color: #8E24AA;
    /* Faint accent if needed, but mostly sticking to neutral faint lights */

    --bg-body: #FCFDFD;
    /* Extreme faint light color (almost white) */
    --bg-card: #FFFFFF;
    /* Pure white cards */
    --bg-faint: #F5E6E8;
    /* Very faint rose/cream for subtle highlights */

    --text-dark: #111111;
    /* Pure black text for readability */
    --text-light: #444444;
    /* Dark gray for secondary text */

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.08);

    --border-light: rgba(0, 0, 0, 0.05);
    --radius-main: 12px;
    --radius-heavy: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* Base resets & layout */
#dynamic-content-area {
    display: block;
    /* Normal flow */
}

section {
    padding: 60px 0;
    margin: 0;
}

.max-w-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* === HEADINGS === */
.section-heading {
    color: var(--text-dark) !important;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    background: none !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    margin-bottom: 10px;
}

.heading-underline {
    background-color: var(--text-dark);
    height: 4px;
    width: 60px;
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

/* === HERO SLIDER (Contained & Middle Size) === */
.hero-wrapper {
    position: relative;
    max-width: 1100px;
    /* Reduced width */
    height: 400px;
    /* Middle level size */
    margin: 40px auto;
    /* Centered with spacing */
    border-radius: var(--radius-heavy);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    clip-path: none;
    /* Removed curves */
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero-content h1 {
    color: #FFFFFF !important;
    /* White on dark slider overlay */
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    -webkit-text-fill-color: #FFFFFF !important;
    background: none !important;
}

.hero-subtitle {
    color: #F0F0F0;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    background: var(--text-dark);
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    animation: none;
    /* Removed floating animation */
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--text-dark);
    border: 1px solid #DDDDDD;
}

.btn-secondary:hover {
    background: #F5F5F5;
}

/* === QUICK LINKS === */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 40px;
}

.quick-card {
    background: var(--bg-card);
    border: 1px solid #EEEEEE;
    border-radius: var(--radius-main);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-faint);
    /* Very faint hover */
}

.quick-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* === COMMON CARDS & BOXES === */
.scheme-detail-box,
.alerts-container {
    background: var(--bg-card);
    border: 1px solid #EEEEEE;
    border-radius: var(--radius-main);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.scheme-row {
    background: var(--bg-card);
    border: 1px solid #EEEEEE;
    border-radius: var(--radius-main);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.scheme-row:hover {
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--text-dark);
    background: var(--bg-faint);
}

.scheme-row h4 {
    color: var(--text-dark);
}

.scheme-icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-faint);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

/* === ALERTS === */
.alerts-container h3 {
    color: var(--text-dark) !important;
}

.alerts-container .alert-item {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-left: 4px solid var(--text-dark);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.alerts-container .alert-item strong {
    color: var(--text-dark) !important;
}

.alerts-container .alert-item p {
    color: var(--text-light);
    margin: 5px 0 0 0;
}

/* === LEADERSHIP === */
.leaders-section-full {
    background: var(--bg-card);
    padding: 60px 0;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
}

.leader-card {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: var(--radius-main);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.leader-name {
    color: var(--text-dark);
}

.leader-role {
    color: var(--text-light);
}

/* === POPULATION SECTION === */
.population-section {
    background: var(--bg-faint);
    /* Faint highlight instead of dark gradient */
    padding: 60px 0;
    border-radius: 0;
    /* Full width section */
    box-shadow: none;
}

/* Remove gradient overlays */
.pop-main-card,
.pop-detail-card,
.pop-counters-card {
    background: #FFFFFF !important;
    border: 1px solid #EEEEEE;
    box-shadow: var(--shadow-sm) !important;
}

.pop-stat-label,
.pop-stat-value,
.pop-village-label,
.pop-village-value,
.pop-counter-num,
.pop-counter-label {
    color: var(--text-dark) !important;
}

.pop-detail-title,
.pop-village-name {
    color: var(--text-dark) !important;
}

/* === FOOTER === */
.main-footer {
    background-color: #FAFAFA;
    border-top: 1px solid #EEEEEE;
    padding: 60px 0 30px;
    color: var(--text-dark);
}

.footer-col h3 {
    color: var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col p,
.footer-links li {
    color: var(--text-light) !important;
}

.footer-links li strong {
    color: var(--text-dark) !important;
}

.copyright-text {
    color: var(--text-light) !important;
    border-top: 1px solid #EEEEEE;
}

/* === HEADER === */
.main-header {
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #EEEEEE;
}

.brand-text h1 {
    color: var(--text-dark);
    font-size: 1.5rem;
    -webkit-text-fill-color: var(--text-dark);
    background: none;
}

.nav-item {
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-dark);
    background: var(--bg-faint);
}

/* Fix colors in GP services */
.ref-table th {
    background-color: var(--bg-faint);
    color: var(--text-dark);
}

.reference-box,
.notes-box {
    background-color: #FFFFFF !important;
    border-color: var(--text-dark) !important;
}